Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
traps.c File Reference
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/module.h>
#include <linux/kallsyms.h>
#include <linux/kdebug.h>
#include <linux/syscalls.h>
#include <linux/signal.h>
#include <linux/tracehook.h>
#include <asm/traps.h>
#include <asm/vm_fault.h>
#include <asm/syscall.h>
#include <asm/registers.h>
#include <asm/unistd.h>
#include <asm/sections.h>

Go to the source code of this file.

Macros

#define TRAP_SYSCALL   1
 
#define TRAP_DEBUG   0xdb
 

Functions

void __init trap_init (void)
 
void show_stack (struct task_struct *task, unsigned long *fp)
 
void dump_stack (void)
 
 EXPORT_SYMBOL (dump_stack)
 
int die (const char *str, struct pt_regs *regs, long err)
 
int die_if_kernel (char *str, struct pt_regs *regs, long err)
 
void do_genex (struct pt_regs *regs)
 
long sys_syscall (void)
 
void do_trap0 (struct pt_regs *regs)
 
void do_machcheck (struct pt_regs *regs)
 

Macro Definition Documentation

#define TRAP_DEBUG   0xdb

Definition at line 40 of file traps.c.

#define TRAP_SYSCALL   1

Definition at line 39 of file traps.c.

Function Documentation

int die ( const char str,
struct pt_regs regs,
long  err 
)

Definition at line 202 of file traps.c.

int die_if_kernel ( char str,
struct pt_regs regs,
long  err 
)

Definition at line 243 of file traps.c.

void do_genex ( struct pt_regs regs)

Definition at line 306 of file traps.c.

void do_machcheck ( struct pt_regs regs)

Definition at line 450 of file traps.c.

void do_trap0 ( struct pt_regs regs)

Definition at line 357 of file traps.c.

void dump_stack ( void  )

Definition at line 194 of file traps.c.

EXPORT_SYMBOL ( dump_stack  )
void show_stack ( struct task_struct task,
unsigned long fp 
)

Definition at line 188 of file traps.c.

long sys_syscall ( void  )

Definition at line 351 of file traps.c.

void __init trap_init ( void  )

Definition at line 42 of file traps.c.