Changeset 81162 in vbox for trunk/include/VBox
- Timestamp:
- Oct 8, 2019 4:45:46 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 133796
- Location:
- trunk/include/VBox/vmm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/gvm.h
r80943 r81162 210 210 struct IOMR0PERVM s; 211 211 #endif 212 uint8_t padding[ 256];212 uint8_t padding[512]; 213 213 } iomr0; 214 214 215 215 /** Padding so aCpus starts on a page boundrary. */ 216 216 #ifdef VBOX_WITH_NEM_R0 217 uint8_t abPadding2[4096 - 64 - 256 - 512 - 256 - 64 - 1792 - 256- sizeof(PGVMCPU) * VMM_MAX_CPU_COUNT];218 #else 219 uint8_t abPadding2[4096 - 64 - 256 - 512 - 64 - 1792 - 256- sizeof(PGVMCPU) * VMM_MAX_CPU_COUNT];217 uint8_t abPadding2[4096 - 64 - 256 - 512 - 256 - 64 - 1792 - 512 - sizeof(PGVMCPU) * VMM_MAX_CPU_COUNT]; 218 #else 219 uint8_t abPadding2[4096 - 64 - 256 - 512 - 64 - 1792 - 512 - sizeof(PGVMCPU) * VMM_MAX_CPU_COUNT]; 220 220 #endif 221 221 … … 226 226 GVMCPU aCpus[1]; 227 227 } GVM; 228 #if 0 228 229 #if RT_GNUC_PREREQ(4, 6) && defined(__cplusplus) 229 230 # pragma GCC diagnostic push … … 245 246 # pragma GCC diagnostic pop 246 247 #endif 248 #endif 247 249 248 250 /** The GVM::u32Magic value (Wayne Shorter). */ -
trunk/include/VBox/vmm/vm.h
r81153 r81162 1320 1320 struct IOM s; 1321 1321 #endif 1322 uint8_t padding[ 960];/* multiple of 64 */1322 uint8_t padding[1152]; /* multiple of 64 */ 1323 1323 } iom; 1324 1324 … … 1432 1432 1433 1433 /** Padding for aligning the structure size on a page boundrary. */ 1434 uint8_t abAlignment2[2 968+ 256 - sizeof(PVMCPUR3) * VMM_MAX_CPU_COUNT];1434 uint8_t abAlignment2[2776 + 256 - sizeof(PVMCPUR3) * VMM_MAX_CPU_COUNT]; 1435 1435 1436 1436 /* ---- end small stuff ---- */ -
trunk/include/VBox/vmm/vm.mac
r81153 r81162 127 127 .mm resb 192 128 128 .pdm resb 1920 129 .iom resb 960129 .iom resb 1152 130 130 .em resb 256 131 131 .nem resb 128 … … 138 138 .cfgm resb 8 139 139 140 .abAlignment2 resb 2 968+ 256 - RTR0PTR_CB * VMM_MAX_CPU_COUNT140 .abAlignment2 resb 2776 + 256 - RTR0PTR_CB * VMM_MAX_CPU_COUNT 141 141 142 142 alignb RTR0PTR_CB * VMM_MAX_CPU_COUNT ; ASSUMES VMM_MAX_CPU_COUNT is a power of two.
Note:
See TracChangeset
for help on using the changeset viewer.