]> git.saurik.com Git - apple/xnu.git/blame - osfmk/x86_64/idt_table.h
xnu-1504.15.3.tar.gz
[apple/xnu.git] / osfmk / x86_64 / idt_table.h
CommitLineData
b0d623f7
A
1 TRAP(0x00,idt64_zero_div)
2 TRAP_SPC(0x01,idt64_debug)
3INTERRUPT(0x02) /* NMI */
4USER_TRAP(0x03,idt64_int3)
5USER_TRAP(0x04,idt64_into)
6USER_TRAP(0x05,idt64_bounds)
7 TRAP(0x06,idt64_invop)
8 TRAP(0x07,idt64_nofpu)
9#if MACH_KDB
10 TRAP_IST(0x08,idt64_db_task_dbl_fault)
11#else
12 TRAP_IST(0x08,idt64_double_fault)
13#endif
14 TRAP(0x09,idt64_fpu_over)
15 TRAP(0x0a,idt64_inv_tss)
16 TRAP_SPC(0x0b,idt64_segnp)
17#if MACH_KDB
18 TRAP_IST(0x0c,idt64_db_task_stk_fault)
19#else
20 TRAP_SPC(0x0c,idt64_stack_fault)
21#endif
22 TRAP_SPC(0x0d,idt64_gen_prot)
23// TRAP_ERR(0x0d,idt64_gen_prot_not)
24 TRAP_SPC(0x0e,idt64_page_fault)
25 TRAP(0x0f,idt64_trap_0f)
26 TRAP(0x10,idt64_fpu_err)
27 TRAP(0x11,idt64_trap_11)
28 TRAP_IST(0x12,idt64_mc)
29 TRAP(0x13,idt64_sse_err)
30 TRAP(0x14,idt64_trap_14)
31 TRAP(0x15,idt64_trap_15)
32 TRAP(0x16,idt64_trap_16)
33 TRAP(0x17,idt64_trap_17)
34 TRAP(0x18,idt64_trap_18)
35 TRAP(0x19,idt64_trap_19)
36 TRAP(0x1a,idt64_trap_1a)
37 TRAP(0x1b,idt64_trap_1b)
38 TRAP(0x1c,idt64_trap_1c)
39 TRAP(0x1d,idt64_trap_1d)
40 TRAP(0x1e,idt64_trap_1e)
41 TRAP(0x1f,idt64_trap_1f)
42
43INTERRUPT(0x20)
44INTERRUPT(0x21)
45INTERRUPT(0x22)
46INTERRUPT(0x23)
47INTERRUPT(0x24)
48INTERRUPT(0x25)
49INTERRUPT(0x26)
50INTERRUPT(0x27)
51INTERRUPT(0x28)
52INTERRUPT(0x29)
53INTERRUPT(0x2a)
54INTERRUPT(0x2b)
55INTERRUPT(0x2c)
56INTERRUPT(0x2d)
57INTERRUPT(0x2e)
58INTERRUPT(0x2f)
59
60INTERRUPT(0x30)
61INTERRUPT(0x31)
62INTERRUPT(0x32)
63INTERRUPT(0x33)
64INTERRUPT(0x34)
65INTERRUPT(0x35)
66INTERRUPT(0x36)
67INTERRUPT(0x37)
68INTERRUPT(0x38)
69INTERRUPT(0x39)
70INTERRUPT(0x3a)
71INTERRUPT(0x3b)
72INTERRUPT(0x3c)
73INTERRUPT(0x3d)
74INTERRUPT(0x3e)
75INTERRUPT(0x3f)
76
77INTERRUPT(0x40)
78INTERRUPT(0x41)
79INTERRUPT(0x42)
80INTERRUPT(0x43)
81INTERRUPT(0x44)
82INTERRUPT(0x45)
83INTERRUPT(0x46)
84INTERRUPT(0x47)
85INTERRUPT(0x48)
86INTERRUPT(0x49)
87INTERRUPT(0x4a)
88INTERRUPT(0x4b)
89INTERRUPT(0x4c)
90INTERRUPT(0x4d)
91INTERRUPT(0x4e)
92INTERRUPT(0x4f)
93
94INTERRUPT(0x50)
95INTERRUPT(0x51)
96INTERRUPT(0x52)
97INTERRUPT(0x53)
98INTERRUPT(0x54)
99INTERRUPT(0x55)
100INTERRUPT(0x56)
101INTERRUPT(0x57)
102INTERRUPT(0x58)
103INTERRUPT(0x59)
104INTERRUPT(0x5a)
105INTERRUPT(0x5b)
106INTERRUPT(0x5c)
107INTERRUPT(0x5d)
108INTERRUPT(0x5e)
109INTERRUPT(0x5f)
110
111INTERRUPT(0x60)
112INTERRUPT(0x61)
113INTERRUPT(0x62)
114INTERRUPT(0x63)
115INTERRUPT(0x64)
116INTERRUPT(0x65)
117INTERRUPT(0x66)
118INTERRUPT(0x67)
119INTERRUPT(0x68)
120INTERRUPT(0x69)
121INTERRUPT(0x6a)
122INTERRUPT(0x6b)
123INTERRUPT(0x6c)
124INTERRUPT(0x6d)
125INTERRUPT(0x6e)
126INTERRUPT(0x6f)
127
128INTERRUPT(0x70)
129INTERRUPT(0x71)
130INTERRUPT(0x72)
131INTERRUPT(0x73)
132INTERRUPT(0x74)
133INTERRUPT(0x75)
134INTERRUPT(0x76)
135INTERRUPT(0x77)
136INTERRUPT(0x78)
137INTERRUPT(0x79)
138INTERRUPT(0x7a)
139INTERRUPT(0x7b)
140INTERRUPT(0x7c)
141INTERRUPT(0x7d)
142INTERRUPT(0x7e)
143INTERRUPT(0x7f)
144
145USER_TRAP_SPC(0x80,idt64_unix_scall)
146USER_TRAP_SPC(0x81,idt64_mach_scall)
147USER_TRAP_SPC(0x82,idt64_mdep_scall)
148USER_TRAP_SPC(0x83,idt64_diag_scall)
149
150INTERRUPT(0x84)
151INTERRUPT(0x85)
152INTERRUPT(0x86)
153INTERRUPT(0x87)
154INTERRUPT(0x88)
155INTERRUPT(0x89)
156INTERRUPT(0x8a)
157INTERRUPT(0x8b)
158INTERRUPT(0x8c)
159INTERRUPT(0x8d)
160INTERRUPT(0x8e)
161INTERRUPT(0x8f)
162
163INTERRUPT(0x90)
164INTERRUPT(0x91)
165INTERRUPT(0x92)
166INTERRUPT(0x93)
167INTERRUPT(0x94)
168INTERRUPT(0x95)
169INTERRUPT(0x96)
170INTERRUPT(0x97)
171INTERRUPT(0x98)
172INTERRUPT(0x99)
173INTERRUPT(0x9a)
174INTERRUPT(0x9b)
175INTERRUPT(0x9c)
176INTERRUPT(0x9d)
177INTERRUPT(0x9e)
178INTERRUPT(0x9f)
179
180INTERRUPT(0xa0)
181INTERRUPT(0xa1)
182INTERRUPT(0xa2)
183INTERRUPT(0xa3)
184INTERRUPT(0xa4)
185INTERRUPT(0xa5)
186INTERRUPT(0xa6)
187INTERRUPT(0xa7)
188INTERRUPT(0xa8)
189INTERRUPT(0xa9)
190INTERRUPT(0xaa)
191INTERRUPT(0xab)
192INTERRUPT(0xac)
193INTERRUPT(0xad)
194INTERRUPT(0xae)
195INTERRUPT(0xaf)
196
197INTERRUPT(0xb0)
198INTERRUPT(0xb1)
199INTERRUPT(0xb2)
200INTERRUPT(0xb3)
201INTERRUPT(0xb4)
202INTERRUPT(0xb5)
203INTERRUPT(0xb6)
204INTERRUPT(0xb7)
205INTERRUPT(0xb8)
206INTERRUPT(0xb9)
207INTERRUPT(0xba)
208INTERRUPT(0xbb)
209INTERRUPT(0xbc)
210INTERRUPT(0xbd)
211INTERRUPT(0xbe)
212INTERRUPT(0xbf)
213
214INTERRUPT(0xc0)
215INTERRUPT(0xc1)
216INTERRUPT(0xc2)
217INTERRUPT(0xc3)
218INTERRUPT(0xc4)
219INTERRUPT(0xc5)
220INTERRUPT(0xc6)
221INTERRUPT(0xc7)
222INTERRUPT(0xc8)
223INTERRUPT(0xc9)
224INTERRUPT(0xca)
225INTERRUPT(0xcb)
226INTERRUPT(0xcc)
227INTERRUPT(0xcd)
228INTERRUPT(0xce)
229INTERRUPT(0xcf)
230
231INTERRUPT(0xd0)
232INTERRUPT(0xd1)
233INTERRUPT(0xd2)
234INTERRUPT(0xd3)
235INTERRUPT(0xd4)
236INTERRUPT(0xd5)
237INTERRUPT(0xd6)
238INTERRUPT(0xd7)
239INTERRUPT(0xd8)
240INTERRUPT(0xd9)
241INTERRUPT(0xda)
242INTERRUPT(0xdb)
243INTERRUPT(0xdc)
244INTERRUPT(0xdd)
245INTERRUPT(0xde)
246INTERRUPT(0xdf)
247
248INTERRUPT(0xe0)
249INTERRUPT(0xe1)
250INTERRUPT(0xe2)
251INTERRUPT(0xe3)
252INTERRUPT(0xe4)
253INTERRUPT(0xe5)
254INTERRUPT(0xe6)
255INTERRUPT(0xe7)
256INTERRUPT(0xe8)
257INTERRUPT(0xe9)
258INTERRUPT(0xea)
259INTERRUPT(0xeb)
260INTERRUPT(0xec)
261INTERRUPT(0xed)
262INTERRUPT(0xee)
263INTERRUPT(0xef)
264
265INTERRUPT(0xf0)
266INTERRUPT(0xf1)
267INTERRUPT(0xf2)
268INTERRUPT(0xf3)
269INTERRUPT(0xf4)
270INTERRUPT(0xf5)
271INTERRUPT(0xf6)
272INTERRUPT(0xf7)
273INTERRUPT(0xf8)
274INTERRUPT(0xf9)
275INTERRUPT(0xfa)
276INTERRUPT(0xfb)
277INTERRUPT(0xfc)
278INTERRUPT(0xfd)
279INTERRUPT(0xfe)
280 TRAP(0xff,idt64_preempt)