Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/include/interrupt.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define IRQ_ADDR   0x80000180
#define TRAPVEC_ADDR   0x80000200
#define IRQVEC_ADDR   0x80000280
#define IRQVEC_END   0x800002A0
#define exceptionVector   ((interrupt (**)(void))TRAPVEC_ADDR)
#define interruptVector   ((interrupt (**)(void))IRQVEC_ADDR)
#define IRQ_SW0   0
#define IRQ_SW1   1
#define IRQ_HW0   2
#define IRQ_HW1   3
#define IRQ_HW2   4
#define IRQ_HW3   5
#define IRQ_HW4   6
#define IRQ_HW5   7
#define IRQ_TIMER   IRQ_HW5
#define IRQ_UART   IRQ_HW1
#define IRQ_ETH0   IRQ_HW2
#define IRQ_ETH1   IRQ_HW0
#define IRQREC_ZER   24
#define IRQREC_AT   28
#define IRQREC_V0   32
#define IRQREC_V1   36
#define IRQREC_A0   40
#define IRQREC_A1   44
#define IRQREC_A2   48
#define IRQREC_A3   52
#define IRQREC_T0   56
#define IRQREC_T1   60
#define IRQREC_T2   64
#define IRQREC_T3   68
#define IRQREC_T4   72
#define IRQREC_T5   76
#define IRQREC_T6   80
#define IRQREC_T7   84
#define IRQREC_S0   88
#define IRQREC_S1   92
#define IRQREC_S2   96
#define IRQREC_S3   100
#define IRQREC_S4   104
#define IRQREC_S5   108
#define IRQREC_S6   112
#define IRQREC_S7   116
#define IRQREC_T8   120
#define IRQREC_T9   124
#define IRQREC_K0   128
#define IRQREC_K1   132
#define IRQREC_GP   136
#define IRQREC_SP   140
#define IRQREC_FP   144
#define IRQREC_RA   148
#define IRQREC_LO   152
#define IRQREC_HI   156
#define IRQREC_EPC   160
#define IRQREC_CAUSE   164
#define IRQREC_STATUS   168
#define IRQREC_SIZE   172


Detailed Description

Constants and declarations associated with interrupt and exception processing.

Id
interrupt.h 229 2007-07-12 04:04:27Z mschul

Definition in file interrupt.h.


Define Documentation

#define exceptionVector   ((interrupt (**)(void))TRAPVEC_ADDR)

Definitions to allow C array manipulation of vectors. The cast below makes the following a pointer to a table of pointers to functions which take no parameters (void) and return nothing (void).

Definition at line 29 of file interrupt.h.

#define interruptVector   ((interrupt (**)(void))IRQVEC_ADDR)

Definition at line 30 of file interrupt.h.

Referenced by uartInit(), and xtrap().

#define IRQ_ADDR   0x80000180

Address of interrupt request handler.

Definition at line 15 of file interrupt.h.

#define IRQ_ETH0   IRQ_HW2

Definition at line 45 of file interrupt.h.

#define IRQ_ETH1   IRQ_HW0

Definition at line 46 of file interrupt.h.

#define IRQ_HW0   2

Definition at line 35 of file interrupt.h.

#define IRQ_HW1   3

Definition at line 36 of file interrupt.h.

#define IRQ_HW2   4

Definition at line 37 of file interrupt.h.

#define IRQ_HW3   5

Definition at line 38 of file interrupt.h.

#define IRQ_HW4   6

Definition at line 39 of file interrupt.h.

#define IRQ_HW5   7

Definition at line 40 of file interrupt.h.

#define IRQ_SW0   0

Definition at line 33 of file interrupt.h.

#define IRQ_SW1   1

Definition at line 34 of file interrupt.h.

#define IRQ_TIMER   IRQ_HW5

Definition at line 43 of file interrupt.h.

#define IRQ_UART   IRQ_HW1

Definition at line 44 of file interrupt.h.

Referenced by uartInit().

#define IRQREC_A0   40

Definition at line 53 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_A1   44

Definition at line 54 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_A2   48

Definition at line 55 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_A3   52

Definition at line 56 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_AT   28

Definition at line 50 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_CAUSE   164

Definition at line 84 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_EPC   160

Definition at line 83 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_FP   144

Definition at line 79 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_GP   136

Definition at line 77 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_HI   156

Definition at line 82 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_K0   128

Definition at line 75 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_K1   132

Definition at line 76 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_LO   152

Definition at line 81 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_RA   148

Definition at line 80 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_S0   88

Definition at line 65 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_S1   92

Definition at line 66 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_S2   96

Definition at line 67 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_S3   100

Definition at line 68 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_S4   104

Definition at line 69 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_S5   108

Definition at line 70 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_S6   112

Definition at line 71 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_S7   116

Definition at line 72 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_SIZE   172

Definition at line 86 of file interrupt.h.

#define IRQREC_SP   140

Definition at line 78 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_STATUS   168

Definition at line 85 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_T0   56

Definition at line 57 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_T1   60

Definition at line 58 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_T2   64

Definition at line 59 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_T3   68

Definition at line 60 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_T4   72

Definition at line 61 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_T5   76

Definition at line 62 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_T6   80

Definition at line 63 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_T7   84

Definition at line 64 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_T8   120

Definition at line 73 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_T9   124

Definition at line 74 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_V0   32

Definition at line 51 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_V1   36

Definition at line 52 of file interrupt.h.

Referenced by xtrap().

#define IRQREC_ZER   24

Definition at line 49 of file interrupt.h.

Referenced by xtrap().

#define IRQVEC_ADDR   0x80000280

Address of XINU-defined interrupt request vector.

Definition at line 19 of file interrupt.h.

#define IRQVEC_END   0x800002A0

Address of end of XINU-defined interrupt tables.

Definition at line 21 of file interrupt.h.

#define TRAPVEC_ADDR   0x80000200

Address of XINU-defined trap (exception) vector.

Definition at line 17 of file interrupt.h.


Generated on Thu Oct 9 22:34:34 2008 for xinu by  doxygen 1.5.5