VirtualBox

Changeset 67956 in vbox


Ignore:
Timestamp:
Jul 13, 2017 9:31:26 PM (8 years ago)
Author:
vboxsync
Message:

VMMR0: todo

Location:
trunk/src/VBox/VMM/VMMR0
Files:
2 edited

Legend:

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

    r67955 r67956  
    11831183                    VERR_WRONG_ORDER);
    11841184
    1185     uint32_t hGVM = pGVM->hSelf;
     1185    uint32_t        hGVM = pGVM->hSelf;
    11861186    AssertReturn(hGVM != NIL_GVM_HANDLE, VERR_INVALID_HANDLE);
    11871187    AssertReturn(hGVM < RT_ELEMENTS(pGVMM->aHandles), VERR_INVALID_HANDLE);
    11881188
    1189     PGVMHANDLE pHandle = &pGVMM->aHandles[hGVM];
     1189    PGVMHANDLE      pHandle = &pGVMM->aHandles[hGVM];
    11901190    AssertReturn(pHandle->pVM == pVM, VERR_NOT_OWNER);
    11911191
    1192     RTPROCESS      ProcId = RTProcSelf();
    1193     RTNATIVETHREAD hSelf  = RTThreadNativeSelf();
     1192    RTPROCESS       ProcId = RTProcSelf();
     1193    RTNATIVETHREAD  hSelf  = RTThreadNativeSelf();
    11941194    AssertReturn(   (   pHandle->hEMT0  == hSelf
    11951195                     && pHandle->ProcId == ProcId)
     
    12031203    int rc = gvmmR0CreateDestroyLock(pGVMM);
    12041204    AssertRC(rc);
     1205
     1206/** @todo Check that all other EMTs have said bye-bye. */
     1207
    12051208
    12061209    /* Be careful here because we might theoretically be racing someone else cleaning up. */
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r67955 r67956  
    20102010 *
    20112011 * @returns VBox status code.
     2012 * @param   pGVM            The global (ring-0) VM structure.
    20122013 * @param   pVM             The cross context VM structure.
    20132014 * @param   idCpu           Virtual CPU ID argument. Must be NIL_VMCPUID if pVM
Note: See TracChangeset for help on using the changeset viewer.

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