Changeset 107178 in vbox for trunk/src/VBox/VMM/testcase/tstVMStructSize.cpp
- Timestamp:
- Nov 29, 2024 7:51:29 AM (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/testcase/tstVMStructSize.cpp
r106920 r107178 425 425 CHECK_EXPR(PGM_PAGE_GET_HCPHYS_NA(&Page) == 0); 426 426 PGM_PAGE_SET_HCPHYS(NULL, &Page, UINT64_C(0x0000fffeff1ff000)); 427 #ifndef VBOX_WITH_ONLY_PGM_NEM_MODE 427 428 CHECK_EXPR(PGM_PAGE_GET_HCPHYS_NA(&Page) == UINT64_C(0x0000fffeff1ff000)); 429 #else 430 CHECK_EXPR(PGM_PAGE_GET_HCPHYS_NA(&Page) == 0); 431 #endif 428 432 PGM_PAGE_SET_HCPHYS(NULL, &Page, UINT64_C(0x0000000000001000)); 433 #ifndef VBOX_WITH_ONLY_PGM_NEM_MODE 429 434 CHECK_EXPR(PGM_PAGE_GET_HCPHYS_NA(&Page) == UINT64_C(0x0000000000001000)); 435 #else 436 CHECK_EXPR(PGM_PAGE_GET_HCPHYS_NA(&Page) == 0); 437 #endif 430 438 431 439 PGM_PAGE_INIT(&Page, UINT64_C(0x0000feedfacef000), UINT32_C(0x12345678), PGMPAGETYPE_RAM, PGM_PAGE_STATE_ALLOCATED); 440 #ifndef VBOX_WITH_ONLY_PGM_NEM_MODE 432 441 CHECK_EXPR(PGM_PAGE_GET_HCPHYS_NA(&Page) == UINT64_C(0x0000feedfacef000)); 442 #else 443 CHECK_EXPR(PGM_PAGE_GET_HCPHYS_NA(&Page) == 0); 444 #endif 433 445 CHECK_EXPR(PGM_PAGE_GET_PAGEID(&Page) == UINT32_C(0x12345678)); 434 446 CHECK_EXPR(PGM_PAGE_GET_TYPE_NA(&Page) == PGMPAGETYPE_RAM);
Note:
See TracChangeset
for help on using the changeset viewer.