Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
traps.c File Reference
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/ptrace.h>
#include <linux/timer.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include <linux/kallsyms.h>
#include <linux/pci.h>
#include <linux/kdebug.h>
#include <linux/bug.h>
#include <linux/irq.h>
#include <linux/export.h>
#include <asm/processor.h>
#include <linux/uaccess.h>
#include <asm/io.h>
#include <linux/atomic.h>
#include <asm/smp.h>
#include <asm/pgalloc.h>
#include <asm/cacheflush.h>
#include <asm/cpu-regs.h>
#include <asm/busctl-regs.h>
#include <unit/leds.h>
#include <asm/fpu.h>
#include <asm/sections.h>
#include <asm/debugger.h>
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  exception_to_signal_map
 

Functions

int die_if_no_fixup (const char *str, struct pt_regs *regs, enum exception_code code)
 
asmlinkage void handle_exception (struct pt_regs *regs, u32 intcode)
 
asmlinkage void nmi (struct pt_regs *regs, enum exception_code code)
 
void show_trace (unsigned long *sp)
 
void show_stack (struct task_struct *task, unsigned long *sp)
 
void dump_stack (void)
 
 EXPORT_SYMBOL (dump_stack)
 
void show_registers_only (struct pt_regs *regs)
 
void show_registers (struct pt_regs *regs)
 
void show_trace_task (struct task_struct *tsk)
 
void die (const char *str, struct pt_regs *regs, enum exception_code code)
 
asmlinkage void do_double_fault (struct pt_regs *regs)
 
asmlinkage void io_bus_error (u32 bcberr, u32 bcbear, struct pt_regs *regs)
 
asmlinkage void uninitialised_exception (struct pt_regs *regs, enum exception_code code)
 
void __init __set_intr_stub (enum exception_code code, void *handler)
 
void __init set_intr_stub (enum exception_code code, void *handler)
 
void __init trap_init (void)
 
int is_valid_bugaddr (unsigned long pc)
 

Variables

int kstack_depth_to_print = 24
 
spinlock_t die_lock = __SPIN_LOCK_UNLOCKED(die_lock)
 
struct exception_to_signal_map __attribute__
 

Function Documentation

void __init __set_intr_stub ( enum exception_code  code,
void handler 
)

Definition at line 531 of file traps.c.

void die ( const char str,
struct pt_regs regs,
enum exception_code  code 
)

Definition at line 418 of file traps.c.

int die_if_no_fixup ( const char str,
struct pt_regs regs,
enum exception_code  code 
)

Definition at line 125 of file traps.c.

asmlinkage void do_double_fault ( struct pt_regs regs)

Definition at line 440 of file traps.c.

void dump_stack ( void  )

Definition at line 299 of file traps.c.

EXPORT_SYMBOL ( dump_stack  )
asmlinkage void handle_exception ( struct pt_regs regs,
u32  intcode 
)

Definition at line 201 of file traps.c.

asmlinkage void io_bus_error ( u32  bcberr,
u32  bcbear,
struct pt_regs regs 
)

Definition at line 454 of file traps.c.

int is_valid_bugaddr ( unsigned long  pc)

Definition at line 624 of file traps.c.

asmlinkage void nmi ( struct pt_regs regs,
enum exception_code  code 
)

Definition at line 220 of file traps.c.

void __init set_intr_stub ( enum exception_code  code,
void handler 
)

Definition at line 550 of file traps.c.

void show_registers ( struct pt_regs regs)

Definition at line 356 of file traps.c.

void show_registers_only ( struct pt_regs regs)

Definition at line 310 of file traps.c.

void show_stack ( struct task_struct task,
unsigned long sp 
)

Definition at line 275 of file traps.c.

void show_trace ( unsigned long sp)

Definition at line 234 of file traps.c.

void show_trace_task ( struct task_struct tsk)

Definition at line 404 of file traps.c.

void __init trap_init ( void  )

Definition at line 580 of file traps.c.

asmlinkage void uninitialised_exception ( struct pt_regs regs,
enum exception_code  code 
)

Definition at line 511 of file traps.c.

Variable Documentation

spinlock_t die_lock = __SPIN_LOCK_UNLOCKED(die_lock)

Definition at line 51 of file traps.c.

int kstack_depth_to_print = 24

Definition at line 49 of file traps.c.