Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _ASM_X86_TRAPNR_H
0003 #define _ASM_X86_TRAPNR_H
0004 
0005 /* Interrupts/Exceptions */
0006 
0007 #define X86_TRAP_DE      0  /* Divide-by-zero */
0008 #define X86_TRAP_DB      1  /* Debug */
0009 #define X86_TRAP_NMI         2  /* Non-maskable Interrupt */
0010 #define X86_TRAP_BP      3  /* Breakpoint */
0011 #define X86_TRAP_OF      4  /* Overflow */
0012 #define X86_TRAP_BR      5  /* Bound Range Exceeded */
0013 #define X86_TRAP_UD      6  /* Invalid Opcode */
0014 #define X86_TRAP_NM      7  /* Device Not Available */
0015 #define X86_TRAP_DF      8  /* Double Fault */
0016 #define X86_TRAP_OLD_MF      9  /* Coprocessor Segment Overrun */
0017 #define X86_TRAP_TS     10  /* Invalid TSS */
0018 #define X86_TRAP_NP     11  /* Segment Not Present */
0019 #define X86_TRAP_SS     12  /* Stack Segment Fault */
0020 #define X86_TRAP_GP     13  /* General Protection Fault */
0021 #define X86_TRAP_PF     14  /* Page Fault */
0022 #define X86_TRAP_SPURIOUS   15  /* Spurious Interrupt */
0023 #define X86_TRAP_MF     16  /* x87 Floating-Point Exception */
0024 #define X86_TRAP_AC     17  /* Alignment Check */
0025 #define X86_TRAP_MC     18  /* Machine Check */
0026 #define X86_TRAP_XF     19  /* SIMD Floating-Point Exception */
0027 #define X86_TRAP_VE     20  /* Virtualization Exception */
0028 #define X86_TRAP_CP     21  /* Control Protection Exception */
0029 #define X86_TRAP_VC     29  /* VMM Communication Exception */
0030 #define X86_TRAP_IRET       32  /* IRET Exception */
0031 
0032 #endif