Changeset 91849 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Oct 19, 2021 11:24:00 PM (3 years ago)
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllHandler.cpp
r91848 r91849 555 555 static void pgmHandlerPhysicalDeregisterNotifyNEM(PVMCC pVM, PPGMPHYSHANDLER pCur) 556 556 { 557 #ifdef VBOX_WITH_NATIVE_NEM 557 558 PPGMPHYSHANDLERTYPEINT pCurType = PGMPHYSHANDLER_GET_TYPE(pVM, pCur); 558 559 RTGCPHYS GCPhysStart = pCur->Core.Key; … … 616 617 if (u2State != UINT8_MAX && pRam) 617 618 pgmPhysSetNemStateForPages(&pRam->aPages[(GCPhysStart - pRam->GCPhys) >> PAGE_SHIFT], cb >> PAGE_SHIFT, u2State); 619 #else 620 RT_NOREF(pVM, pCur); 621 #endif 618 622 } 619 623 … … 703 707 || PGM_PAGE_GET_TYPE(pPage) == PGMPAGETYPE_SPECIAL_ALIAS_MMIO); 704 708 Assert(PGM_PAGE_GET_HNDL_PHYS_STATE(pPage) == PGM_PAGE_HNDL_PHYS_STATE_DISABLED); 709 #ifdef VBOX_WITH_NATIVE_NEM 705 710 RTHCPHYS const HCPhysPrev = PGM_PAGE_GET_HCPHYS(pPage); 711 #endif 706 712 707 713 /* … … 752 758 PGM_PAGE_SET_NEM_STATE(pPage, u2State); 753 759 } 760 #else 761 RT_NOREF(pRam); 754 762 #endif 755 763 } -
trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp
r91848 r91849 1089 1089 PGM_PAGE_SET_NEM_STATE(pPage, u2State); 1090 1090 } 1091 #else 1092 RT_NOREF(GCPhys); 1091 1093 #endif 1092 1094 }
Note:
See TracChangeset
for help on using the changeset viewer.