3 * NetWatch system management mode administration console
5 * Copyright (c) 2008 Jacob Potter and Joshua Wise. All rights reserved.
6 * This program is free software; you can redistribute and/or modify it under
7 * the terms found in the file LICENSE in the root of this source tree.
14 /* Trap vectors from 15-410 basis code. */
16 #define T_DIVIDE_ERROR 0
21 #define T_OUT_OF_BOUNDS 5
22 #define T_INVALID_OPCODE 6
24 #define T_DOUBLE_FAULT 8
26 #define T_INVALID_TSS 10
27 #define T_SEGMENT_NOT_PRESENT 11
28 #define T_STACK_FAULT 12
29 #define T_GENERAL_PROTECTION 13
30 #define T_PAGE_FAULT 14
31 #define T_FLOATING_POINT_ERROR 16
32 #define T_ALIGNMENT_CHECK 17
33 #define T_MACHINE_CHECK 18
35 void traps_install(void);