- Timestamp:
- Mar 6, 2018 5:12:38 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/gvm.h
r71222 r71246 31 31 #include <VBox/types.h> 32 32 #include <iprt/thread.h> 33 #include <iprt/assertcompile.h> 33 34 34 35 … … 105 106 * Same same as VM::cCpus. */ 106 107 uint32_t cCpus; 107 uint 32_t padding;108 uint8_t abPadding[HC_ARCH_BITS == 32 ? 16 : 4]; 108 109 109 110 /** The GVMM per vm data. */ … … 148 149 GVMCPU aCpus[1]; 149 150 } GVM; 151 AssertCompileMemberOffset(GVM, gvmm, 40); 152 AssertCompileMemberOffset(GVM, gmm, 40 + 256); 153 #ifdef VBOX_WITH_NEM_R0 154 AssertCompileMemberOffset(GVM, nem, 40 + 256 + 512); 155 AssertCompileMemberOffset(GVM, rawpci, 40 + 256 + 512 + 128); 156 AssertCompileMemberOffset(GVM, aCpus, 40 + 256 + 512 + 128 + 64); 157 #else 158 AssertCompileMemberOffset(GVM, rawpci, 40 + 256 + 512); 159 AssertCompileMemberOffset(GVM, aCpus, 40 + 256 + 512 + 64); 160 #endif 150 161 151 162 /** The GVM::u32Magic value (Wayne Shorter). */
Note:
See TracChangeset
for help on using the changeset viewer.