VirtualBox

Changeset 14969 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Dec 4, 2008 10:57:17 AM (16 years ago)
Author:
vboxsync
Message:

VMM support for completing VA in TLB (not much tested)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pgm.h

    r14966 r14969  
    348348                                                 R3PTRTYPE(const char *) pszDesc);
    349349VMMDECL(int)        PGMHandlerPhysicalModify(PVM pVM, RTGCPHYS GCPhysCurrent, RTGCPHYS GCPhys, RTGCPHYS GCPhysLast);
    350 VMMDECL(bool)       PGMHandlerIsAddressMonitored(PVM pVM, RTGCPTR GCPtr);
     350VMMDECL(bool)       PGMHandlerVirtualIsRegistered(PVM pVM, RTGCPTR GCPtr);
    351351VMMDECL(int)        PGMHandlerPhysicalDeregister(PVM pVM, RTGCPHYS GCPhys);
    352352VMMDECL(int)        PGMHandlerPhysicalChangeCallbacks(PVM pVM, RTGCPHYS GCPhys,
     
    418418VMMDECL(int)        PGMPhysGCPhys2R3Ptr(PVM pVM, RTGCPHYS GCPhys, RTUINT cbRange, PRTR3PTR pR3Ptr);
    419419VMMDECL(RTR3PTR)    PGMPhysGCPhys2R3PtrAssert(PVM pVM, RTGCPHYS GCPhys, RTUINT cbRange);
     420/** @PGMPhysGCPhys2R3PtrEx flags.
     421 * @{ */
     422/** Default value of the flag, behaves the same way as PGMPhysGCPhys2R3Ptr. */
     423#define PGMPHYS_TRANSLATION_FLAG_DEFAULT           0
     424/** Indicates that for monitored pages with physical handlers
     425 * VERR_PGM_PHYS_PAGE_RESERVED error code should be returned,
     426 * so address translation routines must fallback to PGM functions for
     427 * access memory. */
     428#define PGMPHYS_TRANSLATION_FLAG_CHECK_PHYS_MONITORED   RT_BIT_32(0)
     429/** Indicates that for monitored pages with virtual handlers
     430 * VERR_PGM_PHYS_PAGE_RESERVED error code should be returned,
     431 * so address translation routines must fallback to PGM functions for
     432 * access memory. */
     433#define PGMPHYS_TRANSLATION_FLAG_CHECK_VIRT_MONITORED   RT_BIT_32(1)
     434/** @} */
     435VMMDECL(int)        PGMPhysGCPhys2R3PtrEx(PVM pVM, RTGCPHYS GCPhys, RTGCPTR GCPtr, uint32_t flags, PRTR3PTR pR3Ptr);
    420436VMMDECL(int)        PGMPhysGCPtr2R3Ptr(PVM pVM, RTGCPTR GCPtr, PRTR3PTR pR3Ptr);
    421437VMMDECL(int)        PGMPhysGCPtr2R3PtrByGstCR3(PVM pVM, RTGCPTR GCPtr, uint64_t cr3, unsigned fFlags, PRTR3PTR pR3Ptr);
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