Changeset 80239 in vbox for trunk/src/VBox/VMM/VMMAll/NEMAll.cpp
- Timestamp:
- Aug 12, 2019 10:57:57 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 132689
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/NEMAll.cpp
r76553 r80239 23 23 #include <VBox/vmm/nem.h> 24 24 #include "NEMInternal.h" 25 #include <VBox/vmm/vm .h>25 #include <VBox/vmm/vmcc.h> 26 26 #include <VBox/err.h> 27 27 … … 36 36 * @sa VMR3IsLongModeAllowed, HMIsLongModeAllowed 37 37 */ 38 VMM_INT_DECL(bool) NEMHCIsLongModeAllowed(PVM pVM)38 VMM_INT_DECL(bool) NEMHCIsLongModeAllowed(PVMCC pVM) 39 39 { 40 40 return pVM->nem.s.fAllow64BitGuests && VM_IS_NEM_ENABLED(pVM); … … 52 52 * @note Called while holding down the PGM lock. 53 53 */ 54 VMM_INT_DECL(void) NEMHCNotifyHandlerPhysicalRegister(PVM pVM, PGMPHYSHANDLERKIND enmKind, RTGCPHYS GCPhys, RTGCPHYS cb)54 VMM_INT_DECL(void) NEMHCNotifyHandlerPhysicalRegister(PVMCC pVM, PGMPHYSHANDLERKIND enmKind, RTGCPHYS GCPhys, RTGCPHYS cb) 55 55 { 56 56 #ifdef VBOX_WITH_NATIVE_NEM … … 63 63 64 64 65 VMM_INT_DECL(void) NEMHCNotifyHandlerPhysicalDeregister(PVM pVM, PGMPHYSHANDLERKIND enmKind, RTGCPHYS GCPhys, RTGCPHYS cb,65 VMM_INT_DECL(void) NEMHCNotifyHandlerPhysicalDeregister(PVMCC pVM, PGMPHYSHANDLERKIND enmKind, RTGCPHYS GCPhys, RTGCPHYS cb, 66 66 int fRestoreAsRAM, bool fRestoreAsRAM2) 67 67 { … … 75 75 76 76 77 VMM_INT_DECL(void) NEMHCNotifyHandlerPhysicalModify(PVM pVM, PGMPHYSHANDLERKIND enmKind, RTGCPHYS GCPhysOld,77 VMM_INT_DECL(void) NEMHCNotifyHandlerPhysicalModify(PVMCC pVM, PGMPHYSHANDLERKIND enmKind, RTGCPHYS GCPhysOld, 78 78 RTGCPHYS GCPhysNew, RTGCPHYS cb, bool fRestoreAsRAM) 79 79 { … … 87 87 88 88 89 VMM_INT_DECL(int) NEMHCNotifyPhysPageAllocated(PVM pVM, RTGCPHYS GCPhys, RTHCPHYS HCPhys, uint32_t fPageProt,89 VMM_INT_DECL(int) NEMHCNotifyPhysPageAllocated(PVMCC pVM, RTGCPHYS GCPhys, RTHCPHYS HCPhys, uint32_t fPageProt, 90 90 PGMPAGETYPE enmType, uint8_t *pu2State) 91 91 { … … 100 100 101 101 102 VMM_INT_DECL(void) NEMHCNotifyPhysPageProtChanged(PVM pVM, RTGCPHYS GCPhys, RTHCPHYS HCPhys, uint32_t fPageProt,102 VMM_INT_DECL(void) NEMHCNotifyPhysPageProtChanged(PVMCC pVM, RTGCPHYS GCPhys, RTHCPHYS HCPhys, uint32_t fPageProt, 103 103 PGMPAGETYPE enmType, uint8_t *pu2State) 104 104 { … … 112 112 113 113 114 VMM_INT_DECL(void) NEMHCNotifyPhysPageChanged(PVM pVM, RTGCPHYS GCPhys, RTHCPHYS HCPhysPrev, RTHCPHYS HCPhysNew,114 VMM_INT_DECL(void) NEMHCNotifyPhysPageChanged(PVMCC pVM, RTGCPHYS GCPhys, RTHCPHYS HCPhysPrev, RTHCPHYS HCPhysNew, 115 115 uint32_t fPageProt, PGMPAGETYPE enmType, uint8_t *pu2State) 116 116 { … … 125 125 126 126 #ifndef VBOX_WITH_NATIVE_NEM 127 VMM_INT_DECL(int) NEMImportStateOnDemand(PVMCPU pVCpu, uint64_t fWhat)127 VMM_INT_DECL(int) NEMImportStateOnDemand(PVMCPUCC pVCpu, uint64_t fWhat) 128 128 { 129 129 RT_NOREF(pVCpu, fWhat); … … 134 134 135 135 #ifndef VBOX_WITH_NATIVE_NEM 136 VMM_INT_DECL(int) NEMHCQueryCpuTick(PVMCPU pVCpu, uint64_t *pcTicks, uint32_t *puAux)136 VMM_INT_DECL(int) NEMHCQueryCpuTick(PVMCPUCC pVCpu, uint64_t *pcTicks, uint32_t *puAux) 137 137 { 138 138 RT_NOREF(pVCpu, pcTicks, puAux); … … 144 144 145 145 #ifndef VBOX_WITH_NATIVE_NEM 146 VMM_INT_DECL(int) NEMHCResumeCpuTickOnAll(PVM pVM, PVMCPU pVCpu, uint64_t uPausedTscValue)146 VMM_INT_DECL(int) NEMHCResumeCpuTickOnAll(PVM pVM, PVMCPUCC pVCpu, uint64_t uPausedTscValue) 147 147 { 148 148 RT_NOREF(pVM, pVCpu, uPausedTscValue);
Note:
See TracChangeset
for help on using the changeset viewer.