Changeset 40005 in vbox for trunk/include/VBox
- Timestamp:
- Feb 6, 2012 10:47:20 AM (13 years ago)
- Location:
- trunk/include/VBox/vmm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/gmm.h
r39920 r40005 29 29 #include <VBox/vmm/gvmm.h> 30 30 #include <VBox/sup.h> 31 #include <VBox/VMMDev.h> /* for VMMDEVSHAREDREGIONDESC */32 31 #include <VBox/param.h> 33 32 #include <iprt/avl.h> … … 326 325 /** The number of pages we've currently requested the guest to take back. */ 327 326 uint64_t cReqDeflatePages; 327 /** The number of shareable module tracked by this VM. */ 328 uint32_t cShareableModules; 328 329 329 330 /** The current over-commitment policy. */ … … 340 341 * been told to suspend/save/die in an out-of-memory case. */ 341 342 bool fMayAllocate; 342 343 343 /** Explicit alignment. */ 344 bool afReserved[5]; 344 bool afReserved[1]; 345 346 345 347 } GMMVMSTATS; 346 348 … … 406 408 GMMR0DECL(int) GMMR0MapUnmapChunk(PVM pVM, uint32_t idChunkMap, uint32_t idChunkUnmap, PRTR3PTR ppvR3); 407 409 GMMR0DECL(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); 410 GMMR0DECL(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); 409 413 GMMR0DECL(int) GMMR0UnregisterSharedModule(PVM pVM, VMCPUID idCpu, char *pszModuleName, char *pszVersion, RTGCPTR GCBaseAddr, uint32_t cbModule); 410 414 GMMR0DECL(int) GMMR0UnregisterAllSharedModules(PVM pVM, VMCPUID idCpu); … … 634 638 typedef struct GMMSHAREDMODULE 635 639 { 636 /* Tree node. */640 /** Tree node. */ 637 641 AVLGCPTRNODECORE Core; 638 642 /** Shared module size. */ -
trunk/include/VBox/vmm/pgm.h
r39083 r40005 427 427 VMMR0DECL(int) PGMR0PhysAllocateLargeHandyPage(PVM pVM, PVMCPU pVCpu); 428 428 VMMR0_INT_DECL(int) PGMR0PhysSetupIommu(PVM pVM); 429 VMMR0DECL(int) PGMR0SharedModuleCheck(PVM pVM, PGVM pGVM, VMCPUID idCpu, PGMMSHAREDMODULE pModule, uint32_t cRegions, PGMMSHAREDREGIONDESC p Regions);429 VMMR0DECL(int) PGMR0SharedModuleCheck(PVM pVM, PGVM pGVM, VMCPUID idCpu, PGMMSHAREDMODULE pModule, uint32_t cRegions, PGMMSHAREDREGIONDESC paRegions); 430 430 VMMR0DECL(int) PGMR0Trap0eHandlerNestedPaging(PVM pVM, PVMCPU pVCpu, PGMMODE enmShwPagingMode, RTGCUINT uErr, PCPUMCTXCORE pRegFrame, RTGCPHYS pvFault); 431 431 VMMR0DECL(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.