haiku/headers/private/kernel/arch/x86
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
..
32 kernel/x86_64: adjust descriptors tables for compatibility mode. 2018-05-15 10:27:02 +00:00
64 kernel/x86_64: adjust descriptors tables for compatibility mode. 2018-05-15 10:27:02 +00:00
apic.h x86: Implement multicast ICIs 2013-12-19 19:35:44 +01:00
apm.h Compile in arch_platform.cpp for x86_64. The apm_init call is disabled for x86_64, APM is 32-bit only. 2012-07-06 14:17:48 +01:00
arch_acpi.h * Add validation of the RSDP checksums. 2011-06-12 22:01:43 +00:00
arch_altcodepatch.h kernel/x86_64: AVX support 2020-06-03 06:16:48 +00:00
arch_atomic.h kernel: No need for arch specific ifdefs in arch/atomic.h 2014-01-20 04:09:17 +01:00
arch_cpu.h kernel/x86: Enable machine check exceptions if supported. 2020-08-18 06:54:53 +00:00
arch_cpuasm.h efi: Refactor CPU code to be arch-specific 2020-07-04 21:04:20 +00:00
arch_debug.h Implemented threading for x86_64. 2012-07-09 16:43:01 +01:00
arch_hpet.h
arch_int.h kernel/x86: Use volatile in restore_interrupts. 2019-01-07 22:12:36 -05:00
arch_kernel_args.h Merge branch 'uefi-support' 2016-11-14 03:21:59 +13:00
arch_kernel.h Cleanup: Various comment and whitespace fixes. 2020-08-01 19:23:27 +00:00
arch_smp.h kernel: Allow reassigning IRQs to logical processors 2013-11-18 04:55:25 +01:00
arch_system_info.h x86[_64]: Add support for CPUID sub-leaves 2013-10-01 20:31:18 +02:00
arch_thread_types.h Make space for AVX-512 registers in x86 arch_thread. 2020-07-17 11:17:20 +00:00
arch_thread.h Revert the rest of the COMPAT_MODE changes (back to hrev52003.) 2018-06-15 00:20:56 -04:00
arch_user_debugger.h arch_user_debugger: Restore the use of size_t for dr7. 2019-07-18 20:36:13 -04:00
arch_vm_translation_map.h s/OpenBeOS License/MIT License/ universally, as they're the same thing. 2017-02-09 22:09:56 -05:00
arch_vm_types.h
arch_vm.h
bios.h Moved some 32-bit specific stuff to the 32 subdirectory. 2012-07-12 14:23:55 +01:00
descriptors.h x86[_64]: Separate bootloader and kernel GDT and IDT logic 2014-01-28 00:44:02 +01:00
ioapic.h * Don't map the IO-APIC within the bootloader. We don't need it to set up SMP 2011-05-13 16:31:31 +00:00
msi_priv.h MSI: Use the effective APIC id of the boot CPU for the address destination. 2013-07-29 17:36:03 +02:00
msi.h x86[_64]: Support assigning MSI IRQs to arbitrary CPU 2013-12-20 01:07:08 +01:00
pic.h * Implement interrupt source overrides. We install a relay interrupt handler 2011-05-16 12:57:40 +00:00
smp_priv.h Renamed remaining i386_* functions to x86_* for consistency. 2012-07-09 12:14:18 +01:00
timer.h
vesa.h