Revision 78cfb07f bsd-user/x86_64/syscall.h

b/bsd-user/x86_64/syscall.h
90 90
	abi_ulong  __unused5;
91 91
};
92 92

  
93
/* FreeBSD sysarch(2) */
94
#define TARGET_FREEBSD_I386_GET_LDT	0
95
#define TARGET_FREEBSD_I386_SET_LDT	1
96
				/* I386_IOPL */
97
#define TARGET_FREEBSD_I386_GET_IOPERM	3
98
#define TARGET_FREEBSD_I386_SET_IOPERM	4
99
				/* xxxxx */
100
#define TARGET_FREEBSD_I386_GET_FSBASE	7
101
#define TARGET_FREEBSD_I386_SET_FSBASE	8
102
#define TARGET_FREEBSD_I386_GET_GSBASE	9
103
#define TARGET_FREEBSD_I386_SET_GSBASE	10
104

  
105
#define TARGET_FREEBSD_AMD64_GET_FSBASE	128
106
#define TARGET_FREEBSD_AMD64_SET_FSBASE	129
107
#define TARGET_FREEBSD_AMD64_GET_GSBASE	130
108
#define TARGET_FREEBSD_AMD64_SET_GSBASE	131
109

  
110

  
93 111
#define UNAME_MACHINE "x86_64"
94 112

  
95 113
#define TARGET_ARCH_SET_GS 0x1001

Also available in: Unified diff