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/sched.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/ptrace.h>
#include <linux/timer.h>
#include <linux/delay.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/smp.h>
#include <linux/spinlock.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/console.h>
#include <linux/bug.h>
#include <asm/assembly.h>
#include <asm/uaccess.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/traps.h>
#include <asm/unaligned.h>
#include <linux/atomic.h>
#include <asm/smp.h>
#include <asm/pdc.h>
#include <asm/pdc_chassis.h>
#include <asm/unwind.h>
#include <asm/tlbflush.h>
#include <asm/cacheflush.h>
#include "../math-emu/math-emu.h"

Go to the source code of this file.

Macros

#define PRINT_USER_FAULTS   /* (turn this on if you want user faults to be */
 
#define RFMT   "%08lx"
 
#define FFMT   "%016llx" /* fpregs are 64-bit always */
 
#define PRINTREGS(lvl, r, f, fmt, x)
 
#define GDB_BREAK_INSN   0x10004
 

Functions

void show_regs (struct pt_regs *regs)
 
void dump_stack (void)
 
 EXPORT_SYMBOL (dump_stack)
 
void show_stack (struct task_struct *t, unsigned long *sp)
 
int is_valid_bugaddr (unsigned long iaoq)
 
void die_if_kernel (char *str, struct pt_regs *regs, long err)
 
int syscall_ipi (int(*syscall)(struct pt_regs *), struct pt_regs *regs)
 
void transfer_pim_to_trap_frame (struct pt_regs *regs)
 
void parisc_terminate (char *msg, struct pt_regs *regs, int code, unsigned long offset)
 
void notrace handle_interruption (int code, struct pt_regs *regs)
 
int __init check_ivt (void *iva)
 
void __init trap_init (void)
 

Variables

void(* cpu_lpmc )(int code, struct pt_regs *regs) __read_mostly=default_trap
 
const void fault_vector_11
 
const void fault_vector_20
 

Macro Definition Documentation

#define FFMT   "%016llx" /* fpregs are 64-bit always */

Definition at line 72 of file traps.c.

#define GDB_BREAK_INSN   0x10004

Definition at line 306 of file traps.c.

#define PRINT_USER_FAULTS   /* (turn this on if you want user faults to be */

Definition at line 45 of file traps.c.

#define PRINTREGS (   lvl,
  r,
  f,
  fmt,
  x 
)
Value:
printk("%s%s%02d-%02d " fmt " " fmt " " fmt " " fmt "\n", \
lvl, f, (x), (x+3), (r)[(x)+0], (r)[(x)+1], \
(r)[(x)+2], (r)[(x)+3])

Definition at line 74 of file traps.c.

#define RFMT   "%08lx"

Definition at line 70 of file traps.c.

Function Documentation

int __init check_ivt ( void iva)

Definition at line 828 of file traps.c.

void die_if_kernel ( char str,
struct pt_regs regs,
long  err 
)

Definition at line 232 of file traps.c.

void dump_stack ( void  )

Definition at line 162 of file traps.c.

EXPORT_SYMBOL ( dump_stack  )
void notrace handle_interruption ( int  code,
struct pt_regs regs 
)

Definition at line 498 of file traps.c.

int is_valid_bugaddr ( unsigned long  iaoq)

Definition at line 227 of file traps.c.

void parisc_terminate ( char msg,
struct pt_regs regs,
int  code,
unsigned long  offset 
)

Definition at line 437 of file traps.c.

void show_regs ( struct pt_regs regs)

Definition at line 120 of file traps.c.

void show_stack ( struct task_struct t,
unsigned long sp 
)

Definition at line 222 of file traps.c.

int syscall_ipi ( int(*)(struct pt_regs *)  syscall,
struct pt_regs regs 
)

Definition at line 300 of file traps.c.

void transfer_pim_to_trap_frame ( struct pt_regs regs)

Definition at line 357 of file traps.c.

void __init trap_init ( void  )

Definition at line 869 of file traps.c.

Variable Documentation

void(* cpu_lpmc)(int code, struct pt_regs *regs) __read_mostly=default_trap
default

Definition at line 354 of file traps.c.

const void fault_vector_11
const void fault_vector_20