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/signal.h>
#include <linux/personality.h>
#include <linux/kallsyms.h>
#include <linux/spinlock.h>
#include <linux/uaccess.h>
#include <linux/hardirq.h>
#include <linux/kdebug.h>
#include <linux/module.h>
#include <linux/kexec.h>
#include <linux/bug.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/atomic.h>
#include <asm/cacheflush.h>
#include <asm/exception.h>
#include <asm/unistd.h>
#include <asm/traps.h>
#include <asm/unwind.h>
#include <asm/tls.h>
#include <asm/system_misc.h>
#include "signal.h"

Go to the source code of this file.

Macros

#define S_PREEMPT   ""
 
#define S_SMP   ""
 
#define S_ISA   " ARM"
 
#define NR(x)   ((__ARM_NR_##x) - __ARM_NR_BASE)
 

Functions

void dump_backtrace_entry (unsigned long where, unsigned long from, unsigned long frame)
 
void dump_stack (void)
 
 EXPORT_SYMBOL (dump_stack)
 
void show_stack (struct task_struct *tsk, unsigned long *sp)
 
void die (const char *str, struct pt_regs *regs, int err)
 
void arm_notify_die (const char *str, struct pt_regs *regs, struct siginfo *info, unsigned long err, unsigned long trap)
 
void register_undef_hook (struct undef_hook *hook)
 
void unregister_undef_hook (struct undef_hook *hook)
 
asmlinkage void __exception do_undefinstr (struct pt_regs *regs)
 
asmlinkage void do_unexp_fiq (struct pt_regs *regs)
 
asmlinkage void bad_mode (struct pt_regs *regs, int reason)
 
asmlinkage int arm_syscall (int no, struct pt_regs *regs)
 
void __bad_xchg (volatile void *ptr, int size)
 
 EXPORT_SYMBOL (__bad_xchg)
 
asmlinkage void baddataabort (int code, unsigned long instr, struct pt_regs *regs)
 
void __readwrite_bug (const char *fn)
 
 EXPORT_SYMBOL (__readwrite_bug)
 
void __pte_error (const char *file, int line, pte_t pte)
 
void __pmd_error (const char *file, int line, pmd_t pmd)
 
void __pgd_error (const char *file, int line, pgd_t pgd)
 
asmlinkage void __div0 (void)
 
 EXPORT_SYMBOL (__div0)
 
void abort (void)
 
 EXPORT_SYMBOL (abort)
 
void __init trap_init (void)
 
void __init early_trap_init (void *vectors_base)
 

Variables

voidvectors_page
 

Macro Definition Documentation

#define NR (   x)    ((__ARM_NR_##x) - __ARM_NR_BASE)

Definition at line 537 of file traps.c.

#define S_ISA   " ARM"

Definition at line 233 of file traps.c.

#define S_PREEMPT   ""

Definition at line 223 of file traps.c.

#define S_SMP   ""

Definition at line 228 of file traps.c.

Function Documentation

void __bad_xchg ( volatile void ptr,
int  size 
)

Definition at line 732 of file traps.c.

asmlinkage void __div0 ( void  )

Definition at line 789 of file traps.c.

void __pgd_error ( const char file,
int  line,
pgd_t  pgd 
)

Definition at line 784 of file traps.c.

void __pmd_error ( const char file,
int  line,
pmd_t  pmd 
)

Definition at line 779 of file traps.c.

void __pte_error ( const char file,
int  line,
pte_t  pte 
)

Definition at line 774 of file traps.c.

void __readwrite_bug ( const char fn)

Definition at line 767 of file traps.c.

void abort ( void  )

Definition at line 796 of file traps.c.

void arm_notify_die ( const char str,
struct pt_regs regs,
struct siginfo info,
unsigned long  err,
unsigned long  trap 
)

Definition at line 335 of file traps.c.

asmlinkage int arm_syscall ( int  no,
struct pt_regs regs 
)

Definition at line 538 of file traps.c.

asmlinkage void bad_mode ( struct pt_regs regs,
int  reason 
)

Definition at line 468 of file traps.c.

asmlinkage void baddataabort ( int  code,
unsigned long  instr,
struct pt_regs regs 
)

Definition at line 745 of file traps.c.

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

Definition at line 318 of file traps.c.

asmlinkage void __exception do_undefinstr ( struct pt_regs regs)

Definition at line 403 of file traps.c.

asmlinkage void do_unexp_fiq ( struct pt_regs regs)

Definition at line 456 of file traps.c.

void dump_backtrace_entry ( unsigned long  where,
unsigned long  from,
unsigned long  frame 
)

Definition at line 57 of file traps.c.

void dump_stack ( void  )

Definition at line 207 of file traps.c.

void __init early_trap_init ( void vectors_base)

Definition at line 820 of file traps.c.

EXPORT_SYMBOL ( dump_stack  )
EXPORT_SYMBOL ( __bad_xchg  )
EXPORT_SYMBOL ( __readwrite_bug  )
EXPORT_SYMBOL ( __div0  )
EXPORT_SYMBOL ( abort  )
void register_undef_hook ( struct undef_hook hook)

Definition at line 369 of file traps.c.

void show_stack ( struct task_struct tsk,
unsigned long sp 
)

Definition at line 214 of file traps.c.

void __init trap_init ( void  )

Definition at line 805 of file traps.c.

void unregister_undef_hook ( struct undef_hook hook)

Definition at line 378 of file traps.c.

Variable Documentation

void* vectors_page

Definition at line 42 of file traps.c.