VirtualBox

Changeset 4668 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 10, 2007 1:53:29 PM (17 years ago)
Author:
vboxsync
Message:

Removed MMPhysGCVirt2HCVirt.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/MMAllPhys.cpp

    r4071 r4668  
    3333#include <VBox/err.h>
    3434
     35
    3536/**
    3637 * Convert GC physical address to HC virtual address.
     
    5253}
    5354
    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 Handle
    62  * @param   GCPtr       Guest context virtual address.
    63  * @deprecated
    64  */
    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.

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