Changeset 4668 in vbox for trunk/src/VBox
- Timestamp:
- Sep 10, 2007 1:53:29 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.