xref: /linux/arch/alpha/include/uapi/asm/pal.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPI__ALPHA_PAL_H
3 #define _UAPI__ALPHA_PAL_H
4 
5 /*
6  * Common PAL-code
7  */
8 #define PAL_halt	  0
9 #define PAL_cflush	  1
10 #define PAL_draina	  2
11 #define PAL_bpt		128
12 #define PAL_bugchk	129
13 #define PAL_chmk	131
14 #define PAL_callsys	131
15 #define PAL_imb		134
16 #define PAL_rduniq	158
17 #define PAL_wruniq	159
18 #define PAL_gentrap	170
19 #define PAL_nphalt	190
20 
21 /*
22  * VMS specific PAL-code
23  */
24 #define PAL_swppal	10
25 #define PAL_mfpr_vptb	41
26 
27 /*
28  * OSF specific PAL-code
29  */
30 #define PAL_cserve	 9
31 #define PAL_wripir	13
32 #define PAL_rdmces	16
33 #define PAL_wrmces	17
34 #define PAL_wrfen	43
35 #define PAL_wrvptptr	45
36 #define PAL_jtopal	46
37 #define PAL_swpctx	48
38 #define PAL_wrval	49
39 #define PAL_rdval	50
40 #define PAL_tbi		51
41 #define PAL_wrent	52
42 #define PAL_swpipl	53
43 #define PAL_rdps	54
44 #define PAL_wrkgp	55
45 #define PAL_wrusp	56
46 #define PAL_wrperfmon	57
47 #define PAL_rdusp	58
48 #define PAL_whami	60
49 #define PAL_retsys	61
50 #define PAL_wtint	62
51 #define PAL_rti		63
52 
53 
54 #endif /* _UAPI__ALPHA_PAL_H */
55