1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
#define INTRNAMES_DEFINITION \
/* 0x00 */ ASCIZ "clock"; \
ASCIZ "isa irq 0"; \
ASCIZ "isa irq 1"; \
ASCIZ "isa irq 2"; \
ASCIZ "isa irq 3"; \
ASCIZ "isa irq 4"; \
ASCIZ "isa irq 5"; \
ASCIZ "isa irq 6"; \
ASCIZ "isa irq 7"; \
ASCIZ "isa irq 8"; \
ASCIZ "isa irq 9"; \
ASCIZ "isa irq 10"; \
ASCIZ "isa irq 11"; \
ASCIZ "isa irq 12"; \
ASCIZ "isa irq 13"; \
ASCIZ "isa irq 14"; \
/* 0x10 */ ASCIZ "isa irq 15"; \
ASCIZ "kn20aa irq 0"; \
ASCIZ "kn20aa irq 1"; \
ASCIZ "kn20aa irq 2"; \
ASCIZ "kn20aa irq 3"; \
ASCIZ "kn20aa irq 4"; \
ASCIZ "kn20aa irq 5"; \
ASCIZ "kn20aa irq 6"; \
ASCIZ "kn20aa irq 7"; \
ASCIZ "kn20aa irq 8"; \
ASCIZ "kn20aa irq 9"; \
ASCIZ "kn20aa irq 10"; \
ASCIZ "kn20aa irq 11"; \
ASCIZ "kn20aa irq 12"; \
ASCIZ "kn20aa irq 13"; \
ASCIZ "kn20aa irq 14"; \
/* 0x20 */ ASCIZ "kn20aa irq 15"; \
ASCIZ "kn20aa irq 16"; \
ASCIZ "kn20aa irq 17"; \
ASCIZ "kn20aa irq 18"; \
ASCIZ "kn20aa irq 19"; \
ASCIZ "kn20aa irq 20"; \
ASCIZ "kn20aa irq 21"; \
ASCIZ "kn20aa irq 22"; \
ASCIZ "kn20aa irq 23"; \
ASCIZ "kn20aa irq 24"; \
ASCIZ "kn20aa irq 25"; \
ASCIZ "kn20aa irq 26"; \
ASCIZ "kn20aa irq 27"; \
ASCIZ "kn20aa irq 28"; \
ASCIZ "kn20aa irq 29"; \
ASCIZ "kn20aa irq 30"; \
/* 0x30 */ ASCIZ "kn20aa irq 31";
#define INTRCNT_DEFINITION \
/* 0x00 */ .quad 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; \
/* 0x10 */ .quad 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; \
/* 0x20 */ .quad 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; \
/* 0x30 */ .quad 0;
#define INTRCNT_CLOCK 0
#define INTRCNT_ISA_IRQ (INTRCNT_CLOCK + 1)
#define INTRCNT_ISA_IRQ_LEN 16
#define INTRCNT_KN20AA_IRQ (INTRCNT_ISA_IRQ + INTRCNT_ISA_IRQ_LEN)
#define INTRCNT_KN20AA_IRQ_LEN 32
#ifndef LOCORE
extern long intrcnt[];
#endif
|