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

Go to the source code of this file.

Macros

#define FAULT_CODE_ALIGNMENT   1
 
#define FAULT_CODE_DEBUG   2
 

Functions

void die (const char *msg, 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 hook_fault_code (int nr, int(*fn)(unsigned long, unsigned int, struct pt_regs *), int sig, int code, const char *name)
 
void hook_ifault_code (int nr, int(*fn)(unsigned long, unsigned int, struct pt_regs *), int sig, int code, const char *name)
 
asmlinkage void c_backtrace (unsigned long fp, int pmode)
 
void show_pte (struct mm_struct *mm, unsigned long addr)
 
void __show_regs (struct pt_regs *)
 

Macro Definition Documentation

#define FAULT_CODE_ALIGNMENT   1

Definition at line 72 of file bug.h.

#define FAULT_CODE_DEBUG   2

Definition at line 73 of file bug.h.

Function Documentation

void __show_regs ( struct pt_regs )

Definition at line 276 of file process.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 void c_backtrace ( unsigned long  fp,
int  pmode 
)
void die ( const char msg,
struct pt_regs regs,
int  err 
)

Definition at line 318 of file traps.c.

void hook_fault_code ( int  nr,
int(*)(unsigned long, unsigned int, struct pt_regs *)  fn,
int  sig,
int  code,
const char name 
)

Definition at line 525 of file fault.c.

void hook_ifault_code ( int  nr,
int(*)(unsigned long, unsigned int, struct pt_regs *)  fn,
int  sig,
int  code,
const char name 
)

Definition at line 560 of file fault.c.

void show_pte ( struct mm_struct mm,
unsigned long  addr 
)

Definition at line 124 of file fault.c.