Changeset 12989 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Oct 6, 2008 2:15:39 AM (16 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/CPUMR0.cpp
r12657 r12989 45 45 * @param pVM The VM to operate on. 46 46 */ 47 CPUMR0DECL(int) CPUMR0Init(PVM pVM)47 VMMR0DECL(int) CPUMR0Init(PVM pVM) 48 48 { 49 49 LogFlow(("CPUMR0Init: %p\n", pVM)); … … 116 116 * @param pCtx CPU context 117 117 */ 118 CPUMR0DECL(int) CPUMR0LoadGuestFPU(PVM pVM, PCPUMCTX pCtx)118 VMMR0DECL(int) CPUMR0LoadGuestFPU(PVM pVM, PCPUMCTX pCtx) 119 119 { 120 120 Assert(pVM->cpum.s.CPUFeatures.edx.u1FXSR); … … 236 236 * @param pCtx CPU context 237 237 */ 238 CPUMR0DECL(int) CPUMR0SaveGuestFPU(PVM pVM, PCPUMCTX pCtx)238 VMMR0DECL(int) CPUMR0SaveGuestFPU(PVM pVM, PCPUMCTX pCtx) 239 239 { 240 240 Assert(pVM->cpum.s.CPUFeatures.edx.u1FXSR); … … 287 287 * @param fDR6 Include DR6 or not 288 288 */ 289 CPUMR0DECL(int) CPUMR0SaveGuestDebugState(PVM pVM, PCPUMCTX pCtx, bool fDR6)289 VMMR0DECL(int) CPUMR0SaveGuestDebugState(PVM pVM, PCPUMCTX pCtx, bool fDR6) 290 290 { 291 291 Assert(pVM->cpum.s.fUseFlags & CPUM_USE_DEBUG_REGS); … … 323 323 * @param fDR6 Include DR6 or not 324 324 */ 325 CPUMR0DECL(int) CPUMR0LoadGuestDebugState(PVM pVM, PCPUMCTX pCtx, bool fDR6)325 VMMR0DECL(int) CPUMR0LoadGuestDebugState(PVM pVM, PCPUMCTX pCtx, bool fDR6) 326 326 { 327 327 /* Save the host state. */ -
trunk/src/VBox/VMM/VMMR0/DBGFR0.cpp
r12663 r12989 47 47 * @param uDr6 The DR6 register value. 48 48 */ 49 DBGFR0DECL(int) DBGFR0Trap01Handler(PVM pVM, PCPUMCTXCORE pRegFrame, RTGCUINTREG uDr6)49 VMMR0DECL(int) DBGFR0Trap01Handler(PVM pVM, PCPUMCTXCORE pRegFrame, RTGCUINTREG uDr6) 50 50 { 51 51 /** @todo Intel docs say that X86_DR6_BS has the highest priority... */ … … 105 105 * @param pRegFrame Pointer to the register frame for the trap. 106 106 */ 107 DBGFR0DECL(int) DBGFR0Trap03Handler(PVM pVM, PCPUMCTXCORE pRegFrame)107 VMMR0DECL(int) DBGFR0Trap03Handler(PVM pVM, PCPUMCTXCORE pRegFrame) 108 108 { 109 109 /* -
trunk/src/VBox/VMM/VMMR0/HWACCMR0.cpp
r12892 r12989 136 136 * @returns VBox status code. 137 137 */ 138 HWACCMR0DECL(int) HWACCMR0Init(void)138 VMMR0DECL(int) HWACCMR0Init(void) 139 139 { 140 140 int rc; … … 415 415 * @returns VBox status code. 416 416 */ 417 HWACCMR0DECL(int) HWACCMR0Term(void)417 VMMR0DECL(int) HWACCMR0Term(void) 418 418 { 419 419 int aRc[RTCPUSET_MAX_CPUS]; … … 512 512 * 513 513 */ 514 HWACCMR0DECL(int) HWACCMR0EnableAllCpus(PVM pVM, HWACCMSTATE enmNewHwAccmState)514 VMMR0DECL(int) HWACCMR0EnableAllCpus(PVM pVM, HWACCMSTATE enmNewHwAccmState) 515 515 { 516 516 Assert(sizeof(HWACCMR0Globals.enmHwAccmState) == sizeof(uint32_t)); … … 649 649 * @param pVM The VM to operate on. 650 650 */ 651 HWACCMR0DECL(int) HWACCMR0InitVM(PVM pVM)651 VMMR0DECL(int) HWACCMR0InitVM(PVM pVM) 652 652 { 653 653 AssertReturn(pVM, VERR_INVALID_PARAMETER); … … 696 696 * @param pVM The VM to operate on. 697 697 */ 698 HWACCMR0DECL(int) HWACCMR0TermVM(PVM pVM)698 VMMR0DECL(int) HWACCMR0TermVM(PVM pVM) 699 699 { 700 700 AssertReturn(pVM, VERR_INVALID_PARAMETER); … … 715 715 * @param pVM The VM to operate on. 716 716 */ 717 HWACCMR0DECL(int) HWACCMR0SetupVM(PVM pVM)717 VMMR0DECL(int) HWACCMR0SetupVM(PVM pVM) 718 718 { 719 719 AssertReturn(pVM, VERR_INVALID_PARAMETER); … … 734 734 * @param pVM The VM to operate on. 735 735 */ 736 HWACCMR0DECL(int) HWACCMR0Enter(PVM pVM)736 VMMR0DECL(int) HWACCMR0Enter(PVM pVM) 737 737 { 738 738 CPUMCTX *pCtx; … … 785 785 * @param pVM The VM to operate on. 786 786 */ 787 HWACCMR0DECL(int) HWACCMR0Leave(PVM pVM)787 VMMR0DECL(int) HWACCMR0Leave(PVM pVM) 788 788 { 789 789 CPUMCTX *pCtx; … … 825 825 * @param pVM The VM to operate on. 826 826 */ 827 HWACCMR0DECL(int) HWACCMR0RunGuestCode(PVM pVM)827 VMMR0DECL(int) HWACCMR0RunGuestCode(PVM pVM) 828 828 { 829 829 CPUMCTX *pCtx; … … 848 848 * @param pVM The VM to operate on. 849 849 */ 850 HWACCMR0DECL(PHWACCM_CPUINFO) HWACCMR0GetCurrentCpu()850 VMMR0DECL(PHWACCM_CPUINFO) HWACCMR0GetCurrentCpu() 851 851 { 852 852 RTCPUID idCpu = RTMpCpuId(); … … 864 864 * @param pszMsg Message to prepend the log entry with. 865 865 */ 866 HWACCMR0DECL(void) HWACCMR0DumpDescriptor(PX86DESCHC pDesc, RTSEL Sel, const char *pszMsg)866 VMMR0DECL(void) HWACCMR0DumpDescriptor(PX86DESCHC pDesc, RTSEL Sel, const char *pszMsg) 867 867 { 868 868 /* … … 985 985 * @param pCtx The context to format. 986 986 */ 987 HWACCMR0DECL(void) HWACCMDumpRegs(PVM pVM, PCPUMCTX pCtx)987 VMMR0DECL(void) HWACCMDumpRegs(PVM pVM, PCPUMCTX pCtx) 988 988 { 989 989 /* … … 1127 1127 1128 1128 /* Dummy callback handlers. */ 1129 HWACCMR0DECL(int) HWACCMR0DummyEnter(PVM pVM, PHWACCM_CPUINFO pCpu)1129 VMMR0DECL(int) HWACCMR0DummyEnter(PVM pVM, PHWACCM_CPUINFO pCpu) 1130 1130 { 1131 1131 return VINF_SUCCESS; 1132 1132 } 1133 1133 1134 HWACCMR0DECL(int) HWACCMR0DummyLeave(PVM pVM, PCPUMCTX pCtx)1134 VMMR0DECL(int) HWACCMR0DummyLeave(PVM pVM, PCPUMCTX pCtx) 1135 1135 { 1136 1136 return VINF_SUCCESS; 1137 1137 } 1138 1138 1139 HWACCMR0DECL(int) HWACCMR0DummyEnableCpu(PHWACCM_CPUINFO pCpu, PVM pVM, void *pvPageCpu, RTHCPHYS pPageCpuPhys)1139 VMMR0DECL(int) HWACCMR0DummyEnableCpu(PHWACCM_CPUINFO pCpu, PVM pVM, void *pvPageCpu, RTHCPHYS pPageCpuPhys) 1140 1140 { 1141 1141 return VINF_SUCCESS; 1142 1142 } 1143 1143 1144 HWACCMR0DECL(int) HWACCMR0DummyDisableCpu(PHWACCM_CPUINFO pCpu, void *pvPageCpu, RTHCPHYS pPageCpuPhys)1144 VMMR0DECL(int) HWACCMR0DummyDisableCpu(PHWACCM_CPUINFO pCpu, void *pvPageCpu, RTHCPHYS pPageCpuPhys) 1145 1145 { 1146 1146 return VINF_SUCCESS; 1147 1147 } 1148 1148 1149 HWACCMR0DECL(int) HWACCMR0DummyInitVM(PVM pVM)1149 VMMR0DECL(int) HWACCMR0DummyInitVM(PVM pVM) 1150 1150 { 1151 1151 return VINF_SUCCESS; 1152 1152 } 1153 1153 1154 HWACCMR0DECL(int) HWACCMR0DummyTermVM(PVM pVM)1154 VMMR0DECL(int) HWACCMR0DummyTermVM(PVM pVM) 1155 1155 { 1156 1156 return VINF_SUCCESS; 1157 1157 } 1158 1158 1159 HWACCMR0DECL(int) HWACCMR0DummySetupVM(PVM pVM)1159 VMMR0DECL(int) HWACCMR0DummySetupVM(PVM pVM) 1160 1160 { 1161 1161 return VINF_SUCCESS; 1162 1162 } 1163 1163 1164 HWACCMR0DECL(int) HWACCMR0DummyRunGuestCode(PVM pVM, CPUMCTX *pCtx)1164 VMMR0DECL(int) HWACCMR0DummyRunGuestCode(PVM pVM, CPUMCTX *pCtx) 1165 1165 { 1166 1166 return VINF_SUCCESS; 1167 1167 } 1168 1168 1169 HWACCMR0DECL(int) HWACCMR0DummySaveHostState(PVM pVM)1169 VMMR0DECL(int) HWACCMR0DummySaveHostState(PVM pVM) 1170 1170 { 1171 1171 return VINF_SUCCESS; 1172 1172 } 1173 1173 1174 HWACCMR0DECL(int) HWACCMR0DummyLoadGuestState(PVM pVM, CPUMCTX *pCtx)1174 VMMR0DECL(int) HWACCMR0DummyLoadGuestState(PVM pVM, CPUMCTX *pCtx) 1175 1175 { 1176 1176 return VINF_SUCCESS; -
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r12795 r12989 66 66 * @param pPageCpuPhys Physical address of the global cpu page 67 67 */ 68 HWACCMR0DECL(int) SVMR0EnableCpu(PHWACCM_CPUINFO pCpu, PVM pVM, void *pvPageCpu, RTHCPHYS pPageCpuPhys)68 VMMR0DECL(int) SVMR0EnableCpu(PHWACCM_CPUINFO pCpu, PVM pVM, void *pvPageCpu, RTHCPHYS pPageCpuPhys) 69 69 { 70 70 AssertReturn(pPageCpuPhys, VERR_INVALID_PARAMETER); … … 99 99 * @param pPageCpuPhys Physical address of the global cpu page 100 100 */ 101 HWACCMR0DECL(int) SVMR0DisableCpu(PHWACCM_CPUINFO pCpu, void *pvPageCpu, RTHCPHYS pPageCpuPhys)101 VMMR0DECL(int) SVMR0DisableCpu(PHWACCM_CPUINFO pCpu, void *pvPageCpu, RTHCPHYS pPageCpuPhys) 102 102 { 103 103 AssertReturn(pPageCpuPhys, VERR_INVALID_PARAMETER); … … 125 125 * @param pVM The VM to operate on. 126 126 */ 127 HWACCMR0DECL(int) SVMR0InitVM(PVM pVM)127 VMMR0DECL(int) SVMR0InitVM(PVM pVM) 128 128 { 129 129 int rc; … … 218 218 * @param pVM The VM to operate on. 219 219 */ 220 HWACCMR0DECL(int) SVMR0TermVM(PVM pVM)220 VMMR0DECL(int) SVMR0TermVM(PVM pVM) 221 221 { 222 222 if (pVM->hwaccm.s.svm.pMemObjVMCB != NIL_RTR0MEMOBJ) … … 257 257 * @param pVM The VM to operate on. 258 258 */ 259 HWACCMR0DECL(int) SVMR0SetupVM(PVM pVM)259 VMMR0DECL(int) SVMR0SetupVM(PVM pVM) 260 260 { 261 261 int rc = VINF_SUCCESS; … … 525 525 * @param pVM The VM to operate on. 526 526 */ 527 HWACCMR0DECL(int) SVMR0SaveHostState(PVM pVM)527 VMMR0DECL(int) SVMR0SaveHostState(PVM pVM) 528 528 { 529 529 /* Nothing to do here. */ … … 540 540 * @param pCtx Guest context 541 541 */ 542 HWACCMR0DECL(int) SVMR0LoadGuestState(PVM pVM, CPUMCTX *pCtx)542 VMMR0DECL(int) SVMR0LoadGuestState(PVM pVM, CPUMCTX *pCtx) 543 543 { 544 544 RTGCUINTPTR val; … … 799 799 * @param pCtx Guest context 800 800 */ 801 HWACCMR0DECL(int) SVMR0RunGuestCode(PVM pVM, CPUMCTX *pCtx)801 VMMR0DECL(int) SVMR0RunGuestCode(PVM pVM, CPUMCTX *pCtx) 802 802 { 803 803 int rc = VINF_SUCCESS; … … 2055 2055 * @param pCpu CPU info struct 2056 2056 */ 2057 HWACCMR0DECL(int) SVMR0Enter(PVM pVM, PHWACCM_CPUINFO pCpu)2057 VMMR0DECL(int) SVMR0Enter(PVM pVM, PHWACCM_CPUINFO pCpu) 2058 2058 { 2059 2059 Assert(pVM->hwaccm.s.svm.fSupported); … … 2076 2076 * @param pCtx CPU context 2077 2077 */ 2078 HWACCMR0DECL(int) SVMR0Leave(PVM pVM, PCPUMCTX pCtx)2078 VMMR0DECL(int) SVMR0Leave(PVM pVM, PCPUMCTX pCtx) 2079 2079 { 2080 2080 SVM_VMCB *pVMCB = (SVM_VMCB *)pVM->hwaccm.s.svm.pVMCB; … … 2193 2193 * @param GCVirt Page to invalidate 2194 2194 */ 2195 HWACCMR0DECL(int) SVMR0InvalidatePage(PVM pVM, RTGCPTR GCVirt)2195 VMMR0DECL(int) SVMR0InvalidatePage(PVM pVM, RTGCPTR GCVirt) 2196 2196 { 2197 2197 bool fFlushPending = pVM->hwaccm.s.svm.fAlwaysFlushTLB | pVM->hwaccm.s.svm.fForceTLBFlush; … … 2225 2225 * @param GCPhys Page to invalidate 2226 2226 */ 2227 HWACCMR0DECL(int) SVMR0InvalidatePhysPage(PVM pVM, RTGCPHYS GCPhys)2227 VMMR0DECL(int) SVMR0InvalidatePhysPage(PVM pVM, RTGCPHYS GCPhys) 2228 2228 { 2229 2229 bool fFlushPending = pVM->hwaccm.s.svm.fAlwaysFlushTLB | pVM->hwaccm.s.svm.fForceTLBFlush; -
trunk/src/VBox/VMM/VMMR0/HWSVMR0.h
r12756 r12989 49 49 * @param pCpu CPU info struct 50 50 */ 51 HWACCMR0DECL(int) SVMR0Enter(PVM pVM, PHWACCM_CPUINFO pCpu);51 VMMR0DECL(int) SVMR0Enter(PVM pVM, PHWACCM_CPUINFO pCpu); 52 52 53 53 /** … … 58 58 * @param pCtx CPU context 59 59 */ 60 HWACCMR0DECL(int) SVMR0Leave(PVM pVM, PCPUMCTX pCtx);60 VMMR0DECL(int) SVMR0Leave(PVM pVM, PCPUMCTX pCtx); 61 61 62 62 /** … … 69 69 * @param pPageCpuPhys Physical address of the global cpu page 70 70 */ 71 HWACCMR0DECL(int) SVMR0EnableCpu(PHWACCM_CPUINFO pCpu, PVM pVM, void *pvPageCpu, RTHCPHYS pPageCpuPhys);71 VMMR0DECL(int) SVMR0EnableCpu(PHWACCM_CPUINFO pCpu, PVM pVM, void *pvPageCpu, RTHCPHYS pPageCpuPhys); 72 72 73 73 /** … … 79 79 * @param pPageCpuPhys Physical address of the global cpu page 80 80 */ 81 HWACCMR0DECL(int) SVMR0DisableCpu(PHWACCM_CPUINFO pCpu, void *pvPageCpu, RTHCPHYS pPageCpuPhys);81 VMMR0DECL(int) SVMR0DisableCpu(PHWACCM_CPUINFO pCpu, void *pvPageCpu, RTHCPHYS pPageCpuPhys); 82 82 83 83 /** … … 87 87 * @param pVM The VM to operate on. 88 88 */ 89 HWACCMR0DECL(int) SVMR0InitVM(PVM pVM);89 VMMR0DECL(int) SVMR0InitVM(PVM pVM); 90 90 91 91 /** … … 95 95 * @param pVM The VM to operate on. 96 96 */ 97 HWACCMR0DECL(int) SVMR0TermVM(PVM pVM);97 VMMR0DECL(int) SVMR0TermVM(PVM pVM); 98 98 99 99 /** … … 103 103 * @param pVM The VM to operate on. 104 104 */ 105 HWACCMR0DECL(int) SVMR0SetupVM(PVM pVM);105 VMMR0DECL(int) SVMR0SetupVM(PVM pVM); 106 106 107 107 … … 113 113 * @param pCtx Guest context 114 114 */ 115 HWACCMR0DECL(int) SVMR0RunGuestCode(PVM pVM, CPUMCTX *pCtx);115 VMMR0DECL(int) SVMR0RunGuestCode(PVM pVM, CPUMCTX *pCtx); 116 116 117 117 … … 122 122 * @param pVM The VM to operate on. 123 123 */ 124 HWACCMR0DECL(int) SVMR0SaveHostState(PVM pVM);124 VMMR0DECL(int) SVMR0SaveHostState(PVM pVM); 125 125 126 126 /** … … 131 131 * @param pCtx Guest context 132 132 */ 133 HWACCMR0DECL(int) SVMR0LoadGuestState(PVM pVM, CPUMCTX *pCtx);133 VMMR0DECL(int) SVMR0LoadGuestState(PVM pVM, CPUMCTX *pCtx); 134 134 135 135 -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r12824 r12989 71 71 * @param pPageCpuPhys Physical address of the global cpu page 72 72 */ 73 HWACCMR0DECL(int) VMXR0EnableCpu(PHWACCM_CPUINFO pCpu, PVM pVM, void *pvPageCpu, RTHCPHYS pPageCpuPhys)73 VMMR0DECL(int) VMXR0EnableCpu(PHWACCM_CPUINFO pCpu, PVM pVM, void *pvPageCpu, RTHCPHYS pPageCpuPhys) 74 74 { 75 75 AssertReturn(pPageCpuPhys, VERR_INVALID_PARAMETER); … … 112 112 * @param pPageCpuPhys Physical address of the global cpu page 113 113 */ 114 HWACCMR0DECL(int) VMXR0DisableCpu(PHWACCM_CPUINFO pCpu, void *pvPageCpu, RTHCPHYS pPageCpuPhys)114 VMMR0DECL(int) VMXR0DisableCpu(PHWACCM_CPUINFO pCpu, void *pvPageCpu, RTHCPHYS pPageCpuPhys) 115 115 { 116 116 AssertReturn(pPageCpuPhys, VERR_INVALID_PARAMETER); … … 135 135 * @param pVM The VM to operate on. 136 136 */ 137 HWACCMR0DECL(int) VMXR0InitVM(PVM pVM)137 VMMR0DECL(int) VMXR0InitVM(PVM pVM) 138 138 { 139 139 int rc; … … 203 203 * @param pVM The VM to operate on. 204 204 */ 205 HWACCMR0DECL(int) VMXR0TermVM(PVM pVM)205 VMMR0DECL(int) VMXR0TermVM(PVM pVM) 206 206 { 207 207 if (pVM->hwaccm.s.vmx.pMemObjVMCS != NIL_RTR0MEMOBJ) … … 235 235 * @param pVM The VM to operate on. 236 236 */ 237 HWACCMR0DECL(int) VMXR0SetupVM(PVM pVM)237 VMMR0DECL(int) VMXR0SetupVM(PVM pVM) 238 238 { 239 239 int rc = VINF_SUCCESS; … … 476 476 if (CPUMIsGuestInRealModeEx(pCtx)) 477 477 { 478 /* Injecting events doesn't work right with real mode emulation. 478 /* Injecting events doesn't work right with real mode emulation. 479 479 * (#GP if we try to inject external hardware interrupts) 480 480 * Fake an 'int x' instruction. Note that we need to take special precautions when … … 637 637 * @param pVM The VM to operate on. 638 638 */ 639 HWACCMR0DECL(int) VMXR0SaveHostState(PVM pVM)639 VMMR0DECL(int) VMXR0SaveHostState(PVM pVM) 640 640 { 641 641 int rc = VINF_SUCCESS; … … 749 749 * @param pCtx Guest context 750 750 */ 751 HWACCMR0DECL(int) VMXR0LoadGuestState(PVM pVM, CPUMCTX *pCtx)751 VMMR0DECL(int) VMXR0LoadGuestState(PVM pVM, CPUMCTX *pCtx) 752 752 { 753 753 int rc = VINF_SUCCESS; … … 1230 1230 # endif /* HWACCM_VMX_EMULATE_REALMODE */ 1231 1231 rc = VMXWriteVMCS(VMX_VMCS_CTRL_EXCEPTION_BITMAP, pVM->hwaccm.s.vmx.u32TrapMask); 1232 AssertRC(rc); 1232 AssertRC(rc); 1233 1233 #endif 1234 1234 … … 1246 1246 * @param pCtx Guest context 1247 1247 */ 1248 HWACCMR0DECL(int) VMXR0RunGuestCode(PVM pVM, CPUMCTX *pCtx)1248 VMMR0DECL(int) VMXR0RunGuestCode(PVM pVM, CPUMCTX *pCtx) 1249 1249 { 1250 1250 int rc = VINF_SUCCESS; … … 2637 2637 * @param pCpu CPU info struct 2638 2638 */ 2639 HWACCMR0DECL(int) VMXR0Enter(PVM pVM, PHWACCM_CPUINFO pCpu)2639 VMMR0DECL(int) VMXR0Enter(PVM pVM, PHWACCM_CPUINFO pCpu) 2640 2640 { 2641 2641 Assert(pVM->hwaccm.s.vmx.fSupported); … … 2665 2665 * @param pCtx CPU context 2666 2666 */ 2667 HWACCMR0DECL(int) VMXR0Leave(PVM pVM, PCPUMCTX pCtx)2667 VMMR0DECL(int) VMXR0Leave(PVM pVM, PCPUMCTX pCtx) 2668 2668 { 2669 2669 Assert(pVM->hwaccm.s.vmx.fSupported); -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.h
r12826 r12989 49 49 * @param pCpu CPU info struct 50 50 */ 51 HWACCMR0DECL(int) VMXR0Enter(PVM pVMm, PHWACCM_CPUINFO pCpu);51 VMMR0DECL(int) VMXR0Enter(PVM pVMm, PHWACCM_CPUINFO pCpu); 52 52 53 53 /** … … 58 58 * @param pCtx CPU context 59 59 */ 60 HWACCMR0DECL(int) VMXR0Leave(PVM pVM, PCPUMCTX pCtx);60 VMMR0DECL(int) VMXR0Leave(PVM pVM, PCPUMCTX pCtx); 61 61 62 62 … … 70 70 * @param pPageCpuPhys Physical address of the global cpu page 71 71 */ 72 HWACCMR0DECL(int) VMXR0EnableCpu(PHWACCM_CPUINFO pCpu, PVM pVM, void *pvPageCpu, RTHCPHYS pPageCpuPhys);72 VMMR0DECL(int) VMXR0EnableCpu(PHWACCM_CPUINFO pCpu, PVM pVM, void *pvPageCpu, RTHCPHYS pPageCpuPhys); 73 73 74 74 /** … … 80 80 * @param pPageCpuPhys Physical address of the global cpu page 81 81 */ 82 HWACCMR0DECL(int) VMXR0DisableCpu(PHWACCM_CPUINFO pCpu, void *pvPageCpu, RTHCPHYS pPageCpuPhys);82 VMMR0DECL(int) VMXR0DisableCpu(PHWACCM_CPUINFO pCpu, void *pvPageCpu, RTHCPHYS pPageCpuPhys); 83 83 84 84 /** … … 88 88 * @param pVM The VM to operate on. 89 89 */ 90 HWACCMR0DECL(int) VMXR0InitVM(PVM pVM);90 VMMR0DECL(int) VMXR0InitVM(PVM pVM); 91 91 92 92 /** … … 96 96 * @param pVM The VM to operate on. 97 97 */ 98 HWACCMR0DECL(int) VMXR0TermVM(PVM pVM);98 VMMR0DECL(int) VMXR0TermVM(PVM pVM); 99 99 100 100 /** … … 104 104 * @param pVM The VM to operate on. 105 105 */ 106 HWACCMR0DECL(int) VMXR0SetupVM(PVM pVM);106 VMMR0DECL(int) VMXR0SetupVM(PVM pVM); 107 107 108 108 … … 113 113 * @param pVM The VM to operate on. 114 114 */ 115 HWACCMR0DECL(int) VMXR0SaveHostState(PVM pVM);115 VMMR0DECL(int) VMXR0SaveHostState(PVM pVM); 116 116 117 117 /** … … 122 122 * @param pCtx Guest context 123 123 */ 124 HWACCMR0DECL(int) VMXR0LoadGuestState(PVM pVM, CPUMCTX *pCtx);124 VMMR0DECL(int) VMXR0LoadGuestState(PVM pVM, CPUMCTX *pCtx); 125 125 126 126 … … 132 132 * @param pCtx Guest context 133 133 */ 134 HWACCMR0DECL(int) VMXR0RunGuestCode(PVM pVM, CPUMCTX *pCtx);134 VMMR0DECL(int) VMXR0RunGuestCode(PVM pVM, CPUMCTX *pCtx); 135 135 136 136 -
trunk/src/VBox/VMM/VMMR0/PGMR0.cpp
r10471 r12989 58 58 * @remarks Must be called from within the PGM critical section. 59 59 */ 60 PGMR0DECL(int) PGMR0PhysAllocateHandyPages(PVM pVM)60 VMMR0DECL(int) PGMR0PhysAllocateHandyPages(PVM pVM) 61 61 { 62 62 return VERR_NOT_IMPLEMENTED; … … 74 74 * @param pvFault The fault address. 75 75 */ 76 PGMR0DECL(int) PGMR0Trap0eHandlerNestedPaging(PVM pVM, PGMMODE enmShwPagingMode, RTGCUINT uErr, PCPUMCTXCORE pRegFrame, RTGCPHYS pvFault)76 VMMR0DECL(int) PGMR0Trap0eHandlerNestedPaging(PVM pVM, PGMMODE enmShwPagingMode, RTGCUINT uErr, PCPUMCTXCORE pRegFrame, RTGCPHYS pvFault) 77 77 { 78 78 int rc; … … 128 128 * Call the worker. 129 129 * 130 * We pretend the guest is in protected mode without paging, so we can use existing code to build the 130 * We pretend the guest is in protected mode without paging, so we can use existing code to build the 131 131 * nested page tables. 132 132 */ -
trunk/src/VBox/VMM/VMMR0/TRPMR0.cpp
r9412 r12989 40 40 * @remark Must be called with interrupts disabled. 41 41 */ 42 TRPMR0DECL(void) TRPMR0DispatchHostInterrupt(PVM pVM)42 VMMR0DECL(void) TRPMR0DispatchHostInterrupt(PVM pVM) 43 43 { 44 44 RTUINT uActiveVector = pVM->trpm.s.uActiveVector; … … 115 115 * @param pvRet Pointer to the return address of VMMR0Entry() on the stack. 116 116 */ 117 TRPMR0DECL(void) TRPMR0SetupInterruptDispatcherFrame(PVM pVM, void *pvRet)117 VMMR0DECL(void) TRPMR0SetupInterruptDispatcherFrame(PVM pVM, void *pvRet) 118 118 { 119 119 RTUINT uActiveVector = pVM->trpm.s.uActiveVector;
Note:
See TracChangeset
for help on using the changeset viewer.