- Timestamp:
- Mar 25, 2025 6:37:43 AM (3 weeks ago)
- svn:sync-xref-src-repo-rev:
- 168151
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PGMPhys.cpp
r108708 r108728 4848 4848 for (uint32_t iPage = 0; iPage < cGuestPages; iPage++, pRamPage++, pRomPage++) 4849 4849 { 4850 # ifdef VBOX_WITH_ONLY_PGM_NEM_MODE /* gcc will complain that the first part of the assertion is always false otherwise */ 4851 Assert(PGM_PAGE_GET_HCPHYS(pRamPage) == 0); 4852 # else 4850 4853 Assert(PGM_PAGE_GET_HCPHYS(pRamPage) == UINT64_C(0x0000fffffffff000) || PGM_PAGE_GET_HCPHYS(pRamPage) == 0); 4854 # endif 4851 4855 Assert(PGM_PAGE_GET_PAGEID(pRamPage) == NIL_GMM_PAGEID); 4852 4856 Assert(PGM_PAGE_GET_STATE(pRamPage) == PGM_PAGE_STATE_ALLOCATED); … … 5034 5038 for (uint32_t iPage = 0; iPage < cGuestPages; iPage++, pRamPage++, pRomPage++) 5035 5039 { 5040 # ifdef VBOX_WITH_ONLY_PGM_NEM_MODE /* gcc will complain that the first part of the assertion is always false otherwise */ 5041 Assert(PGM_PAGE_GET_HCPHYS(pRamPage) == 0); 5042 # else 5036 5043 Assert(PGM_PAGE_GET_HCPHYS(pRamPage) == UINT64_C(0x0000fffffffff000) || PGM_PAGE_GET_HCPHYS(pRamPage) == 0); 5044 # endif 5037 5045 Assert(PGM_PAGE_GET_PAGEID(pRamPage) == NIL_GMM_PAGEID); 5038 5046 Assert(PGM_PAGE_GET_STATE(pRamPage) == PGM_PAGE_STATE_ALLOCATED);
Note:
See TracChangeset
for help on using the changeset viewer.