]> Joshua Wise's Git repositories - netwatch.git/blob - netwatch/traps.h
remove log from vga overlay
[netwatch.git] / netwatch / traps.h
1 #ifndef TRAPS_H
2 #define TRAPS_H
3
4 /* Trap vectors from 15-410 basis code. */
5
6 #define T_DIVIDE_ERROR          0
7 #define T_DEBUG                 1
8 #define T_NMI                   2
9 #define T_INT3                  3
10 #define T_OVERFLOW              4
11 #define T_OUT_OF_BOUNDS         5
12 #define T_INVALID_OPCODE        6
13 #define T_NO_FPU                7
14 #define T_DOUBLE_FAULT          8
15 #define T_FPU_FAULT             9
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
24
25 void traps_install(void);
26
27 #endif /* TRAPS_H */
This page took 0.029577 seconds and 4 git commands to generate.