mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-25 03:55:09 +08:00
7f3bbb82e0
Use WTINT to wait for the next interrupt. Squash the WTINT call if the PALcode doesn't support it (e.g. MILO). No attempt is yet made to skip clock ticks during normal scheduling in order to stay in power down mode longer. Signed-off-by: Richard Henderson <rth@twiddle.net>
54 lines
972 B
C
54 lines
972 B
C
#ifndef _UAPI__ALPHA_PAL_H
|
|
#define _UAPI__ALPHA_PAL_H
|
|
|
|
/*
|
|
* Common PAL-code
|
|
*/
|
|
#define PAL_halt 0
|
|
#define PAL_cflush 1
|
|
#define PAL_draina 2
|
|
#define PAL_bpt 128
|
|
#define PAL_bugchk 129
|
|
#define PAL_chmk 131
|
|
#define PAL_callsys 131
|
|
#define PAL_imb 134
|
|
#define PAL_rduniq 158
|
|
#define PAL_wruniq 159
|
|
#define PAL_gentrap 170
|
|
#define PAL_nphalt 190
|
|
|
|
/*
|
|
* VMS specific PAL-code
|
|
*/
|
|
#define PAL_swppal 10
|
|
#define PAL_mfpr_vptb 41
|
|
|
|
/*
|
|
* OSF specific PAL-code
|
|
*/
|
|
#define PAL_cserve 9
|
|
#define PAL_wripir 13
|
|
#define PAL_rdmces 16
|
|
#define PAL_wrmces 17
|
|
#define PAL_wrfen 43
|
|
#define PAL_wrvptptr 45
|
|
#define PAL_jtopal 46
|
|
#define PAL_swpctx 48
|
|
#define PAL_wrval 49
|
|
#define PAL_rdval 50
|
|
#define PAL_tbi 51
|
|
#define PAL_wrent 52
|
|
#define PAL_swpipl 53
|
|
#define PAL_rdps 54
|
|
#define PAL_wrkgp 55
|
|
#define PAL_wrusp 56
|
|
#define PAL_wrperfmon 57
|
|
#define PAL_rdusp 58
|
|
#define PAL_whami 60
|
|
#define PAL_retsys 61
|
|
#define PAL_wtint 62
|
|
#define PAL_rti 63
|
|
|
|
|
|
#endif /* _UAPI__ALPHA_PAL_H */
|