Changeset 20871 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Jun 24, 2009 1:56:19 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 49017
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r20854 r20871 314 314 * @param enmOperation The operation. 315 315 * @param uArg The argument to the operation. 316 * 317 * @deprecated Use VMMRZCallRing3. 316 318 */ 317 319 VMMR0DECL(int) VMMR0CallHost(PVM pVM, VMMCALLHOST enmOperation, uint64_t uArg) 318 320 { 319 PVMCPU pVCpu = VMMGetCpu(pVM); 320 321 /** @todo profile this! */ 322 pVCpu->vmm.s.enmCallHostOperation = enmOperation; 323 pVCpu->vmm.s.u64CallHostArg = uArg; 324 pVCpu->vmm.s.rcCallHost = VERR_INTERNAL_ERROR; 325 int rc = vmmR0CallHostLongJmp(&pVCpu->vmm.s.CallHostR0JmpBuf, VINF_VMM_CALL_HOST); 326 if (rc == VINF_SUCCESS) 327 rc = pVCpu->vmm.s.rcCallHost; 328 return rc; 321 return VMMRZCallRing3(pVM, VMMGetCpu(pVM), enmOperation, uArg); 329 322 } 330 323
Note:
See TracChangeset
for help on using the changeset viewer.