Changeset 4668 in vbox
- Timestamp:
- Sep 10, 2007 1:53:29 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 24316
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/mm.h
r4591 r4668 590 590 MMDECL(void *) MMPhysGCPhys2HCVirt(PVM pVM, RTGCPHYS GCPhys, RTUINT cbRange); 591 591 592 /**593 * Convert GC virtual address to HC virtual address.594 *595 * This uses the current PD of the guest.596 *597 * @returns HC virtual address.598 * @param pVM VM Handle599 * @param GCPtr Guest context virtual address.600 * @thread The Emulation Thread.601 * @deprecated602 */603 MMDECL(void *) MMPhysGCVirt2HCVirt(PVM pVM, RTGCPTR pvGC);604 605 592 606 593 /** @def MMHYPER_GC_ASSERT_GCPTR -
trunk/src/VBox/VMM/VMMAll/MMAllPhys.cpp
r4071 r4668 33 33 #include <VBox/err.h> 34 34 35 35 36 /** 36 37 * Convert GC physical address to HC virtual address. … … 52 53 } 53 54 54 55 /**56 * Convert GC virtual address to HC virtual address.57 *58 * This uses the current PD of the guest.59 *60 * @returns HC virtual address.61 * @param pVM VM Handle62 * @param GCPtr Guest context virtual address.63 * @deprecated64 */65 MMDECL(void *) MMPhysGCVirt2HCVirt(PVM pVM, RTGCPTR GCPtr)66 {67 void *pv;68 int rc = PGMPhysGCPtr2HCPtr(pVM, GCPtr, &pv);69 if (VBOX_SUCCESS(rc))70 return pv;71 AssertMsgFailed(("%VGv, %Vrc\n", GCPtr, rc));72 return NULL;73 }
Note:
See TracChangeset
for help on using the changeset viewer.