Changeset 20864 in vbox for trunk/src/VBox/VMM/VMM.cpp
- Timestamp:
- Jun 23, 2009 7:19:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMM.cpp
r20857 r20864 177 177 * Register the Ring-0 VM handle with the session for fast ioctl calls. 178 178 */ 179 rc = SUP SetVMForFastIOCtl(pVM->pVMR0);179 rc = SUPR3SetVMForFastIOCtl(pVM->pVMR0); 180 180 if (RT_FAILURE(rc)) 181 181 return rc; … … 510 510 rc = VINF_SUCCESS; 511 511 #else 512 rc = SUP CallVMMR0Ex(pVM->pVMR0, 0 /* VCPU 0*/, VMMR0_DO_VMMR0_INIT, VMMGetSvnRev(), NULL);512 rc = SUPR3CallVMMR0Ex(pVM->pVMR0, 0 /*idCpu*/, VMMR0_DO_VMMR0_INIT, VMMGetSvnRev(), NULL); 513 513 #endif 514 514 /* … … 584 584 rc = VINF_SUCCESS; 585 585 #else 586 rc = SUP CallVMMR0(pVM->pVMR0, 0 /* VCPU 0 */, VMMR0_DO_CALL_HYPERVISOR, NULL);586 rc = SUPR3CallVMMR0(pVM->pVMR0, 0 /* VCPU 0 */, VMMR0_DO_CALL_HYPERVISOR, NULL); 587 587 #endif 588 588 #ifdef LOG_ENABLED … … 637 637 rc = VINF_SUCCESS; 638 638 #else 639 rc = SUP CallVMMR0Ex(pVM->pVMR0, 0 /* VCPU 0*/, VMMR0_DO_VMMR0_TERM, 0, NULL);639 rc = SUPR3CallVMMR0Ex(pVM->pVMR0, 0 /*idCpu*/, VMMR0_DO_VMMR0_TERM, 0, NULL); 640 640 #endif 641 641 /* … … 1146 1146 rc = VERR_GENERAL_FAILURE; 1147 1147 #else 1148 rc = SUP CallVMMR0Fast(pVM->pVMR0, VMMR0_DO_RAW_RUN, 0);1148 rc = SUPR3CallVMMR0Fast(pVM->pVMR0, VMMR0_DO_RAW_RUN, 0); 1149 1149 if (RT_LIKELY(rc == VINF_SUCCESS)) 1150 1150 rc = pVCpu->vmm.s.iLastGZRc; … … 1197 1197 rc = VERR_GENERAL_FAILURE; 1198 1198 #else 1199 rc = SUP CallVMMR0Fast(pVM->pVMR0, VMMR0_DO_HWACC_RUN, pVCpu->idCpu);1199 rc = SUPR3CallVMMR0Fast(pVM->pVMR0, VMMR0_DO_HWACC_RUN, pVCpu->idCpu); 1200 1200 if (RT_LIKELY(rc == VINF_SUCCESS)) 1201 1201 rc = pVCpu->vmm.s.iLastGZRc; … … 1697 1697 rc = VERR_GENERAL_FAILURE; 1698 1698 #else 1699 rc = SUP CallVMMR0Fast(pVM->pVMR0, VMMR0_DO_RAW_RUN, 0);1699 rc = SUPR3CallVMMR0Fast(pVM->pVMR0, VMMR0_DO_RAW_RUN, 0); 1700 1700 if (RT_LIKELY(rc == VINF_SUCCESS)) 1701 1701 rc = pVCpu->vmm.s.iLastGZRc; … … 1732 1732 1733 1733 /** 1734 * Wrapper for SUPCallVMMR0Ex which will deal with 1735 * VINF_VMM_CALL_HOST returns. 1734 * Wrapper for SUPR3CallVMMR0Ex which will deal with VINF_VMM_CALL_HOST returns. 1736 1735 * 1737 1736 * @returns VBox status code. … … 1739 1738 * @param uOperation Operation to execute. 1740 1739 * @param u64Arg Constant argument. 1741 * @param pReqHdr Pointer to a request header. See SUP CallVMMR0Ex for1740 * @param pReqHdr Pointer to a request header. See SUPR3CallVMMR0Ex for 1742 1741 * details. 1743 1742 */ … … 1756 1755 rc = VERR_GENERAL_FAILURE; 1757 1756 #else 1758 rc = SUP CallVMMR0Ex(pVM->pVMR0, pVCpu->idCpu, uOperation, u64Arg, pReqHdr);1757 rc = SUPR3CallVMMR0Ex(pVM->pVMR0, pVCpu->idCpu, uOperation, u64Arg, pReqHdr); 1759 1758 #endif 1760 1759 /* … … 1806 1805 rc = VERR_GENERAL_FAILURE; 1807 1806 #else 1808 rc = SUP CallVMMR0Fast(pVM->pVMR0, VMMR0_DO_RAW_RUN, 0);1807 rc = SUPR3CallVMMR0Fast(pVM->pVMR0, VMMR0_DO_RAW_RUN, 0); 1809 1808 if (RT_LIKELY(rc == VINF_SUCCESS)) 1810 1809 rc = pVCpu->vmm.s.iLastGZRc;
Note:
See TracChangeset
for help on using the changeset viewer.