VirtualBox

Changeset 834

Show
Ignore:
Timestamp:
02/12/07 13:05:19 (2 years ago)
Author:
vboxsync
Message:

GC Phys to HC virt conversion changes for dynamic RAM allocation.

Files:

Legend:

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

    r737 r834  
    378378 * that the PDE was (probably) marked not-present and it should restart the instruction. */ 
    379379#define VINF_PGM_SYNCPAGE_MODIFIED_PDE      1625 
     380/** Physical range crosses dynamic ram chunk boundary; translation to HC ptr not safe. */ 
     381#define VERR_PGM_GCPHYS_RANGE_CROSSES_BOUNDARY  (-1626) 
    380382/** @} */ 
    381383 
  • trunk/include/VBox/mm.h

    r1 r834  
    581581 * @param   pVM         VM Handle 
    582582 * @param   GCPhys      Guest context physical address. 
     583 * @param   cbRange     Physical range 
    583584 * @thread  The Emulation Thread. 
    584585 * @deprecated 
    585586 */ 
    586 MMDECL(void *) MMPhysGCPhys2HCVirt(PVM pVM, RTGCPHYS GCPhys); 
     587MMDECL(void *) MMPhysGCPhys2HCVirt(PVM pVM, RTGCPHYS GCPhys, RTUINT cbRange); 
    587588 
    588589/** 
  • trunk/include/VBox/pgm.h

    r210 r834  
    787787 * @param   pVM     The VM handle. 
    788788 * @param   GCPhys  The GC physical address to convert. 
     789 * @param   cbRange Physical range 
    789790 * @param   pHCPtr  Where to store the HC pointer on success. 
    790791 */ 
    791 PGMDECL(int) PGMPhysGCPhys2HCPtr(PVM pVM, RTGCPHYS GCPhys, PRTHCPTR pHCPtr); 
     792PGMDECL(int) PGMPhysGCPhys2HCPtr(PVM pVM, RTGCPHYS GCPhys, RTUINT cbRange, PRTHCPTR pHCPtr); 
    792793 
    793794/** 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy