VirtualBox

Changeset 16918 in vbox for trunk/src/VBox/VMM/PGMInternal.h


Ignore:
Timestamp:
Feb 18, 2009 3:58:38 PM (16 years ago)
Author:
vboxsync
Message:

Backed out r43029

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMInternal.h

    r16907 r16918  
    16351635     * It's a hack required because of REMR3NotifyHandlerPhysicalDeregister. */
    16361636    bool volatile       fReusedFlushPending;
     1637#ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    16371638    /** Used to indicate that the guest is mapping the page is also used as a CR3.
    16381639     * In these cases the access handler acts differently and will check
     
    16421643     */
    16431644    bool                fCR3Mix;
     1645#endif
    16441646} PGMPOOLPAGE, *PPGMPOOLPAGE, **PPPGMPOOLPAGE;
    16451647
     
    20482050    DECLR3CALLBACKMEMBER(int,       pfnR3GstModifyPage,(PVM pVM, RTGCPTR GCPtr, size_t cbPages, uint64_t fFlags, uint64_t fMask));
    20492051    DECLR3CALLBACKMEMBER(int,       pfnR3GstGetPDE,(PVM pVM, RTGCPTR GCPtr, PX86PDEPAE pPde));
     2052#ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    20502053    DECLR3CALLBACKMEMBER(int,       pfnR3GstMonitorCR3,(PVM pVM, RTGCPHYS GCPhysCR3));
    20512054    DECLR3CALLBACKMEMBER(int,       pfnR3GstUnmonitorCR3,(PVM pVM));
     2055#endif
    20522056#ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    20532057    R3PTRTYPE(PFNPGMR3PHYSHANDLER)  pfnR3GstWriteHandlerCR3;
     
    20592063    DECLRCCALLBACKMEMBER(int,       pfnRCGstModifyPage,(PVM pVM, RTGCPTR GCPtr, size_t cbPages, uint64_t fFlags, uint64_t fMask));
    20602064    DECLRCCALLBACKMEMBER(int,       pfnRCGstGetPDE,(PVM pVM, RTGCPTR GCPtr, PX86PDEPAE pPde));
     2065#ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    20612066    DECLRCCALLBACKMEMBER(int,       pfnRCGstMonitorCR3,(PVM pVM, RTGCPHYS GCPhysCR3));
    20622067    DECLRCCALLBACKMEMBER(int,       pfnRCGstUnmonitorCR3,(PVM pVM));
     2068#endif
    20632069#ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    20642070    RCPTRTYPE(PFNPGMRCPHYSHANDLER)  pfnRCGstWriteHandlerCR3;
     
    20682074    DECLR0CALLBACKMEMBER(int,       pfnR0GstModifyPage,(PVM pVM, RTGCPTR GCPtr, size_t cbPages, uint64_t fFlags, uint64_t fMask));
    20692075    DECLR0CALLBACKMEMBER(int,       pfnR0GstGetPDE,(PVM pVM, RTGCPTR GCPtr, PX86PDEPAE pPde));
     2076#ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    20702077    DECLR0CALLBACKMEMBER(int,       pfnR0GstMonitorCR3,(PVM pVM, RTGCPHYS GCPhysCR3));
    20712078    DECLR0CALLBACKMEMBER(int,       pfnR0GstUnmonitorCR3,(PVM pVM));
     2079#endif
    20722080#ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    20732081    R0PTRTYPE(PFNPGMRCPHYSHANDLER)  pfnR0GstWriteHandlerCR3;
     
    21692177    uint32_t                        u32Alignment;
    21702178#endif
     2179#ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    21712180    /** The physical address of the currently monitored guest CR3 page.
    21722181     * When this value is NIL_RTGCPHYS no page is being monitored. */
    21732182    RTGCPHYS                        GCPhysGstCR3Monitored;
     2183#endif
    21742184    /** @name 32-bit Guest Paging.
    21752185     * @{ */
     
    23352345    DECLR3CALLBACKMEMBER(int,       pfnR3GstModifyPage,(PVM pVM, RTGCPTR GCPtr, size_t cbPages, uint64_t fFlags, uint64_t fMask));
    23362346    DECLR3CALLBACKMEMBER(int,       pfnR3GstGetPDE,(PVM pVM, RTGCPTR GCPtr, PX86PDEPAE pPde));
     2347#ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    23372348    DECLR3CALLBACKMEMBER(int,       pfnR3GstMonitorCR3,(PVM pVM, RTGCPHYS GCPhysCR3));
    23382349    DECLR3CALLBACKMEMBER(int,       pfnR3GstUnmonitorCR3,(PVM pVM));
     2350#endif
    23392351#ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    23402352    R3PTRTYPE(PFNPGMR3PHYSHANDLER)  pfnR3GstWriteHandlerCR3;
     
    23462358    DECLRCCALLBACKMEMBER(int,       pfnRCGstModifyPage,(PVM pVM, RTGCPTR GCPtr, size_t cbPages, uint64_t fFlags, uint64_t fMask));
    23472359    DECLRCCALLBACKMEMBER(int,       pfnRCGstGetPDE,(PVM pVM, RTGCPTR GCPtr, PX86PDEPAE pPde));
     2360#ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    23482361    DECLRCCALLBACKMEMBER(int,       pfnRCGstMonitorCR3,(PVM pVM, RTGCPHYS GCPhysCR3));
    23492362    DECLRCCALLBACKMEMBER(int,       pfnRCGstUnmonitorCR3,(PVM pVM));
     2363#endif
    23502364#ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    23512365    RCPTRTYPE(PFNPGMRCPHYSHANDLER)  pfnRCGstWriteHandlerCR3;
     
    23592373    DECLR0CALLBACKMEMBER(int,       pfnR0GstModifyPage,(PVM pVM, RTGCPTR GCPtr, size_t cbPages, uint64_t fFlags, uint64_t fMask));
    23602374    DECLR0CALLBACKMEMBER(int,       pfnR0GstGetPDE,(PVM pVM, RTGCPTR GCPtr, PX86PDEPAE pPde));
     2375#ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    23612376    DECLR0CALLBACKMEMBER(int,       pfnR0GstMonitorCR3,(PVM pVM, RTGCPHYS GCPhysCR3));
    23622377    DECLR0CALLBACKMEMBER(int,       pfnR0GstUnmonitorCR3,(PVM pVM));
     2378#endif
    23632379#ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    23642380    R0PTRTYPE(PFNPGMRCPHYSHANDLER)  pfnR0GstWriteHandlerCR3;
     
    29612977void            pgmPoolMonitorModifiedInsert(PPGMPOOL pPool, PPGMPOOLPAGE pPage);
    29622978void            pgmPoolMonitorModifiedClearAll(PVM pVM);
    2963 # ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY
    2964 int             pgmPoolMonitorMonitorCR3(PPGMPOOL pPool, RTGCPHYS GCPhysCR3);
    2965 int             pgmPoolMonitorUnmonitorCR3(PPGMPOOL pPool, RTGCPHYS GCPhysCR3);
    2966 # else
    29672979int             pgmPoolMonitorMonitorCR3(PPGMPOOL pPool, uint16_t idxRoot, RTGCPHYS GCPhysCR3);
    29682980int             pgmPoolMonitorUnmonitorCR3(PPGMPOOL pPool, uint16_t idxRoot);
    2969 # endif
    29702981#endif
    29712982
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