VirtualBox

Changeset 40005 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Feb 6, 2012 10:47:20 AM (13 years ago)
Author:
vboxsync
Message:

More GMM stats. Added todo regarding GMMR0SharedModuleCheckPage assertion.

Location:
trunk/include/VBox/vmm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/gmm.h

    r39920 r40005  
    2929#include <VBox/vmm/gvmm.h>
    3030#include <VBox/sup.h>
    31 #include <VBox/VMMDev.h> /* for VMMDEVSHAREDREGIONDESC */
    3231#include <VBox/param.h>
    3332#include <iprt/avl.h>
     
    326325    /** The number of pages we've currently requested the guest to take back. */
    327326    uint64_t            cReqDeflatePages;
     327    /** The number of shareable module tracked by this VM. */
     328    uint32_t            cShareableModules;
    328329
    329330    /** The current over-commitment policy. */
     
    340341     * been told to suspend/save/die in an out-of-memory case. */
    341342    bool                fMayAllocate;
    342 
    343343    /** Explicit alignment. */
    344     bool                afReserved[5];
     344    bool                afReserved[1];
     345
     346
    345347} GMMVMSTATS;
    346348
     
    406408GMMR0DECL(int)  GMMR0MapUnmapChunk(PVM pVM, uint32_t idChunkMap, uint32_t idChunkUnmap, PRTR3PTR ppvR3);
    407409GMMR0DECL(int)  GMMR0SeedChunk(PVM pVM, VMCPUID idCpu, RTR3PTR pvR3);
    408 GMMR0DECL(int)  GMMR0RegisterSharedModule(PVM pVM, VMCPUID idCpu, VBOXOSFAMILY enmGuestOS, char *pszModuleName, char *pszVersion, RTGCPTR GCBaseAddr, uint32_t cbModule, unsigned cRegions, VMMDEVSHAREDREGIONDESC *pRegions);
     410GMMR0DECL(int)  GMMR0RegisterSharedModule(PVM pVM, VMCPUID idCpu, VBOXOSFAMILY enmGuestOS, char *pszModuleName, char *pszVersion,
     411                                          RTGCPTR GCBaseAddr,  uint32_t cbModule, uint32_t cRegions,
     412                                          struct VMMDEVSHAREDREGIONDESC *pRegions);
    409413GMMR0DECL(int)  GMMR0UnregisterSharedModule(PVM pVM, VMCPUID idCpu, char *pszModuleName, char *pszVersion, RTGCPTR GCBaseAddr, uint32_t cbModule);
    410414GMMR0DECL(int)  GMMR0UnregisterAllSharedModules(PVM pVM, VMCPUID idCpu);
     
    634638typedef struct GMMSHAREDMODULE
    635639{
    636     /* Tree node. */
     640    /** Tree node. */
    637641    AVLGCPTRNODECORE            Core;
    638642    /** Shared module size. */
  • trunk/include/VBox/vmm/pgm.h

    r39083 r40005  
    427427VMMR0DECL(int)      PGMR0PhysAllocateLargeHandyPage(PVM pVM, PVMCPU pVCpu);
    428428VMMR0_INT_DECL(int) PGMR0PhysSetupIommu(PVM pVM);
    429 VMMR0DECL(int)      PGMR0SharedModuleCheck(PVM pVM, PGVM pGVM, VMCPUID idCpu, PGMMSHAREDMODULE pModule, uint32_t cRegions, PGMMSHAREDREGIONDESC pRegions);
     429VMMR0DECL(int)      PGMR0SharedModuleCheck(PVM pVM, PGVM pGVM, VMCPUID idCpu, PGMMSHAREDMODULE pModule, uint32_t cRegions, PGMMSHAREDREGIONDESC paRegions);
    430430VMMR0DECL(int)      PGMR0Trap0eHandlerNestedPaging(PVM pVM, PVMCPU pVCpu, PGMMODE enmShwPagingMode, RTGCUINT uErr, PCPUMCTXCORE pRegFrame, RTGCPHYS pvFault);
    431431VMMR0DECL(VBOXSTRICTRC) PGMR0Trap0eHandlerNPMisconfig(PVM pVM, PVMCPU pVCpu, PGMMODE enmShwPagingMode, PCPUMCTXCORE pRegFrame, RTGCPHYS GCPhysFault, uint32_t uErr);
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