Changeset 93593 in vbox for trunk/include/VBox/vmm/vm.h
- Timestamp:
- Feb 3, 2022 9:05:05 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/vm.h
r93115 r93593 316 316 uint8_t padding[40960]; /* multiple of 4096 */ 317 317 } em; 318 319 /** Align the structure size on 16384 boundrary for arm64 purposes. */ 320 uint8_t abStructPadding[4096]; 318 321 } VMCPU; 319 322 320 323 321 324 #ifndef VBOX_FOR_DTRACE_LIB 322 AssertCompileSizeAlignment(VMCPU, 4096);325 AssertCompileSizeAlignment(VMCPU, 16384); 323 326 324 327 /** @name Operations on VMCPU::enmState … … 1256 1259 /** @todo this is rather bloated because of static MSR range allocation. 1257 1260 * Probably a good idea to move it to a separate R0 allocation... */ 1258 uint8_t padding[8832 + 128*8192 ];/* multiple of 64 */1261 uint8_t padding[8832 + 128*8192 + 0x1d00]; /* multiple of 64 */ 1259 1262 } cpum; 1263 1264 /** PGM part. 1265 * @note 16384 aligned for zero and mmio page storage. */ 1266 union 1267 { 1268 #ifdef VMM_INCLUDED_SRC_include_PGMInternal_h 1269 struct PGM s; 1270 #endif 1271 uint8_t padding[53888]; /* multiple of 64 */ 1272 } pgm; 1260 1273 1261 1274 /** VMM part. */ … … 1267 1280 uint8_t padding[1600]; /* multiple of 64 */ 1268 1281 } vmm; 1269 1270 /** PGM part. */1271 union1272 {1273 #ifdef VMM_INCLUDED_SRC_include_PGMInternal_h1274 struct PGM s;1275 #endif1276 uint8_t padding[21120]; /* multiple of 64 */1277 } pgm;1278 1282 1279 1283 /** HM part. */ … … 1454 1458 1455 1459 /** Padding for aligning the structure size on a page boundrary. */ 1456 uint8_t abAlignment2[ 1752- sizeof(PVMCPUR3) * VMM_MAX_CPU_COUNT];1460 uint8_t abAlignment2[6616 - sizeof(PVMCPUR3) * VMM_MAX_CPU_COUNT]; 1457 1461 1458 1462 /* ---- end small stuff ---- */ … … 1460 1464 /** Array of VMCPU ring-3 pointers. */ 1461 1465 PVMCPUR3 apCpusR3[VMM_MAX_CPU_COUNT]; 1466 1467 /* This point is aligned on a 16384 boundrary (for arm64 purposes). */ 1462 1468 } VM; 1469 #ifndef VBOX_FOR_DTRACE_LIB 1470 AssertCompileSizeAlignment(VM, 16384); 1471 #endif 1463 1472 1464 1473
Note:
See TracChangeset
for help on using the changeset viewer.