Changeset 30344 in vbox for trunk/src/VBox
- Timestamp:
- Jun 21, 2010 4:34:46 PM (14 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/GMM.cpp
r30342 r30344 306 306 307 307 /* Must be callable from any thread, so can't use VMMR3CallR0. */ 308 /** @todo Shouldn't we use NIL_VMCPUID here? */ 309 int rc = SUPR3CallVMMR0Ex(pVM->pVMR0, 0, VMMR0_DO_GMM_QUERY_HYPERVISOR_MEM_STATS, 0, &Req.Hdr); 308 int rc = SUPR3CallVMMR0Ex(pVM->pVMR0, NIL_VMCPUID, VMMR0_DO_GMM_QUERY_HYPERVISOR_MEM_STATS, 0, &Req.Hdr); 310 309 if (rc == VINF_SUCCESS) 311 310 { -
trunk/src/VBox/VMM/PGMPhys.cpp
r30342 r30344 3387 3387 3388 3388 /* 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? */ 3391 rc = SUPR3CallVMMR0Ex(pVM->pVMR0, 0 /* use CPU id 0; it must be a valid one */, VMMR0_DO_GMM_MAP_UNMAP_CHUNK, 0, &Req.Hdr); 3389 rc = SUPR3CallVMMR0Ex(pVM->pVMR0, NIL_VMCPUID, VMMR0_DO_GMM_MAP_UNMAP_CHUNK, 0, &Req.Hdr); 3392 3390 if (RT_SUCCESS(rc)) 3393 3391 {
Note:
See TracChangeset
for help on using the changeset viewer.