Changeset 27086 in vbox for trunk/include
- Timestamp:
- Mar 5, 2010 1:15:42 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 58410
- Location:
- trunk/include/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/gmm.h
r26606 r27086 371 371 /** The number of ballooned pages. */ 372 372 uint32_t cBalloonedPages; 373 /** The number of pages to free. */ 374 uint32_t cPagesToFree; 375 /** Whether the ballooning request is completed or more pages are still to come. */ 376 bool fCompleted; 377 /** Array of free page descriptors. */ 378 GMMFREEPAGEDESC aPages[1]; 373 /** Inflate or deflate the balloon. */ 374 bool fInflate; 379 375 } GMMBALLOONEDPAGESREQ; 380 376 /** Pointer to a GMMR0BalloonedPagesReq / VMMR0_DO_GMM_BALLOONED_PAGES request buffer. */ … … 440 436 GMMR3DECL(int) GMMR3AllocateLargePage(PVM pVM, uint32_t cbPage); 441 437 GMMR3DECL(int) GMMR3FreeLargePage(PVM pVM, uint32_t idPage); 442 GMMR3DECL(int) GMMR3DeflatedBalloon(PVM pVM, uint32_t cPages);443 438 GMMR3DECL(int) GMMR3MapUnmapChunk(PVM pVM, uint32_t idChunkMap, uint32_t idChunkUnmap, PRTR3PTR ppvR3); 444 439 GMMR3DECL(int) GMMR3SeedChunk(PVM pVM, RTR3PTR pvR3); 440 GMMR3DECL(int) GMMR3BalloonedPages(PVM pVM, bool fInflate, uint32_t cBalloonedPages); 445 441 /** @} */ 446 442 #endif /* IN_RING3 */ -
trunk/include/VBox/pgm.h
r26685 r27086 465 465 466 466 VMMR3DECL(int) PGMR3PhysRegisterRam(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cb, const char *pszDesc); 467 VMMR3DECL(int) PGMR3Phys FreeRamPages(PVM pVM, unsigned cPages, RTGCPHYS *paPhysPage);467 VMMR3DECL(int) PGMR3PhysChangeMemBalloon(PVM pVM, bool fInflate, unsigned cPages, RTGCPHYS *paPhysPage); 468 468 VMMR3DECL(int) PGMR3PhysMMIORegister(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cb, 469 469 R3PTRTYPE(PFNPGMR3PHYSHANDLER) pfnHandlerR3, RTR3PTR pvUserR3, -
trunk/include/VBox/vmm.h
r26606 r27086 302 302 /** Call GMMR0BalloonedPages(). */ 303 303 VMMR0_DO_GMM_BALLOONED_PAGES, 304 /** Call GMMR0DeflatedBalloon(). */305 VMMR0_DO_GMM_DEFLATED_BALLOON,306 304 /** Call GMMR0MapUnmapChunk(). */ 307 305 VMMR0_DO_GMM_MAP_UNMAP_CHUNK,
Note:
See TracChangeset
for help on using the changeset viewer.