Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
traps.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <asm/pgtable.h>
#include <asm/uaccess.h>
#include <arch/system.h>

Go to the source code of this file.

Macros

#define handle_BUG(regs)
 
#define MODULE_RANGE   (8*1024*1024)
 

Functions

void arch_enable_nmi (void)
 
void stop_watchdog (void)
 
void reset_watchdog (void)
 
void show_registers (struct pt_regs *regs)
 
void show_trace (unsigned long *stack)
 
void show_stack (struct task_struct *task, unsigned long *sp)
 
void dump_stack (void)
 
 EXPORT_SYMBOL (dump_stack)
 
void set_nmi_handler (void(*handler)(struct pt_regs *))
 
void watchdog_bite_hook (struct pt_regs *regs)
 
void die_if_kernel (const char *str, struct pt_regs *regs, long err)
 
void __init trap_init (void)
 

Variables

void(* nmi_handler )(struct pt_regs *)
 

Macro Definition Documentation

#define handle_BUG (   regs)

Definition at line 30 of file traps.c.

#define MODULE_RANGE   (8*1024*1024)

Definition at line 85 of file traps.c.

Function Documentation

void arch_enable_nmi ( void  )

Definition at line 96 of file traps.c.

void die_if_kernel ( const char str,
struct pt_regs regs,
long  err 
)

Definition at line 207 of file traps.c.

void dump_stack ( void  )

Definition at line 150 of file traps.c.

EXPORT_SYMBOL ( dump_stack  )
void reset_watchdog ( void  )

Definition at line 111 of file time.c.

void set_nmi_handler ( void(*)(struct pt_regs *)  handler)

Definition at line 157 of file traps.c.

void show_registers ( struct pt_regs regs)

Definition at line 17 of file traps.c.

void show_stack ( struct task_struct task,
unsigned long sp 
)

Definition at line 95 of file traps.c.

void show_trace ( unsigned long stack)

Definition at line 38 of file traps.c.

void stop_watchdog ( void  )

Definition at line 127 of file time.c.

void __init trap_init ( void  )

Definition at line 236 of file traps.c.

void watchdog_bite_hook ( struct pt_regs regs)

Definition at line 191 of file traps.c.

Variable Documentation

void(* nmi_handler)(struct pt_regs *)

Definition at line 35 of file traps.c.