VirtualBox

Changeset 4668

Show
Ignore:
Timestamp:
09/10/07 15:53:29 (1 year ago)
Author:
vboxsync
Message:

Removed MMPhysGCVirt2HCVirt.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/include/VBox/mm.h

    r4591 r4668  
    590590MMDECL(void *) MMPhysGCPhys2HCVirt(PVM pVM, RTGCPHYS GCPhys, RTUINT cbRange); 
    591591 
    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 Handle 
    599  * @param   GCPtr       Guest context virtual address. 
    600  * @thread  The Emulation Thread. 
    601  * @deprecated 
    602  */ 
    603 MMDECL(void *) MMPhysGCVirt2HCVirt(PVM pVM, RTGCPTR pvGC); 
    604  
    605592 
    606593/** @def MMHYPER_GC_ASSERT_GCPTR 
  • 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 } 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy