summaryrefslogtreecommitdiff
path: root/linux-user/x86_64/target_structs.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/x86_64/target_structs.h')
-rw-r--r--linux-user/x86_64/target_structs.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/linux-user/x86_64/target_structs.h b/linux-user/x86_64/target_structs.h
index 348982703e..b6e82a822c 100644
--- a/linux-user/x86_64/target_structs.h
+++ b/linux-user/x86_64/target_structs.h
@@ -55,4 +55,19 @@ struct target_shmid_ds {
abi_ulong __unused5;
};
+/* The x86 definition differs from the generic one in that the
+ * two padding fields exist whether the ABI is 32 bits or 64 bits.
+ */
+#define TARGET_SEMID64_DS
+struct target_semid64_ds {
+ struct target_ipc_perm sem_perm;
+ abi_ulong sem_otime;
+ abi_ulong __unused1;
+ abi_ulong sem_ctime;
+ abi_ulong __unused2;
+ abi_ulong sem_nsems;
+ abi_ulong __unused3;
+ abi_ulong __unused4;
+};
+
#endif