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

Go to the source code of this file.

Macros

#define lookup_exception_vector()
 
#define BUILD_TRAP_HANDLER(name)
 
#define TRAP_HANDLER_DECL
 

Functions

asmlinkage void do_address_error (struct pt_regs *regs, unsigned long writeaccess, unsigned long address)
 
asmlinkage void do_divide_error (unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7, struct pt_regs __regs)
 
asmlinkage void do_reserved_inst (unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7, struct pt_regs __regs)
 
asmlinkage void do_illegal_slot_inst (unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7, struct pt_regs __regs)
 
asmlinkage void do_exception_error (unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7, struct pt_regs __regs)
 

Macro Definition Documentation

#define BUILD_TRAP_HANDLER (   name)
Value:
asmlinkage void name##_trap_handler(unsigned long r4, unsigned long r5, \
unsigned long r6, unsigned long r7, \
struct pt_regs __regs)

Definition at line 58 of file traps_32.h.

#define lookup_exception_vector ( )
Value:
({ \
unsigned long _vec; \
__asm__ __volatile__ ( \
"mov r4, %0\n\t" \
: "=r" (_vec) \
); \
\
_vec; \
})

Definition at line 20 of file traps_32.h.

#define TRAP_HANDLER_DECL
Value:
struct pt_regs *regs = RELOC_HIDE(&__regs, 0); \
unsigned int vec = regs->tra; \
(void)vec;

Definition at line 63 of file traps_32.h.

Function Documentation

asmlinkage void do_address_error ( struct pt_regs regs,
unsigned long  writeaccess,
unsigned long  address 
)

Definition at line 472 of file traps_32.c.

asmlinkage void do_divide_error ( unsigned long  r4,
unsigned long  r5,
unsigned long  r6,
unsigned long  r7,
struct pt_regs  __regs 
)
asmlinkage void do_exception_error ( unsigned long  r4,
unsigned long  r5,
unsigned long  r6,
unsigned long  r7,
struct pt_regs  __regs 
)

Definition at line 733 of file traps_32.c.

asmlinkage void do_illegal_slot_inst ( unsigned long  r4,
unsigned long  r5,
unsigned long  r6,
unsigned long  r7,
struct pt_regs  __regs 
)

Definition at line 704 of file traps_32.c.

asmlinkage void do_reserved_inst ( unsigned long  r4,
unsigned long  r5,
unsigned long  r6,
unsigned long  r7,
struct pt_regs  __regs 
)

Definition at line 616 of file traps_32.c.