revert between 56095 -> 55830 in arch
[AROS.git] / arch / .unmaintained / arm-all / include / asm / cpu.h
blob8b7c369d30d2eaf8c60ed304802fe82b02c19690
1 #ifndef CPU_H
2 #define CPU_H
4 #include <exec/types.h>
6 #define VECTOR_RESET 0x00
7 #define VECTOR_UNDEFINED 0x04
8 #define VECTOR_SWI 0x08
9 #define VECTOR_PREFETCH_ABORT 0x0c
10 #define VECTOR_DATA_ABORT 0x10
11 #define VECTOR_IRQ 0x18
12 #define VECTOR_FIQ 0x1c
14 #define INSTALL_IRQ_HANDLER(vectoraddress, routineaddress) \
15 *(ULONG *)vectoraddress = (((ULONG)routineaddress - vectoraddress - 8) >> 2) | \
16 0xea000000
18 #define MODE_USER 0x10
19 #define MODE_FIQ 0x11
20 #define MODE_IRQ 0x12
21 #define MODE_SVC 0x13
22 #define MODE_ABORT 0x17
23 #define MODE_UNDEF 0x1b
24 #define MODE_SYSTEM 0x1f
26 #endif