]> Joshua Wise's Git repositories - netwatch.git/blame - netwatch/traps.h
More ICH2-specific code diked out.
[netwatch.git] / netwatch / traps.h
CommitLineData
3c4e084d
JP
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
ed22a699
JP
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
35void traps_install(void);
36
37#endif /* TRAPS_H */
This page took 0.032959 seconds and 5 git commands to generate.