]>
git.saurik.com Git - apple/xnu.git/blob - osfmk/x86_64/idt_table.h
2 * Copyright (c) 2009 Apple Inc. All rights reserved.
4 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. The rights granted to you under the License
10 * may not be used to create, or enable the creation or redistribution of,
11 * unlawful or unlicensed copies of an Apple operating system, or to
12 * circumvent, violate, or enable the circumvention or violation of, any
13 * terms of an Apple operating system software license agreement.
15 * Please obtain a copy of the License at
16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
18 * The Original Code and all software distributed under the License are
19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
20 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
21 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
22 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
23 * Please see the License for the specific language governing rights and
24 * limitations under the License.
26 * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
29 TRAP(0x00,idt64_zero_div
)
30 TRAP_SPC(0x01,idt64_debug
)
31 TRAP_IST2(0x02,idt64_nmi
)
32 USER_TRAP(0x03,idt64_int3
)
33 USER_TRAP(0x04,idt64_into
)
34 USER_TRAP(0x05,idt64_bounds
)
35 TRAP(0x06,idt64_invop
)
36 TRAP(0x07,idt64_nofpu
)
37 TRAP_IST1(0x08,idt64_double_fault
)
38 TRAP(0x09,idt64_fpu_over
)
39 TRAP_ERR(0x0a,idt64_inv_tss
)
40 TRAP_IST1(0x0b,idt64_segnp
)
41 TRAP_IST1(0x0c,idt64_stack_fault
)
42 TRAP_IST1(0x0d,idt64_gen_prot
)
43 TRAP_SPC(0x0e,idt64_page_fault
)
44 TRAP(0x0f,idt64_trap_0f
)
45 TRAP(0x10,idt64_fpu_err
)
46 TRAP_ERR(0x11,idt64_alignment_check
)
47 TRAP_IST1(0x12,idt64_mc
)
48 TRAP(0x13,idt64_sse_err
)
49 TRAP(0x14,idt64_trap_14
)
50 TRAP(0x15,idt64_trap_15
)
51 TRAP(0x16,idt64_trap_16
)
52 TRAP(0x17,idt64_trap_17
)
53 TRAP(0x18,idt64_trap_18
)
54 TRAP(0x19,idt64_trap_19
)
55 TRAP(0x1a,idt64_trap_1a
)
56 TRAP(0x1b,idt64_trap_1b
)
57 TRAP(0x1c,idt64_trap_1c
)
58 TRAP(0x1d,idt64_trap_1d
)
59 TRAP(0x1e,idt64_trap_1e
)
60 TRAP(0x1f,idt64_trap_1f
)
162 USER_TRAP(0x7f, idt64_dtrace_ret
) /* Required by dtrace "fasttrap" */
164 USER_TRAP_SPC(0x80,idt64_unix_scall
)
165 USER_TRAP_SPC(0x81,idt64_mach_scall
)
166 USER_TRAP_SPC(0x82,idt64_mdep_scall
)
250 /* Local APIC interrupt vectors */
300 TRAP(0xff,idt64_preempt
)