]> Joshua Wise's Git repositories - netwatch.git/blob - netwatch/traps.h
Slightly permute the USB_LEGKEY stuff.
[netwatch.git] / netwatch / traps.h
1 /* traps.h
2  * Trap handling macros
3  * NetWatch system management mode administration console
4  *
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.
8  *
9  */
10
11 #ifndef TRAPS_H
12 #define TRAPS_H
13
14 /* Trap vectors from 15-410 basis code. */
15
16 #define T_DIVIDE_ERROR          0
17 #define T_DEBUG                 1
18 #define T_NMI                   2
19 #define T_INT3                  3
20 #define T_OVERFLOW              4
21 #define T_OUT_OF_BOUNDS         5
22 #define T_INVALID_OPCODE        6
23 #define T_NO_FPU                7
24 #define T_DOUBLE_FAULT          8
25 #define T_FPU_FAULT             9
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
34
35 void traps_install(void);
36
37 #endif /* TRAPS_H */
This page took 0.025405 seconds and 4 git commands to generate.