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/kprobes.h>
#include <linux/module.h>
#include <linux/reboot.h>
#include <linux/uaccess.h>
#include <linux/ptrace.h>
#include <asm/stack.h>
#include <asm/traps.h>
#include <asm/setup.h>
#include <arch/interrupts.h>
#include <arch/spr_def.h>
#include <arch/opcode.h>

Go to the source code of this file.

Macros

#define bundle_bits   tile_bundle_bits
 

Functions

void __init trap_init (void)
 
 __setup ("unaligned_fixup=", setup_unaligned_fixup)
 
 asm (".pushsection .rodata.bpt_code,\"a\";"".align 8;""bpt_code: bpt;"".size bpt_code,.-bpt_code;"".popsection")
 
void __kprobes do_trap (struct pt_regs *regs, int fault_num, unsigned long reason)
 
void kernel_double_fault (int dummy, ulong pc, ulong lr, ulong sp, ulong r52)
 

Variables

int unaligned_fixup = 1
 
bundle_bits bpt_code
 

Macro Definition Documentation

#define bundle_bits   tile_bundle_bits

Definition at line 106 of file traps.c.

Function Documentation

__setup ( )
asm ( ".pushsection .rodata.  bpt_code,
\"a\";"".align 8;""bpt_code: bpt;"".size  bpt_code,
.-bpt_code;"".popsection"   
)
void __kprobes do_trap ( struct pt_regs regs,
int  fault_num,
unsigned long  reason 
)

Definition at line 217 of file traps.c.

void kernel_double_fault ( int  dummy,
ulong  pc,
ulong  lr,
ulong  sp,
ulong  r52 
)

Definition at line 350 of file traps.c.

void __init trap_init ( void  )

Definition at line 30 of file traps.c.

Variable Documentation

bundle_bits bpt_code
int unaligned_fixup = 1

Definition at line 35 of file traps.c.