haiku/headers
Michael Lotz 4df4ae2e80 kernel/x86: Enable machine check exceptions if supported.
This enables generation of exceptions that are due to uncorrected
hardware errors. The exception handlers were already in place and will
now actually trigger kernel panics.

Note that this is the simplest form of MCE "handling" and does not add
anything of the broader machine check architecture (MCA) that also allow
reporting of corrected errors. As MCEs are generally hard to decode due
to their hardware specifity, this merely makes such problems more
obvious.

Might help to discern hardware issues in cases that would otherwise just
triple fault and cause a reboot.

Change-Id: I9e3a2640458f7c562066478d0ca90e3a46c3a325
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3155
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
2020-08-18 06:54:53 +00:00
..
build Build fix. 2020-07-14 19:33:20 +02:00
compatibility headers: Add exp10 declarations to gnu/math.h. 2020-07-07 20:48:58 -04:00
config ARM64: Initial changes so we can compile GCC toolchain 2019-08-30 19:05:16 +00:00
cpp build fix. 2015-11-12 22:24:16 +01:00
glibc Make public glibc header printf.h usable. 2013-07-17 18:07:56 +02:00
libs agg: fix build. 2020-01-22 19:25:16 +01:00
os BGradient: fix assignment operator, add copy constructor 2020-08-11 20:46:34 +00:00
posix netdb.h: fix prototype of gethostbyaddr() 2020-08-17 00:08:02 +00:00
private kernel/x86: Enable machine check exceptions if supported. 2020-08-18 06:54:53 +00:00
tools Fix #12799: Enable elf symbol patching for Haiku 2016-10-30 10:42:24 +01:00