Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
exceptions.h File Reference
#include <linux/linkage.h>

Go to the source code of this file.

Macros

#define GDBSTUB_BKPT   0xFF
 
#define NUM2EXCEP_IRQ_LEVEL(num)   (EXCEP_IRQ_LEVEL0 + (num) * 8)
 

Enumerations

enum  exception_code {
  EXCEP_RESET = 0x000000, EXCEP_ITLBMISS = 0x000100, EXCEP_DTLBMISS = 0x000108, EXCEP_IAERROR = 0x000110,
  EXCEP_DAERROR = 0x000118, EXCEP_TRAP = 0x000128, EXCEP_ISTEP = 0x000130, EXCEP_IBREAK = 0x000150,
  EXCEP_OBREAK = 0x000158, EXCEP_PRIVINS = 0x000160, EXCEP_UNIMPINS = 0x000168, EXCEP_UNIMPEXINS = 0x000170,
  EXCEP_MEMERR = 0x000178, EXCEP_MISALIGN = 0x000180, EXCEP_BUSERROR = 0x000188, EXCEP_ILLINSACC = 0x000190,
  EXCEP_ILLDATACC = 0x000198, EXCEP_IOINSACC = 0x0001a0, EXCEP_PRIVINSACC = 0x0001a8, EXCEP_PRIVDATACC = 0x0001b0,
  EXCEP_DATINSACC = 0x0001b8, EXCEP_DOUBLE_FAULT = 0x000200, EXCEP_FPU_DISABLED = 0x0001c0, EXCEP_FPU_UNIMPINS = 0x0001c8,
  EXCEP_FPU_OPERATION = 0x0001d0, EXCEP_WDT = 0x000240, EXCEP_NMI = 0x000248, EXCEP_IRQ_LEVEL0 = 0x000280,
  EXCEP_IRQ_LEVEL1 = 0x000288, EXCEP_IRQ_LEVEL2 = 0x000290, EXCEP_IRQ_LEVEL3 = 0x000298, EXCEP_IRQ_LEVEL4 = 0x0002a0,
  EXCEP_IRQ_LEVEL5 = 0x0002a8, EXCEP_IRQ_LEVEL6 = 0x0002b0, EXCEP_SYSCALL0 = 0x000300, EXCEP_SYSCALL1 = 0x000308,
  EXCEP_SYSCALL2 = 0x000310, EXCEP_SYSCALL3 = 0x000318, EXCEP_SYSCALL4 = 0x000320, EXCEP_SYSCALL5 = 0x000328,
  EXCEP_SYSCALL6 = 0x000330, EXCEP_SYSCALL7 = 0x000338, EXCEP_SYSCALL8 = 0x000340, EXCEP_SYSCALL9 = 0x000348,
  EXCEP_SYSCALL10 = 0x000350, EXCEP_SYSCALL11 = 0x000358, EXCEP_SYSCALL12 = 0x000360, EXCEP_SYSCALL13 = 0x000368,
  EXCEP_SYSCALL14 = 0x000370, EXCEP_SYSCALL15 = 0x000378
}
 

Functions

void __set_intr_stub (enum exception_code code, void *handler)
 
void set_intr_stub (enum exception_code code, void *handler)
 
asmlinkage void __common_exception (void)
 
asmlinkage void itlb_miss (void)
 
asmlinkage void dtlb_miss (void)
 
asmlinkage void itlb_aerror (void)
 
asmlinkage void dtlb_aerror (void)
 
asmlinkage void raw_bus_error (void)
 
asmlinkage void double_fault (void)
 
asmlinkage int system_call (struct pt_regs *)
 
asmlinkage void nmi (struct pt_regs *, enum exception_code)
 
asmlinkage void uninitialised_exception (struct pt_regs *, enum exception_code)
 
asmlinkage void irq_handler (void)
 
asmlinkage void profile_handler (void)
 
asmlinkage void nmi_handler (void)
 
