Changeset 28012 in vbox for trunk/include
- Timestamp:
- Apr 6, 2010 2:52:25 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 59719
- Location:
- trunk/include/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/gmm.h
r27999 r28012 399 399 400 400 /** 401 * Request buffer for GMMR0QueryTotal BalloonSizeReq / VMMR0_DO_GMM_BALLOONED_PAGES.402 * @see GMMR0QueryTotal BalloonSize.403 */ 404 typedef struct GMM BALLOONQUERY401 * Request buffer for GMMR0QueryTotalFreePagesReq / VMMR0_DO_GMM_QUERY_TOTAL_FREE_PAGES. 402 * @see GMMR0QueryTotalFreePagesReq. 403 */ 404 typedef struct GMMFREEQUERYREQ 405 405 { 406 406 /** The header. */ 407 407 SUPVMMR0REQHDR Hdr; 408 /** The number of balloonedpages (out). */409 uint64_t c BalloonedPages;410 } GMM BALLOONQUERYREQ;411 /** Pointer to a GMMR0QueryTotal BalloonSizeReq / VMMR0_DO_GMM_QUERY_TOTAL_BALLOON_SIZErequest buffer. */412 typedef GMM BALLOONQUERYREQ *PGMMBALLOONQUERYREQ;413 414 GMMR0DECL(int) GMMR0QueryTotal BalloonSizeReq(PVM pVM, PGMMBALLOONQUERYREQ pReq);408 /** The number of free pages (out). */ 409 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); 415 415 416 416 /** … … 473 473 GMMR3DECL(int) GMMR3SeedChunk(PVM pVM, RTR3PTR pvR3); 474 474 GMMR3DECL(int) GMMR3BalloonedPages(PVM pVM, GMMBALLOONACTION enmAction, uint32_t cBalloonedPages); 475 GMMR3DECL(int) GMMR3QueryTotal BalloonSize(PVM pVM, uint64_t *pcTotalBalloonedPages);475 GMMR3DECL(int) GMMR3QueryTotalFreePages(PVM pVM, uint64_t *pcTotalFreePages); 476 476 /** @} */ 477 477 #endif /* IN_RING3 */ -
trunk/include/VBox/pgm.h
r28003 r28012 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 BalloonSize(PVM pVM, unsigned *puVMBalloonSize, unsigned *puTotalBalloonSize);469 VMMR3DECL(int) PGMR3QueryFreeMemory(PVM pVM, unsigned *puTotalFreeSize); 470 470 VMMR3DECL(int) PGMR3PhysMMIORegister(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cb, 471 471 R3PTRTYPE(PFNPGMR3PHYSHANDLER) pfnHandlerR3, RTR3PTR pvUserR3, -
trunk/include/VBox/vmm.h
r27999 r28012 300 300 /** Call GMMR0FreeLargePage(). */ 301 301 VMMR0_DO_GMM_FREE_LARGE_PAGE, 302 /** Call GMMR0QueryTotalFreePagesReq */ 303 VMMR0_DO_GMM_QUERY_TOTAL_FREE_PAGES, 302 304 /** Call GMMR0BalloonedPages(). */ 303 305 VMMR0_DO_GMM_BALLOONED_PAGES, 304 /** Call GMMR0QueryTotalBalloonSize*/305 VMMR0_DO_GMM_QUERY_TOTAL_BALLOON_SIZE,306 306 /** Call GMMR0MapUnmapChunk(). */ 307 307 VMMR0_DO_GMM_MAP_UNMAP_CHUNK,
Note:
See TracChangeset
for help on using the changeset viewer.