summaryrefslogtreecommitdiff
path: root/syscall-i386.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-03-30 21:02:40 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-03-30 21:02:40 +0000
commitbc8a22cc307ebd9a2577c8fffcb90000724f72f3 (patch)
treee465f91187d8a555a3fbb4c848a983590ea5ad6f /syscall-i386.h
parentf631ef9bd262796779dd2b18741cf924831dab54 (diff)
downloadqemu-bc8a22cc307ebd9a2577c8fffcb90000724f72f3.tar.gz
better vm86 support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@69 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'syscall-i386.h')
-rw-r--r--syscall-i386.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/syscall-i386.h b/syscall-i386.h
index 847404fe1e..0fb57ce162 100644
--- a/syscall-i386.h
+++ b/syscall-i386.h
@@ -755,6 +755,11 @@ struct target_modify_ldt_ldt_s {
unsigned int flags;
};
+
+/* vm86 defines */
+
+#define TARGET_BIOSSEG 0x0f000
+
#define TARGET_VM86_SIGNAL 0 /* return due to signal */
#define TARGET_VM86_UNKNOWN 1 /* unhandled GP fault - IO-instruction or similar */
#define TARGET_VM86_INTx 2 /* int3/int x instruction (ARG = x) */