4 /* Trap vectors from 15-410 basis code. */
6 #define T_DIVIDE_ERROR 0
11 #define T_OUT_OF_BOUNDS 5
12 #define T_INVALID_OPCODE 6
14 #define T_DOUBLE_FAULT 8
16 #define T_INVALID_TSS 10
17 #define T_SEGMENT_NOT_PRESENT 11
18 #define T_STACK_FAULT 12
19 #define T_GENERAL_PROTECTION 13
20 #define T_PAGE_FAULT 14
21 #define T_FLOATING_POINT_ERROR 16
22 #define T_ALIGNMENT_CHECK 17
23 #define T_MACHINE_CHECK 18
25 void traps_install(void);