diff options
author | Juergen Lock | 2009-10-17 00:34:26 +0200 |
---|---|---|
committer | Blue Swirl | 2009-10-18 17:16:08 +0200 |
commit | 78cfb07fe0dc556cae662a0fab5fe1bd33daabdb (patch) | |
tree | 9d8123e0e1875cfbd1ba7544122f31b4519e7e80 /bsd-user/i386 | |
parent | x86: add 'static' to please Sparse (diff) | |
download | qemu-78cfb07fe0dc556cae662a0fab5fe1bd33daabdb.tar.gz qemu-78cfb07fe0dc556cae662a0fab5fe1bd33daabdb.tar.xz qemu-78cfb07fe0dc556cae662a0fab5fe1bd33daabdb.zip |
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>
Diffstat (limited to 'bsd-user/i386')
-rw-r--r-- | bsd-user/i386/syscall.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bsd-user/i386/syscall.h b/bsd-user/i386/syscall.h index cf53fba45e..9b34c61bb0 100644 --- a/bsd-user/i386/syscall.h +++ b/bsd-user/i386/syscall.h @@ -143,5 +143,19 @@ struct target_vm86plus_struct { struct target_vm86plus_info_struct vm86plus; }; +/* 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_VM86 6 +#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 UNAME_MACHINE "i386" |