/* SPDX-License-Identifier: GPL-2.0 */ /* * Machine specific NMI handling for generic. * Split out from traps.c by Osamu Tomita <tomita@cinet.co.jp> */ #ifndef _ASM_X86_MACH_DEFAULT_MACH_TRAPS_H #define _ASM_X86_MACH_DEFAULT_MACH_TRAPS_H #include <asm/mc146818rtc.h> #define NMI_REASON_PORT 0x61 #define NMI_REASON_SERR 0x80 #define NMI_REASON_IOCHK 0x40 #define NMI_REASON_MASK (NMI_REASON_SERR | NMI_REASON_IOCHK) #define NMI_REASON_CLEAR_SERR 0x04 #define NMI_REASON_CLEAR_IOCHK 0x08 #define NMI_REASON_CLEAR_MASK 0x0f
static inline unsigned char default_get_nmi_reason(void) { return inb(NMI_REASON_PORT); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Alan Cox | 14 | 87.50% | 1 | 33.33% |
Jacob jun Pan | 1 | 6.25% | 1 | 33.33% |
Huang Ying | 1 | 6.25% | 1 | 33.33% |
Total | 16 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Corey Minyard | 40 | 53.33% | 1 | 50.00% |
Alan Cox | 35 | 46.67% | 1 | 50.00% |
Total | 75 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Alan Cox | 55 | 41.35% | 1 | 14.29% |
Corey Minyard | 43 | 32.33% | 1 | 14.29% |
Huang Ying | 29 | 21.80% | 1 | 14.29% |
H. Peter Anvin | 3 | 2.26% | 1 | 14.29% |
Greg Kroah-Hartman | 1 | 0.75% | 1 | 14.29% |
Jacob jun Pan | 1 | 0.75% | 1 | 14.29% |
Dave Jones | 1 | 0.75% | 1 | 14.29% |
Total | 133 | 100.00% | 7 | 100.00% |