asmlinkage void misalignment (struct pt_regs *, enum exception_code)
 
void die (const char *, struct pt_regs *, enum exception_code) __noreturn
 
int die_if_no_fixup (const char *, struct pt_regs *, enum exception_code)
 

Macro Definition Documentation

#define GDBSTUB_BKPT   0xFF

Definition at line 21 of file exceptions.h.

#define NUM2EXCEP_IRQ_LEVEL (   num)    (EXCEP_IRQ_LEVEL0 + (num) * 8)

Definition at line 117 of file exceptions.h.

Enumeration Type Documentation

Enumerator:
EXCEP_RESET 
EXCEP_ITLBMISS 
EXCEP_DTLBMISS 
EXCEP_IAERROR 
EXCEP_DAERROR 
EXCEP_TRAP 
EXCEP_ISTEP 
EXCEP_IBREAK 
EXCEP_OBREAK 
EXCEP_PRIVINS 
EXCEP_UNIMPINS 
EXCEP_UNIMPEXINS 
EXCEP_MEMERR 
EXCEP_MISALIGN 
EXCEP_BUSERROR 
EXCEP_ILLINSACC 
EXCEP_ILLDATACC 
EXCEP_IOINSACC 
EXCEP_PRIVINSACC 
EXCEP_PRIVDATACC 
EXCEP_DATINSACC 
EXCEP_DOUBLE_FAULT 
EXCEP_FPU_DISABLED 
EXCEP_FPU_UNIMPINS 
EXCEP_FPU_OPERATION 
EXCEP_WDT 
EXCEP_NMI 
EXCEP_IRQ_LEVEL0 
EXCEP_IRQ_LEVEL1 
EXCEP_IRQ_LEVEL2 
EXCEP_IRQ_LEVEL3 
EXCEP_IRQ_LEVEL4 
EXCEP_IRQ_LEVEL5 
EXCEP_IRQ_LEVEL6 
EXCEP_SYSCALL0 
EXCEP_SYSCALL1 
EXCEP_SYSCALL2 
EXCEP_SYSCALL3 
EXCEP_SYSCALL4 
EXCEP_SYSCALL5 
EXCEP_SYSCALL6 
EXCEP_SYSCALL7 
EXCEP_SYSCALL8 
EXCEP_SYSCALL9 
EXCEP_SYSCALL10 
EXCEP_SYSCALL11 
EXCEP_SYSCALL12 
EXCEP_SYSCALL13 
EXCEP_SYSCALL14 
EXCEP_SYSCALL15 

Definition at line 28 of file exceptions.h.

Function Documentation

asmlinkage void __common_exception ( void  )
void __set_intr_stub ( enum exception_code  code,
void handler 
)

Definition at line 531 of file traps.c.

void die ( const char ,
struct pt_regs ,
enum  exception_code 
)

Definition at line 418 of file traps.c.

int die_if_no_fixup ( const char ,
struct pt_regs ,
enum  exception_code 
)

Definition at line 125 of file traps.c.

asmlinkage void double_fault ( void  )
asmlinkage void dtlb_aerror ( void  )
asmlinkage void dtlb_miss ( void  )
asmlinkage void irq_handler ( void  )
asmlinkage void itlb_aerror ( void  )
asmlinkage void itlb_miss ( void  )
asmlinkage void misalignment ( struct pt_regs ,
enum  exception_code 
)

Definition at line 317 of file misalignment.c.

asmlinkage void nmi ( struct pt_regs ,
enum  exception_code 
)

Definition at line 220 of file traps.c.

asmlinkage void nmi_handler ( void  )
asmlinkage void profile_handler ( void  )
asmlinkage void raw_bus_error ( void  )
void set_intr_stub ( enum exception_code  code,
void handler 
)

Definition at line 550 of file traps.c.

asmlinkage int system_call ( struct pt_regs )
asmlinkage void uninitialised_exception ( struct pt_regs ,
enum  exception_code 
)

Definition at line 511 of file traps.c.