X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/6d2010ae8f7a6078e10b361c6962983bab233e0f..008676633c2ad2c325837c2b64915f7ded690a8f:/osfmk/x86_64/idt_table.h diff --git a/osfmk/x86_64/idt_table.h b/osfmk/x86_64/idt_table.h index f2f26ce13..10d590278 100644 --- a/osfmk/x86_64/idt_table.h +++ b/osfmk/x86_64/idt_table.h @@ -28,31 +28,23 @@ TRAP(0x00,idt64_zero_div) TRAP_SPC(0x01,idt64_debug) -INTERRUPT(0x02) /* NMI */ +TRAP_IST2(0x02,idt64_nmi) USER_TRAP(0x03,idt64_int3) USER_TRAP(0x04,idt64_into) USER_TRAP(0x05,idt64_bounds) TRAP(0x06,idt64_invop) TRAP(0x07,idt64_nofpu) -#if MACH_KDB -TRAP_IST(0x08,idt64_db_task_dbl_fault) -#else -TRAP_IST(0x08,idt64_double_fault) -#endif +TRAP_IST1(0x08,idt64_double_fault) TRAP(0x09,idt64_fpu_over) -TRAP(0x0a,idt64_inv_tss) -TRAP_SPC(0x0b,idt64_segnp) -#if MACH_KDB -TRAP_IST(0x0c,idt64_db_task_stk_fault) -#else -TRAP_SPC(0x0c,idt64_stack_fault) -#endif -TRAP_SPC(0x0d,idt64_gen_prot) +TRAP_ERR(0x0a,idt64_inv_tss) +TRAP_IST1(0x0b,idt64_segnp) +TRAP_IST1(0x0c,idt64_stack_fault) +TRAP_IST1(0x0d,idt64_gen_prot) TRAP_SPC(0x0e,idt64_page_fault) TRAP(0x0f,idt64_trap_0f) TRAP(0x10,idt64_fpu_err) -TRAP(0x11,idt64_trap_11) -TRAP_IST(0x12,idt64_mc) +TRAP_ERR(0x11,idt64_alignment_check) +TRAP_IST1(0x12,idt64_mc) TRAP(0x13,idt64_sse_err) TRAP(0x14,idt64_trap_14) TRAP(0x15,idt64_trap_15) @@ -172,8 +164,8 @@ USER_TRAP(0x7f, idt64_dtrace_ret) /* Required by dtrace "fasttrap" */ USER_TRAP_SPC(0x80,idt64_unix_scall) USER_TRAP_SPC(0x81,idt64_mach_scall) USER_TRAP_SPC(0x82,idt64_mdep_scall) -USER_TRAP_SPC(0x83,idt64_diag_scall) +INTERRUPT(0x83) INTERRUPT(0x84) INTERRUPT(0x85) INTERRUPT(0x86) @@ -255,6 +247,7 @@ INTERRUPT(0xcd) INTERRUPT(0xce) INTERRUPT(0xcf) +/* Local APIC interrupt vectors */ INTERRUPT(0xd0) INTERRUPT(0xd1) INTERRUPT(0xd2)