Changeset 28974 in vbox for trunk/include/VBox
- Timestamp:
- May 3, 2010 1:09:44 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 60991
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/gmm.h
r28809 r28974 399 399 400 400 /** 401 * Request buffer for GMMR0Query VMMMemoryStatsReq / VMMR0_DO_GMM_QUERY_VMM_MEM_STATS.402 * @see GMMR0Query VMMMemoryStatsReq.401 * Request buffer for GMMR0QueryHypervisorMemoryStatsReq / VMMR0_DO_GMM_QUERY_VMM_MEM_STATS. 402 * @see GMMR0QueryHypervisorMemoryStatsReq. 403 403 */ 404 404 typedef struct GMMMEMSTATSREQ … … 412 412 /** The number of ballooned pages (out). */ 413 413 uint64_t cBalloonedPages; 414 /** Maximum nr of pages (out). */ 415 uint64_t cMaxPages; 414 416 } GMMMEMSTATSREQ; 415 /** Pointer to a GMMR0Query VMMMemoryStatsReq / VMMR0_DO_GMM_QUERY_VMM_MEM_STATS request buffer. */417 /** Pointer to a GMMR0QueryHypervisorMemoryStatsReq / VMMR0_DO_GMM_QUERY_HYPERVISOR_MEM_STATS request buffer. */ 416 418 typedef GMMMEMSTATSREQ *PGMMMEMSTATSREQ; 417 419 418 GMMR0DECL(int) GMMR0QueryVMMMemoryStatsReq(PVM pVM, PGMMMEMSTATSREQ pReq); 420 GMMR0DECL(int) GMMR0QueryHypervisorMemoryStatsReq(PVM pVM, PGMMMEMSTATSREQ pReq); 421 GMMR0DECL(int) GMMR0QueryMemoryStatsReq(PVM pVM, VMCPUID idCpu, PGMMMEMSTATSREQ pReq); 419 422 420 423 /** … … 532 535 GMMR3DECL(int) GMMR3MapUnmapChunk(PVM pVM, uint32_t idChunkMap, uint32_t idChunkUnmap, PRTR3PTR ppvR3); 533 536 GMMR3DECL(int) GMMR3SeedChunk(PVM pVM, RTR3PTR pvR3); 537 GMMR3DECL(int) GMMR3QueryHypervisorMemoryStats(PVM pVM, uint64_t *pcTotalAllocPages, uint64_t *pcTotalFreePages, uint64_t *pcTotalBalloonPages); 538 GMMR3DECL(int) GMMR3QueryMemoryStats(PVM pVM, uint64_t *pcAllocPages, uint64_t *pcMaxPages, uint64_t *pcBalloonPages); 534 539 GMMR3DECL(int) GMMR3BalloonedPages(PVM pVM, GMMBALLOONACTION enmAction, uint32_t cBalloonedPages); 535 GMMR3DECL(int) GMMR3QueryVMMMemoryStats(PVM pVM, uint64_t *pcTotalAllocPages, uint64_t *pcTotalFreePages, uint64_t *pcTotalBalloonPages);536 540 GMMR3DECL(int) GMMR3RegisterSharedModule(PVM pVM, char *pszModuleName, char *pszVersion, RTGCPTR GCBaseAddr, uint32_t cbModule, 537 541 unsigned cRegions, VMMDEVSHAREDREGIONDESC *pRegions); -
trunk/include/VBox/vmm.h
r28800 r28974 296 296 /** Call GMMR0FreeLargePage(). */ 297 297 VMMR0_DO_GMM_FREE_LARGE_PAGE, 298 /** Call GMMR0QueryVMMMemoryStatsReq(). */ 299 VMMR0_DO_GMM_QUERY_VMM_MEM_STATS, 298 /** Call GMMR0QueryHypervisorMemoryStatsReq(). */ 299 VMMR0_DO_GMM_QUERY_HYPERVISOR_MEM_STATS, 300 /** Call GMMR0QueryMemoryStatsReq(). */ 301 VMMR0_DO_GMM_QUERY_MEM_STATS, 300 302 /** Call GMMR0BalloonedPages(). */ 301 303 VMMR0_DO_GMM_BALLOONED_PAGES,
Note:
See TracChangeset
for help on using the changeset viewer.