Go to the documentation of this file.
5 #ifndef _ASM_X86_MACH_DEFAULT_MACH_TRAPS_H
6 #define _ASM_X86_MACH_DEFAULT_MACH_TRAPS_H
8 #include <asm/mc146818rtc.h>
10 #define NMI_REASON_PORT 0x61
12 #define NMI_REASON_SERR 0x80
13 #define NMI_REASON_IOCHK 0x40
14 #define NMI_REASON_MASK (NMI_REASON_SERR | NMI_REASON_IOCHK)
16 #define NMI_REASON_CLEAR_SERR 0x04
17 #define NMI_REASON_CLEAR_IOCHK 0x08
18 #define NMI_REASON_CLEAR_MASK 0x0f
20 static inline unsigned char default_get_nmi_reason(
void)
25 static inline void reassert_nmi(
void)