1 #ifndef ALPHA_TARGET_SYSCALL_H
2 #define ALPHA_TARGET_SYSCALL_H
4 /* default linux values for the selectors */
7 struct target_pt_regs
{
28 /* JRP - These are the values provided to a0-a2 by PALcode */
32 /* These are saved by PAL-code: */
39 /* Those is needed by qemu to temporary store the user stack pointer */
44 #define UNAME_MACHINE "alpha"
45 #define UNAME_MINIMUM_RELEASE "2.6.32"
47 // For sys_osf_getsysinfo
48 #define TARGET_GSI_UACPROC 8
49 #define TARGET_GSI_IEEE_FP_CONTROL 45
50 #define TARGET_GSI_IEEE_STATE_AT_SIGNAL 46
51 #define TARGET_GSI_PROC_TYPE 60
52 #define TARGET_GSI_GET_HWRPB 101
54 // For sys_ofs_setsysinfo
55 #define TARGET_SSI_NVPAIRS 1
56 #define TARGET_SSI_IEEE_FP_CONTROL 14
57 #define TARGET_SSI_IEEE_STATE_AT_SIGNAL 15
58 #define TARGET_SSI_IEEE_IGNORE_STATE_AT_SIGNAL 16
59 #define TARGET_SSI_IEEE_RAISE_EXCEPTION 1001
61 #define TARGET_SSIN_UACPROC 6
63 #define TARGET_UAC_NOPRINT 1
64 #define TARGET_UAC_NOFIX 2
65 #define TARGET_UAC_SIGBUS 4
66 #define TARGET_MCL_CURRENT 0x2000
67 #define TARGET_MCL_FUTURE 0x4000
68 #define TARGET_MCL_ONFAULT 0x8000
70 #endif /* ALPHA_TARGET_SYSCALL_H */