1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
/*[
c_xcptn.h
LOCAL CHAR SccsID[]="@(#)c_xcptn.h 1.6 01/19/95";
Exception Handling Support.
---------------------------
]*/
/*
Intel exception types.
*/
#define INTERNAL 0
#define EXTERNAL 1
/*
Interrupt Controls.
*/
IMPORT BOOL doing_contributory;
IMPORT BOOL doing_double_fault;
IMPORT BOOL doing_page_fault;
IMPORT BOOL doing_fault;
IMPORT ISM32 EXT;
IMPORT IU32 CCPU_save_EIP;
IMPORT VOID Int0 IPT0();
IMPORT VOID Int1_f IPT0(); /* fault */
IMPORT VOID Int1_t IPT0(); /* trap */
IMPORT VOID Int5 IPT0();
IMPORT VOID Int6 IPT0();
IMPORT VOID Int7 IPT0();
IMPORT VOID Int16 IPT0();
IMPORT VOID DF IPT1( IU16, xcode);
IMPORT VOID TS IPT2( IU16, selector, IU16, xcode );
IMPORT VOID NP IPT2( IU16, selector, IU16, xcode );
IMPORT VOID SF IPT2( IU16, selector, IU16, xcode );
IMPORT VOID GP IPT2( IU16, selector, IU16, xcode );
IMPORT VOID PF IPT2( IU16, page_error, IU16, xcode );
IMPORT VOID NP_INT IPT2( IU16, vector, IU16, xcode );
IMPORT VOID GP_INT IPT2( IU16, vector, IU16, xcode );
|