aboutsummaryrefslogtreecommitdiff
path: root/syscall-i386.h
diff options
context:
space:
mode:
Diffstat (limited to 'syscall-i386.h')
-rw-r--r--syscall-i386.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/syscall-i386.h b/syscall-i386.h
index a54064a054..fa84d9a553 100644
--- a/syscall-i386.h
+++ b/syscall-i386.h
@@ -632,6 +632,16 @@ struct target_termios {
#define TARGET_VLNEXT 15
#define TARGET_VEOL2 16
+#define TARGET_LDT_ENTRIES 8192
+#define TARGET_LDT_ENTRY_SIZE 8
+
+struct target_modify_ldt_ldt_s {
+ unsigned int entry_number;
+ target_ulong base_addr;
+ unsigned int limit;
+ unsigned int flags;
+};
+
/* soundcard defines (XXX: move them to generic file syscall_defs.h) */
#define TARGET_SNDCTL_COPR_HALT 0xc0144307
@@ -759,13 +769,5 @@ struct target_termios {
#define TARGET_SOUND_MIXER_WRITE_LOUD 0xc0044d1f
#define TARGET_SOUND_MIXER_WRITE_RECSRC 0xc0044dff
-#define TARGET_LDT_ENTRIES 8192
-#define TARGET_LDT_ENTRY_SIZE 8
-
-struct target_modify_ldt_ldt_s {
- unsigned int entry_number;
- target_ulong base_addr;
- unsigned int limit;
- unsigned int flags;
-};
-
+#define TARGET_VFAT_IOCTL_READDIR_BOTH 0x82187201
+#define TARGET_VFAT_IOCTL_READDIR_SHORT 0x82187202