Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
traps.c File Reference
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/kmod.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/ptrace.h>
#include <linux/timer.h>
#include <linux/mm.h>
#include <linux/kallsyms.h>
#include <asm/uaccess.h>
#include <asm/segment.h>
#include <asm/io.h>
#include <asm/pgtable.h>

Go to the source code of this file.

Functions

void show_trace (struct task_struct *task, unsigned long *stack)
 
void show_stack (struct task_struct *task, unsigned long *esp)
 
void show_trace_task (struct task_struct *tsk)
 
void dump_stack (void)
 
 EXPORT_SYMBOL (dump_stack)
 
void show_registers (struct pt_regs *regs)
 
void nommu_dump_state (struct pt_regs *regs, unsigned long ea, unsigned long vector)
 
void die (const char *str, struct pt_regs *regs, long err)
 
void die_if_kernel (const char *str, struct pt_regs *regs, long err)
 
void unhandled_exception (struct pt_regs *regs, int ea, int vector)
 
void __init trap_init (void)
 
asmlinkage void do_trap (struct pt_regs *regs, unsigned long address)
 
asmlinkage void do_unaligned_access (struct pt_regs *regs, unsigned long address)
 
asmlinkage void do_bus_fault (struct pt_regs *regs, unsigned long address)
 
asmlinkage void do_illegal_instruction (struct pt_regs *regs, unsigned long address)
 

Variables

char _etext
 
char _stext
 
int kstack_depth_to_print = 0x180
 

Function Documentation

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

Definition at line 260 of file traps.c.

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

Definition at line 279 of file traps.c.

asmlinkage void do_bus_fault ( struct pt_regs regs,
unsigned long  address 
)

Definition at line 330 of file traps.c.

asmlinkage void do_illegal_instruction ( struct pt_regs regs,
unsigned long  address 
)

Definition at line 348 of file traps.c.

asmlinkage void do_trap ( struct pt_regs regs,
unsigned long  address 
)

Definition at line 299 of file traps.c.

asmlinkage void do_unaligned_access ( struct pt_regs regs,
unsigned long  address 
)

Definition at line 311 of file traps.c.

void dump_stack ( void  )

Definition at line 111 of file traps.c.

EXPORT_SYMBOL ( dump_stack  )
void nommu_dump_state ( struct pt_regs regs,
unsigned long  ea,
unsigned long  vector 
)

Definition at line 183 of file traps.c.

void show_registers ( struct pt_regs regs)

Definition at line 119 of file traps.c.

void show_stack ( struct task_struct task,
unsigned long esp 
)

Definition at line 69 of file traps.c.

void show_trace ( struct task_struct task,
unsigned long stack 
)

Definition at line 49 of file traps.c.

void show_trace_task ( struct task_struct tsk)

Definition at line 101 of file traps.c.

void __init trap_init ( void  )

Definition at line 294 of file traps.c.

void unhandled_exception ( struct pt_regs regs,
int  ea,
int  vector 
)

Definition at line 287 of file traps.c.

Variable Documentation

char _etext
char _stext
int kstack_depth_to_print = 0x180

Definition at line 42 of file traps.c.