xref: /qemu/linux-user/x86_64/target_structs.h (revision 91f5f7a5df1fda8c34677a7c49ee8a4bb5b56a36)
155a2b163SPetar Jovanovic /*
255a2b163SPetar Jovanovic  * X86-64 specific structures for linux-user
355a2b163SPetar Jovanovic  *
455a2b163SPetar Jovanovic  * Copyright (c) 2013 Fabrice Bellard
555a2b163SPetar Jovanovic  *
655a2b163SPetar Jovanovic  * This library is free software; you can redistribute it and/or
755a2b163SPetar Jovanovic  * modify it under the terms of the GNU Lesser General Public
855a2b163SPetar Jovanovic  * License as published by the Free Software Foundation; either
91c79145fSChetan Pant  * version 2.1 of the License, or (at your option) any later version.
1055a2b163SPetar Jovanovic  *
1155a2b163SPetar Jovanovic  * This library is distributed in the hope that it will be useful,
1255a2b163SPetar Jovanovic  * but WITHOUT ANY WARRANTY; without even the implied warranty of
1355a2b163SPetar Jovanovic  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1455a2b163SPetar Jovanovic  * Lesser General Public License for more details.
1555a2b163SPetar Jovanovic  *
1655a2b163SPetar Jovanovic  * You should have received a copy of the GNU Lesser General Public
1755a2b163SPetar Jovanovic  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
1855a2b163SPetar Jovanovic  */
1935003856SMarkus Armbruster #ifndef X86_64_TARGET_STRUCTS_H
2035003856SMarkus Armbruster #define X86_64_TARGET_STRUCTS_H
2155a2b163SPetar Jovanovic 
22*72f69269SRichard Henderson #include "../generic/target_structs.h"
2355a2b163SPetar Jovanovic 
24005eb2aeSPeter Maydell /* The x86 definition differs from the generic one in that the
25005eb2aeSPeter Maydell  * two padding fields exist whether the ABI is 32 bits or 64 bits.
26005eb2aeSPeter Maydell  */
27005eb2aeSPeter Maydell #define TARGET_SEMID64_DS
28005eb2aeSPeter Maydell struct target_semid64_ds {
29005eb2aeSPeter Maydell     struct target_ipc_perm sem_perm;
30005eb2aeSPeter Maydell     abi_ulong sem_otime;
31005eb2aeSPeter Maydell     abi_ulong __unused1;
32005eb2aeSPeter Maydell     abi_ulong sem_ctime;
33005eb2aeSPeter Maydell     abi_ulong __unused2;
34005eb2aeSPeter Maydell     abi_ulong sem_nsems;
35005eb2aeSPeter Maydell     abi_ulong __unused3;
36005eb2aeSPeter Maydell     abi_ulong __unused4;
37005eb2aeSPeter Maydell };
38005eb2aeSPeter Maydell 
3955a2b163SPetar Jovanovic #endif
40