VirtualBox

Ignore:
Timestamp:
Nov 29, 2024 7:51:29 AM (7 weeks ago)
Author:
vboxsync
Message:

tstVMStructSize: Fixed regression from r166169. jiraref:VBP-1466

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstVMStructSize.cpp

    r106920 r107178  
    425425    CHECK_EXPR(PGM_PAGE_GET_HCPHYS_NA(&Page) == 0);
    426426    PGM_PAGE_SET_HCPHYS(NULL, &Page, UINT64_C(0x0000fffeff1ff000));
     427#ifndef VBOX_WITH_ONLY_PGM_NEM_MODE
    427428    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
    428432    PGM_PAGE_SET_HCPHYS(NULL, &Page, UINT64_C(0x0000000000001000));
     433#ifndef VBOX_WITH_ONLY_PGM_NEM_MODE
    429434    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
    430438
    431439    PGM_PAGE_INIT(&Page, UINT64_C(0x0000feedfacef000), UINT32_C(0x12345678), PGMPAGETYPE_RAM, PGM_PAGE_STATE_ALLOCATED);
     440#ifndef VBOX_WITH_ONLY_PGM_NEM_MODE
    432441    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
    433445    CHECK_EXPR(PGM_PAGE_GET_PAGEID(&Page) == UINT32_C(0x12345678));
    434446    CHECK_EXPR(PGM_PAGE_GET_TYPE_NA(&Page)   == PGMPAGETYPE_RAM);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette