26#ifndef _LIBCPU_RAW_EXCEPTION_H
27#define _LIBCPU_RAW_EXCEPTION_H
29#include <libcpu/vectors.h>
35#define ASM_RESET_VECTOR 0x01
36#define ASM_MACH_VECTOR 0x02
38#define ASM_EXT_VECTOR 0x05
39#define ASM_ALIGN_VECTOR 0x06
40#define ASM_PROG_VECTOR 0x07
41#define ASM_FLOAT_VECTOR 0x08
42#define ASM_DEC_VECTOR 0x09
44#define ASM_SYS_VECTOR 0x0C
45#define ASM_TRACE_VECTOR 0x0D
46#define ASM_FLOATASSIST_VECTOR 0x0E
48#define ASM_SOFTEMUL_VECTOR 0x10
50#define ASM_IPROT_VECTOR 0x13
51#define ASM_DPROT_VECTOR 0x14
53#define ASM_DBREAK_VECTOR 0x1C
54#define ASM_IBREAK_VECTOR 0x1D
55#define ASM_MEBREAK_VECTOR 0x1E
56#define ASM_NMEBREAK_VECTOR 0x1F
64typedef unsigned char rtems_vector;
66typedef unsigned char rtems_raw_except_hdl_size;
70 rtems_exception_handler_t* raw_hdl;
81 rtems_vector exceptIndex;
94 rtems_raw_except_enable on;
103 rtems_raw_except_disable off;
107 rtems_raw_except_is_enabled isOn;
114 unsigned int exceptSize;
143extern int mpc5xx_vector_is_valid(rtems_vector vector);
145inline static void* mpc5xx_get_vector_addr(rtems_vector vector)
147 return ((
void*) (((
unsigned) vector) << 8));
Definition: raw_exception.h:77
Definition: deflate.c:114
Definition: raw_exception.h:110
Definition: raw_exception.h:68