Updated PCI IDs to latest snapshot.
[tangerine.git] / arch / .unmaintained / m68k-pp-native / boot / machine.i
blob921184c46e0924eebe6f20bd15de8da91701b2ad
1 # Macros
2 #define AROS_CSYMNAME(n) n
3 #define AROS_CDEFNAME(n) n
4 #define AROS_SLIB_ENTRY(n,s) s ## _ ## n
5 #define _FUNCTION(n) .type n,@function
6 #define _ALIGNMENT .balign 16
8 # ExecBase
9 #define IDNestCnt 294
10 .equ IDNestCnt, 294
11 #define TaskReady 406
12 .equ TaskReady, 406
13 #define ThisTask 276
14 .equ ThisTask, 276
16 # struct Task
17 #define tc_State 0xf
18 .equ tc_State, 0xf
19 #define tc_Flags 0xe
20 .equ tc_Flags, 0xe
21 #define tc_Launch 0x46
22 .equ tc_Launch, 0x46
23 #define tc_Switch 0x42
24 .equ tc_Switch, 0x42
25 #define tc_SPReg 0x36
26 .equ tc_SPReg, 0x36
27 #define tc_IDNestCnt 0x10
28 .equ tc_IDNestCnt, 0x10
31 # Task Flags
32 #define TS_RUN 2
33 .equ TS_RUN, 2
34 #define TS_READY 3
35 #define TB_EXCEPT 5
36 #define TB_LAUNCH 7
37 .equ TB_LAUNCH, 7
38 #define TB_SWITCH 6
39 .equ TB_SWITCH, 6
40 #define TF_EXCEPT 0x0020
41 #define TF_SWITCH 0x0040
42 #define TF_LAUNCH 0x0080
44 # Exec functions
45 #define Reschedule -48
46 #define Switch -54
47 #define Dispatch -60
48 #define Exception -66
49 #define Alert -108
50 #define Disable -120
51 #define Enable -126
52 #define Enqueue -270
53 #define FindTask -294
54 #define StackSwap -732
55 #define Supervisor -30
56 #define CacheControl -648