Changeset 64395 in vbox for trunk/include/VBox
- Timestamp:
- Oct 24, 2016 2:45:38 PM (8 years ago)
- Location:
- trunk/include/VBox/vmm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmpcidev.h
r64393 r64395 109 109 110 110 /* 111 * Hack to include the PDMPCIDEVI CEINT structure at the right place111 * Hack to include the PDMPCIDEVINT structure at the right place 112 112 * to avoid duplications of FNPCIIOREGIONMAP and such. 113 113 */ … … 133 133 union 134 134 { 135 #ifdef PDMPCIDEVI CEINT_DECLARED136 PDMPCIDEVI CEINTs;135 #ifdef PDMPCIDEVINT_DECLARED 136 PDMPCIDEVINT s; 137 137 #endif 138 138 uint8_t padding[HC_ARCH_BITS == 32 ? 272 : 384]; … … 152 152 /** @} */ 153 153 } PDMPCIDEV; 154 #ifdef PDMPCIDEVI CEINT_DECLARED154 #ifdef PDMPCIDEVINT_DECLARED 155 155 AssertCompile(RT_SIZEOFMEMB(PDMPCIDEV, Int.s) <= RT_SIZEOFMEMB(PDMPCIDEV, Int.padding)); 156 156 #endif -
trunk/include/VBox/vmm/pdmpcidevint.h
r64387 r64395 110 110 * @sa PDMPCIDEV 111 111 */ 112 typedef struct PDMPCIDEVI CEINT112 typedef struct PDMPCIDEVINT 113 113 { 114 114 /** @name Owned by PDM. … … 205 205 PCIIOREGION aIORegions[VBOX_PCI_NUM_REGIONS]; 206 206 /** @} */ 207 } PDMPCIDEVI CEINT;208 AssertCompileMemberAlignment(PDMPCIDEVI CEINT, aIORegions, 8);209 AssertCompileSize(PDMPCIDEVI CEINT, HC_ARCH_BITS == 32 ? 264 : 384);207 } PDMPCIDEVINT; 208 AssertCompileMemberAlignment(PDMPCIDEVINT, aIORegions, 8); 209 AssertCompileSize(PDMPCIDEVINT, HC_ARCH_BITS == 32 ? 264 : 384); 210 210 211 211 /** Indicate that PDMPCIDEV::Int.s can be declared. */ 212 #define PDMPCIDEVI CEINT_DECLARED212 #define PDMPCIDEVINT_DECLARED 213 213 214 214 /** @} */
Note:
See TracChangeset
for help on using the changeset viewer.