Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
nmi.c File Reference
#include <linux/spinlock.h>
#include <linux/kprobes.h>
#include <linux/kdebug.h>
#include <linux/nmi.h>
#include <linux/delay.h>
#include <linux/hardirq.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <linux/atomic.h>
#include <asm/traps.h>
#include <asm/mach_traps.h>
#include <asm/nmi.h>
#include <asm/x86_init.h>

Go to the source code of this file.

Data Structures

struct  nmi_desc
 
struct  nmi_stats
 

Macros

#define nmi_to_desc(type)   (&nmi_desc[type])
 

Functions

 __setup ("unknown_nmi_panic", setup_unknown_nmi_panic)
 
int __register_nmi_handler (unsigned int type, struct nmiaction *action)
 
 EXPORT_SYMBOL (__register_nmi_handler)
 
void unregister_nmi_handler (unsigned int type, const char *name)
 
 EXPORT_SYMBOL_GPL (unregister_nmi_handler)
 
dotraplinkage notrace
__kprobes void 
do_nmi (struct pt_regs *regs, long error_code)
 
void stop_nmi (void)
 
void restart_nmi (void)
 
void local_touch_nmi (void)
 

Variables

int unknown_nmi_panic
 

Macro Definition Documentation

#define nmi_to_desc (   type)    (&nmi_desc[type])

Definition at line 83 of file nmi.c.

Function Documentation

int __register_nmi_handler ( unsigned int  type,
struct nmiaction action 
)

Definition at line 108 of file nmi.c.

__setup ( "unknown_nmi_panic"  ,
setup_unknown_nmi_panic   
)
dotraplinkage notrace __kprobes void do_nmi ( struct pt_regs regs,
long  error_code 
)

Definition at line 480 of file nmi.c.

EXPORT_SYMBOL ( __register_nmi_handler  )
EXPORT_SYMBOL_GPL ( unregister_nmi_handler  )
void local_touch_nmi ( void  )

Definition at line 508 of file nmi.c.

void restart_nmi ( void  )

Definition at line 502 of file nmi.c.

void stop_nmi ( void  )

Definition at line 497 of file nmi.c.

void unregister_nmi_handler ( unsigned int  type,
const char name 
)

Definition at line 141 of file nmi.c.

Variable Documentation

int unknown_nmi_panic

Definition at line 69 of file nmi.c.