VirtualBox

Changeset 20871 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Jun 24, 2009 1:56:19 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49017
Message:

VMM: Make sure there is enough room for a few physical handler notification before we disable ring-3 calls. Partial VMM[GC|R0]CallHost unification.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r20854 r20871  
    314314 * @param   enmOperation    The operation.
    315315 * @param   uArg            The argument to the operation.
     316 *
     317 * @deprecated Use VMMRZCallRing3.
    316318 */
    317319VMMR0DECL(int) VMMR0CallHost(PVM pVM, VMMCALLHOST enmOperation, uint64_t uArg)
    318320{
    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);
    329322}
    330323
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette