VirtualBox

Changeset 30342 in vbox


Ignore:
Timestamp:
Jun 21, 2010 4:24:57 PM (14 years ago)
Author:
vboxsync
Message:

VMM: todo: Use NIL_VMCPUID with two SUPR3CallVMMR0Ex calls?

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

Legend:

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

    r29620 r30342  
    306306
    307307    /* Must be callable from any thread, so can't use VMMR3CallR0. */
     308    /** @todo Shouldn't we use NIL_VMCPUID here?  */
    308309    int rc = SUPR3CallVMMR0Ex(pVM->pVMR0, 0, VMMR0_DO_GMM_QUERY_HYPERVISOR_MEM_STATS, 0, &Req.Hdr);
    309310    if (rc == VINF_SUCCESS)
  • trunk/src/VBox/VMM/PGMPhys.cpp

    r30326 r30342  
    33873387
    33883388    /* Must be callable from any thread, so can't use VMMR3CallR0. */
     3389    /** @todo r=bird: Why must it be a valid one? NIL_VMCPUID should do the
     3390     *        trick as it does a bunch of other places, shouldn't it? */
    33893391    rc = SUPR3CallVMMR0Ex(pVM->pVMR0, 0 /* use CPU id 0; it must be a valid one */, VMMR0_DO_GMM_MAP_UNMAP_CHUNK, 0, &Req.Hdr);
    33903392    if (RT_SUCCESS(rc))
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