VirtualBox

Changeset 6836 in vbox for trunk/include


Ignore:
Timestamp:
Feb 6, 2008 7:59:53 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
27955
Message:

Added ring-3 request wrapper for GMMR0AllocatePages that takes care of seeding and VMSetError.

File:
1 edited

Legend:

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

    r6800 r6836  
    250250
    251251
    252 GMMR3DECL(int)  GMMR3InitialReservation(PVM pVM, uint64_t cBasePages, uint32_t cShadowPages, uint32_t cFixedPages,
    253                                         GMMOCPOLICY enmPolicy, GMMPRIORITY enmPriority);
    254 GMMR3DECL(int)  GMMR3UpdateReservation(PVM pVM, uint64_t cBasePages, uint32_t cShadowPages, uint32_t cFixedPages);
    255 GMMR3DECL(int)  GMMR3DeflatedBalloon(PVM pVM, uint32_t cPages);
    256 GMMR3DECL(int)  GMMR3MapUnmapChunk(PVM pVM, uint32_t idChunkMap, uint32_t idChunkUnmap, PRTR3PTR ppvR3);
    257 GMMR3DECL(int)  GMMR3SeedChunk(PVM pVM, RTR3PTR pvR3);
    258 
    259 
    260252
    261253/**
     
    383375
    384376
     377#ifdef IN_RING3
     378/** @defgroup grp_gmm_r3    The Global Memory Manager Ring-3 API Wrappers
     379 * @ingroup grp_gmm
     380 * @{
     381 */
     382GMMR3DECL(int)  GMMR3InitialReservation(PVM pVM, uint64_t cBasePages, uint32_t cShadowPages, uint32_t cFixedPages,
     383                                        GMMOCPOLICY enmPolicy, GMMPRIORITY enmPriority);
     384GMMR3DECL(int)  GMMR3UpdateReservation(PVM pVM, uint64_t cBasePages, uint32_t cShadowPages, uint32_t cFixedPages);
     385GMMR3DECL(int)  GMMR3AllocatePagesPrepare(PVM pVM, PGMMALLOCATEPAGESREQ *ppReq, uint32_t cPages, GMMACCOUNT enmAccount);
     386GMMR3DECL(int)  GMMR3AllocatePagesPerform(PVM pVM, PGMMALLOCATEPAGESREQ pReq);
     387GMMR3DECL(void) GMMR3AllocatePagesCleanup(PGMMALLOCATEPAGESREQ pReq);
     388GMMR3DECL(int)  GMMR3DeflatedBalloon(PVM pVM, uint32_t cPages);
     389GMMR3DECL(int)  GMMR3MapUnmapChunk(PVM pVM, uint32_t idChunkMap, uint32_t idChunkUnmap, PRTR3PTR ppvR3);
     390GMMR3DECL(int)  GMMR3SeedChunk(PVM pVM, RTR3PTR pvR3);
    385391/** @} */
     392#endif /* IN_RING3 */
     393
     394/** @} */
    386395
    387396__END_DECLS
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