mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
bsd-user: FreeBSD update
basic FreeBSD sysarch(2) handling fixed syscall errno return Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
976b2037e5
commit
78cfb07fe0
9 changed files with 462 additions and 31 deletions
|
@ -90,6 +90,24 @@ struct target_msqid64_ds {
|
|||
abi_ulong __unused5;
|
||||
};
|
||||
|
||||
/* FreeBSD sysarch(2) */
|
||||
#define TARGET_FREEBSD_I386_GET_LDT 0
|
||||
#define TARGET_FREEBSD_I386_SET_LDT 1
|
||||
/* I386_IOPL */
|
||||
#define TARGET_FREEBSD_I386_GET_IOPERM 3
|
||||
#define TARGET_FREEBSD_I386_SET_IOPERM 4
|
||||
/* xxxxx */
|
||||
#define TARGET_FREEBSD_I386_GET_FSBASE 7
|
||||
#define TARGET_FREEBSD_I386_SET_FSBASE 8
|
||||
#define TARGET_FREEBSD_I386_GET_GSBASE 9
|
||||
#define TARGET_FREEBSD_I386_SET_GSBASE 10
|
||||
|
||||
#define TARGET_FREEBSD_AMD64_GET_FSBASE 128
|
||||
#define TARGET_FREEBSD_AMD64_SET_FSBASE 129
|
||||
#define TARGET_FREEBSD_AMD64_GET_GSBASE 130
|
||||
#define TARGET_FREEBSD_AMD64_SET_GSBASE 131
|
||||
|
||||
|
||||
#define UNAME_MACHINE "x86_64"
|
||||
|
||||
#define TARGET_ARCH_SET_GS 0x1001
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue