2 * linux/include/asm-i386/nmi.h
11 typedef int (*nmi_callback_t)(struct pt_regs * regs, int cpu);
16 * Set a handler for an NMI. Only one handler may be
17 * set. Return 1 if the NMI was handled.
19 void set_nmi_callback(nmi_callback_t callback);
24 * Remove the handler previously set.
26 void unset_nmi_callback(void);
28 extern void setup_apic_nmi_watchdog (void);
29 extern int reserve_lapic_nmi(void);
30 extern void release_lapic_nmi(void);
31 extern void disable_timer_nmi_watchdog(void);
32 extern void enable_timer_nmi_watchdog(void);
33 extern void nmi_watchdog_tick (struct pt_regs * regs);
35 extern unsigned int nmi_watchdog;
36 #define NMI_DEFAULT -1
39 #define NMI_LOCAL_APIC 2
42 #endif /* ASM_NMI_H */