summary refs log tree commit diff stats
path: root/syscall-i386.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-06-05 00:57:30 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-06-05 00:57:30 +0000
commit5286db75a80d4a4bcee3d0b0790daf85ce460d13 (patch)
treef6a8bbc1441eb55cdd6a1401e1fb6533e1480600 /syscall-i386.h
parent917f95fd4d3e88b2813a3ff00050d63cf7d59307 (diff)
downloadfocaccia-qemu-5286db75a80d4a4bcee3d0b0790daf85ce460d13.tar.gz
focaccia-qemu-5286db75a80d4a4bcee3d0b0790daf85ce460d13.zip
convert mmap flags (alpha fix)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@208 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'syscall-i386.h')
-rw-r--r--syscall-i386.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/syscall-i386.h b/syscall-i386.h
index 178b638c70..ea482bbbb6 100644
--- a/syscall-i386.h
+++ b/syscall-i386.h
@@ -780,6 +780,18 @@ struct target_modify_ldt_ldt_s {
 };
 
 
+#define TARGET_MAP_SHARED	0x01		/* Share changes */
+#define TARGET_MAP_PRIVATE	0x02		/* Changes are private */
+#define TARGET_MAP_TYPE	0x0f		/* Mask for type of mapping */
+#define TARGET_MAP_FIXED	0x10		/* Interpret addr exactly */
+#define TARGET_MAP_ANONYMOUS	0x20		/* don't use a file */
+
+#define TARGET_MAP_GROWSDOWN	0x0100		/* stack-like segment */
+#define TARGET_MAP_DENYWRITE	0x0800		/* ETXTBSY */
+#define TARGET_MAP_EXECUTABLE	0x1000		/* mark it as an executable */
+#define TARGET_MAP_LOCKED	0x2000		/* pages are locked */
+#define TARGET_MAP_NORESERVE	0x4000		/* don't check for reservations */
+
 /* vm86 defines */
 
 #define TARGET_BIOSSEG		0x0f000