Changeset 28036 in vbox for trunk/include
- Timestamp:
- Apr 7, 2010 9:47:43 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 59743
- Location:
- trunk/include/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/gmm.h
r28012 r28036 399 399 400 400 /** 401 * Request buffer for GMMR0Query TotalFreePagesReq / VMMR0_DO_GMM_QUERY_TOTAL_FREE_PAGES.402 * @see GMMR0Query TotalFreePagesReq.403 */ 404 typedef struct GMM FREEQUERYREQ401 * Request buffer for GMMR0QueryVMMMemoryStatsReq / VMMR0_DO_GMM_QUERY_VMM_MEM_STATS. 402 * @see GMMR0QueryVMMMemoryStatsReq. 403 */ 404 typedef struct GMMMEMSTATSREQ 405 405 { 406 406 /** The header. */ 407 407 SUPVMMR0REQHDR Hdr; 408 /** The number of allocated pages (out). */ 409 uint64_t cAllocPages; 408 410 /** The number of free pages (out). */ 409 411 uint64_t cFreePages; 410 } GMMFREEQUERYREQ; 411 /** Pointer to a GMMR0QueryTotalFreePagesReq / VMMR0_DO_GMM_QUERY_TOTAL_FREE_PAGES request buffer. */ 412 typedef GMMFREEQUERYREQ *PGMMFREEQUERYREQ; 413 414 GMMR0DECL(int) GMMR0QueryTotalFreePagesReq(PVM pVM, PGMMFREEQUERYREQ pReq); 412 /** The number of ballooned pages (out). */ 413 uint64_t cBalloonedPages; 414 } GMMMEMSTATSREQ; 415 /** Pointer to a GMMR0QueryVMMMemoryStatsReq / VMMR0_DO_GMM_QUERY_VMM_MEM_STATS request buffer. */ 416 typedef GMMMEMSTATSREQ *PGMMMEMSTATSREQ; 417 418 GMMR0DECL(int) GMMR0QueryVMMMemoryStatsReq(PVM pVM, PGMMMEMSTATSREQ pReq); 415 419 416 420 /** … … 473 477 GMMR3DECL(int) GMMR3SeedChunk(PVM pVM, RTR3PTR pvR3); 474 478 GMMR3DECL(int) GMMR3BalloonedPages(PVM pVM, GMMBALLOONACTION enmAction, uint32_t cBalloonedPages); 475 GMMR3DECL(int) GMMR3Query TotalFreePages(PVM pVM, uint64_t *pcTotalFreePages);479 GMMR3DECL(int) GMMR3QueryVMMMemoryStats(PVM pVM, uint64_t *pcTotalAllocPages, uint64_t *pcTotalFreePages, uint64_t *pcTotalBalloonPages); 476 480 /** @} */ 477 481 #endif /* IN_RING3 */ -
trunk/include/VBox/pgm.h
r28012 r28036 467 467 VMMR3DECL(int) PGMR3PhysRegisterRam(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cb, const char *pszDesc); 468 468 VMMR3DECL(int) PGMR3PhysChangeMemBalloon(PVM pVM, bool fInflate, unsigned cPages, RTGCPHYS *paPhysPage); 469 VMMR3DECL(int) PGMR3Query FreeMemory(PVM pVM, unsigned *puTotalFreeSize);469 VMMR3DECL(int) PGMR3QueryVMMMemoryStats(PVM pVM, uint64_t *puTotalAllocSize, uint64_t *puTotalFreeSize, uint64_t *puTotalBalloonSize); 470 470 VMMR3DECL(int) PGMR3PhysMMIORegister(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cb, 471 471 R3PTRTYPE(PFNPGMR3PHYSHANDLER) pfnHandlerR3, RTR3PTR pvUserR3, -
trunk/include/VBox/vmm.h
r28012 r28036 300 300 /** Call GMMR0FreeLargePage(). */ 301 301 VMMR0_DO_GMM_FREE_LARGE_PAGE, 302 /** Call GMMR0Query TotalFreePagesReq */303 VMMR0_DO_GMM_QUERY_ TOTAL_FREE_PAGES,302 /** Call GMMR0QueryVMMMemoryStatsReq */ 303 VMMR0_DO_GMM_QUERY_VMM_MEM_STATS, 304 304 /** Call GMMR0BalloonedPages(). */ 305 305 VMMR0_DO_GMM_BALLOONED_PAGES,
Note:
See TracChangeset
for help on using the changeset viewer.