Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
exceptions.c File Reference
#include <linux/kernel.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/kallsyms.h>
#include <linux/module.h>
#include <asm/exceptions.h>
#include <asm/entry.h>
#include <linux/uaccess.h>
#include <linux/errno.h>
#include <linux/ptrace.h>
#include <asm/current.h>
#include <asm/cacheflush.h>

Go to the source code of this file.

Macros

#define MICROBLAZE_ILL_OPCODE_EXCEPTION   0x02
 
#define MICROBLAZE_IBUS_EXCEPTION   0x03
 
#define MICROBLAZE_DBUS_EXCEPTION   0x04
 
#define MICROBLAZE_DIV_ZERO_EXCEPTION   0x05
 
#define MICROBLAZE_FPU_EXCEPTION   0x06
 
#define MICROBLAZE_PRIVILEGED_EXCEPTION   0x07
 

Functions

void die (const char *str, struct pt_regs *fp, long err)
 
asmlinkage void sw_exception (struct pt_regs *regs)
 
void _exception (int signr, struct pt_regs *regs, int code, unsigned long addr)
 
asmlinkage void full_exception (struct pt_regs *regs, unsigned int type, int fsr, int addr)
 

Macro Definition Documentation

#define MICROBLAZE_DBUS_EXCEPTION   0x04

Definition at line 32 of file exceptions.c.

#define MICROBLAZE_DIV_ZERO_EXCEPTION   0x05

Definition at line 33 of file exceptions.c.

#define MICROBLAZE_FPU_EXCEPTION   0x06

Definition at line 34 of file exceptions.c.

#define MICROBLAZE_IBUS_EXCEPTION   0x03

Definition at line 31 of file exceptions.c.

#define MICROBLAZE_ILL_OPCODE_EXCEPTION   0x02

Definition at line 30 of file exceptions.c.

#define MICROBLAZE_PRIVILEGED_EXCEPTION   0x07

Definition at line 35 of file exceptions.c.

Function Documentation

void _exception ( int  signr,
struct pt_regs regs,
int  code,
unsigned long  addr 
)

Definition at line 60 of file exceptions.c.

void die ( const char str,
struct pt_regs fp,
long  err 
)

Definition at line 39 of file exceptions.c.

asmlinkage void full_exception ( struct pt_regs regs,
unsigned int  type,
int  fsr,
int  addr 
)

Definition at line 74 of file exceptions.c.

asmlinkage void sw_exception ( struct pt_regs regs)

Definition at line 53 of file exceptions.c.