VirtualBox

Changeset 27999 in vbox for trunk/include


Ignore:
Timestamp:
Apr 6, 2010 12:24:02 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
59706
Message:

Introducing PGMR3QueryBalloonSize

Location:
trunk/include/VBox
Files:
3 edited

Legend:

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

    r27116 r27999  
    399399
    400400/**
     401 * Request buffer for GMMR0QueryTotalBalloonSizeReq / VMMR0_DO_GMM_BALLOONED_PAGES.
     402 * @see GMMR0QueryTotalBalloonSize.
     403 */
     404typedef struct GMMBALLOONQUERY
     405{
     406    /** The header. */
     407    SUPVMMR0REQHDR      Hdr;
     408    /** The number of ballooned pages (out). */
     409    uint64_t            cBalloonedPages;
     410} GMMBALLOONQUERYREQ;
     411/** Pointer to a GMMR0QueryTotalBalloonSizeReq / VMMR0_DO_GMM_QUERY_TOTAL_BALLOON_SIZE request buffer. */
     412typedef GMMBALLOONQUERYREQ *PGMMBALLOONQUERYREQ;
     413
     414GMMR0DECL(int)  GMMR0QueryTotalBalloonSizeReq(PVM pVM, PGMMBALLOONQUERYREQ pReq);
     415
     416/**
    401417 * Request buffer for GMMR0MapUnmapChunkReq / VMMR0_DO_GMM_MAP_UNMAP_CHUNK.
    402418 * @see GMMR0MapUnmapChunk
     
    457473GMMR3DECL(int)  GMMR3SeedChunk(PVM pVM, RTR3PTR pvR3);
    458474GMMR3DECL(int)  GMMR3BalloonedPages(PVM pVM, GMMBALLOONACTION enmAction, uint32_t cBalloonedPages);
     475GMMR3DECL(int)  GMMR3QueryTotalBalloonSize(PVM pVM, uint64_t *pcTotalBalloonedPages);
    459476/** @} */
    460477#endif /* IN_RING3 */
  • trunk/include/VBox/pgm.h

    r27631 r27999  
    467467VMMR3DECL(int)      PGMR3PhysRegisterRam(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cb, const char *pszDesc);
    468468VMMR3DECL(int)      PGMR3PhysChangeMemBalloon(PVM pVM, bool fInflate, unsigned cPages, RTGCPHYS *paPhysPage);
     469VMMR3DECL(int)      PGMR3QueryBalloonSize(PVM pVM, uint64_t *puBalloonVM, uint64_t *puBalloonAllVMs);
    469470VMMR3DECL(int)      PGMR3PhysMMIORegister(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cb,
    470471                                          R3PTRTYPE(PFNPGMR3PHYSHANDLER) pfnHandlerR3, RTR3PTR pvUserR3,
  • trunk/include/VBox/vmm.h

    r27086 r27999  
    302302    /** Call GMMR0BalloonedPages(). */
    303303    VMMR0_DO_GMM_BALLOONED_PAGES,
     304    /** Call GMMR0QueryTotalBalloonSize*/
     305    VMMR0_DO_GMM_QUERY_TOTAL_BALLOON_SIZE,
    304306    /** Call GMMR0MapUnmapChunk(). */
    305307    VMMR0_DO_GMM_MAP_UNMAP_CHUNK,
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette