Changeset 72272 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 21, 2018 12:48:49 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/NEMAll.cpp
r71152 r72272 39 39 VMM_INT_DECL(void) NEMHCNotifyHandlerPhysicalRegister(PVM pVM, PGMPHYSHANDLERKIND enmKind, RTGCPHYS GCPhys, RTGCPHYS cb) 40 40 { 41 #if defined(VBOX_WITH_NATIVE_NEM) && defined(IN_RING3)41 #ifdef VBOX_WITH_NATIVE_NEM 42 42 if (VM_IS_NEM_ENABLED(pVM)) 43 43 nemHCNativeNotifyHandlerPhysicalRegister(pVM, enmKind, GCPhys, cb); … … 51 51 int fRestoreAsRAM, bool fRestoreAsRAM2) 52 52 { 53 #if defined(VBOX_WITH_NATIVE_NEM) && defined(IN_RING3)53 #ifdef VBOX_WITH_NATIVE_NEM 54 54 if (VM_IS_NEM_ENABLED(pVM)) 55 55 nemHCNativeNotifyHandlerPhysicalDeregister(pVM, enmKind, GCPhys, cb, fRestoreAsRAM, fRestoreAsRAM2); … … 63 63 RTGCPHYS GCPhysNew, RTGCPHYS cb, bool fRestoreAsRAM) 64 64 { 65 #if defined(VBOX_WITH_NATIVE_NEM) && defined(IN_RING3)65 #ifdef VBOX_WITH_NATIVE_NEM 66 66 if (VM_IS_NEM_ENABLED(pVM)) 67 67 nemHCNativeNotifyHandlerPhysicalModify(pVM, enmKind, GCPhysOld, GCPhysNew, cb, fRestoreAsRAM); … … 76 76 { 77 77 Assert(VM_IS_NEM_ENABLED(pVM)); 78 #if defined(VBOX_WITH_NATIVE_NEM) && defined(IN_RING3)78 #ifdef VBOX_WITH_NATIVE_NEM 79 79 return nemHCNativeNotifyPhysPageAllocated(pVM, GCPhys, HCPhys, fPageProt, enmType, pu2State); 80 80 #else … … 89 89 { 90 90 Assert(VM_IS_NEM_ENABLED(pVM)); 91 #if defined(VBOX_WITH_NATIVE_NEM)91 #ifdef VBOX_WITH_NATIVE_NEM 92 92 nemHCNativeNotifyPhysPageProtChanged(pVM, GCPhys, HCPhys, fPageProt, enmType, pu2State); 93 93 #else … … 101 101 { 102 102 Assert(VM_IS_NEM_ENABLED(pVM)); 103 #if defined(VBOX_WITH_NATIVE_NEM)103 #ifdef VBOX_WITH_NATIVE_NEM 104 104 nemHCNativeNotifyPhysPageChanged(pVM, GCPhys, HCPhysPrev, HCPhysNew, fPageProt, enmType, pu2State); 105 105 #else
Note:
See TracChangeset
for help on using the changeset viewer.