Changeset 46691 in vbox for trunk/include/VBox
- Timestamp:
- Jun 19, 2013 7:57:53 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 86588
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VMMDev.h
r46093 r46691 35 35 #include <iprt/assert.h> 36 36 37 37 38 #pragma pack(4) /* force structure dword packing here. */ 38 39 RT_C_DECLS_BEGIN 40 39 41 40 42 /** @defgroup grp_vmmdev VMM Device … … 233 235 #define VMMDEV_REQUEST_HEADER_VERSION (0x10001) 234 236 235 #pragma pack(4) /* force structure dword packing here. */236 237 237 238 /** … … 960 961 * Used by VMMDevReq_QueryCredentials. 961 962 */ 962 #pragma pack(4)963 963 typedef struct 964 964 { … … 975 975 } VMMDevCredentials; 976 976 AssertCompileSize(VMMDevCredentials, 24+4+3*128); 977 #pragma pack()978 977 979 978 /** @name Credentials request flag (VMMDevCredentials::u32Flags) … … 1423 1422 1424 1423 1425 #pragma pack()1426 1427 1424 1428 1425 #ifdef VBOX_WITH_HGCM … … 1435 1432 # define VBOX_HGCM_REQ_CANCELLED (0x2) 1436 1433 /** @} */ 1437 1438 # pragma pack(4)1439 1434 1440 1435 /** … … 1780 1775 AssertCompileSize(HGCMPageListInfo, 4+2+2+8); 1781 1776 1782 # pragma pack()1783 1777 1784 1778 /** Get the pointer to the first parmater of a HGCM call request. */ … … 1981 1975 * @todo Where does this fit in? 1982 1976 */ 1983 #pragma pack(1) /* unnecessary */1984 1977 typedef struct VBVACMDHDR 1985 1978 { … … 1990 1983 uint16_t h; 1991 1984 } VBVACMDHDR; 1992 #pragma pack() 1985 AssertCompileSize(VBVACMDHDR, 8); 1993 1986 1994 1987 /** @name VBVA ring defines. … … 2039 2032 * This is a subsection of the VMMDevMemory structure. 2040 2033 */ 2041 #pragma pack(1) /* paranoia */2042 2034 typedef struct VBVAMEMORY 2043 2035 { … … 2066 2058 2067 2059 } VBVAMEMORY; 2068 #pragma pack()2069 2060 AssertCompileSize(VBVAMEMORY, 12 + (_4M-_1K) + 4*64 + 12); 2070 2061 … … 2073 2064 * The layout of VMMDEV RAM region that contains information for guest. 2074 2065 */ 2075 #pragma pack(1) /* paranoia */2076 2066 typedef struct VMMDevMemory 2077 2067 { … … 2102 2092 } VMMDevMemory; 2103 2093 AssertCompileSize(VMMDevMemory, 8+8 + (12 + (_4M-_1K) + 4*64 + 12) ); 2104 #pragma pack() 2094 AssertCompileMemberOffset(VMMDevMemory, vbvaMemory, 16); 2105 2095 2106 2096 /** Version of VMMDevMemory structure (VMMDevMemory::u32Version). */ … … 2108 2098 2109 2099 /** @} */ 2100 2110 2101 RT_C_DECLS_END 2102 #pragma pack() 2111 2103 2112 2104 #endif
Note:
See TracChangeset
for help on using the changeset viewer.