]> git.lizzy.rs Git - plan9front.git/blob - sys/src/9/alphapc/osf1pal.h
pci: add intel qm67 pch
[plan9front.git] / sys / src / 9 / alphapc / osf1pal.h
1 /*
2  * OSF/1 PALcode instructions, in numerical order.
3  * Values are from Digital EBSDK and FreeBSD/Alpha.
4  */
5
6 /* Privilaged PAL functions */
7 #define PALhalt         0x00    /* required per Alpha architecture */
8 #define PALcflush       0x01
9 #define PALdraina       0x02    /* required per Alpha architecture */
10 /*
11  * ... 0x03 to 0x08 ?
12  */
13 #define PALcserve       0x09
14 #define PALswppal       0x0a
15 /*
16  * ... 0x0b to 0x0c ?
17  */
18 #define PALwripir       0x0d
19 /*
20  * ... 0x0e to 0x0f ?
21  */
22 #define PALrdmces       0x10
23 #define PALwrmces       0x11
24 /*
25  * ... 0x12 to 0x2a ?
26  */
27 #define PALwrfen        0x2b
28                                 /* 0x2c OSF/1 ? */
29 #define PALwrvptptr     0x2d
30 /*
31  * ... 0x2e to 0x2f ?
32  */
33 #define PALswpctx       0x30
34 #define PALwrval        0x31
35 #define PALrdval        0x32
36 #define PALtbi          0x33
37 #define PALwrent        0x34
38 #define PALswpipl       0x35
39 #define PALrdps         0x36
40 #define PALwrkgp        0x37
41 #define PALwrusp        0x38
42 #define PALwrperfmon    0x39
43 #define PALrdusp        0x3a
44                                 /* 0x3b OSF/1 ? */
45 #define PALwhami        0x3c
46 #define PALretsys       0x3d
47 #define PALwtint        0x3e
48 #define PALrti          0x3f
49
50 /* Unprivileged PAL functions */
51 #define PALbpt          0x80
52 #define PALbugchk       0x81
53 #define PALcallsys      0x83
54 #define PALimb          0x86    /* required per Alpha architecture */
55 /*
56  * ... 0x89 to 0x91 ?
57  */
58 #define PALurti         0x92
59 /*
60  * ... 0x93 to 0x9d ?
61  */
62 #define PALrdunique     0x9e
63 #define PALwrunique     0x9f
64 /*
65  * ... 0xa0 to 0xa9 ?
66  */
67 #define PALgentrap      0xaa
68 /*
69  * ... 0xab to 0xac ?
70  */
71 #define PALdbgstop      0xad
72 #define PALclrfen       0xae
73 /*
74  * ... 0xaf to 0xbd ?
75  */
76 #define PALnphalt       0xbe
77 #define PALcopypal      0xbf
78