Changeset 29620 in vbox for trunk/src/VBox/VMM/GMM.cpp
- Timestamp:
- May 18, 2010 12:15:55 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 61772
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/GMM.cpp
r29613 r29620 290 290 * @see GMMR0QueryVMMMemoryStatsReq 291 291 */ 292 GMMR3DECL(int) GMMR3QueryHypervisorMemoryStats(PVM pVM, uint64_t *pcTotalAllocPages, uint64_t *pcTotalFreePages, uint64_t *pcTotalBalloonPages )292 GMMR3DECL(int) GMMR3QueryHypervisorMemoryStats(PVM pVM, uint64_t *pcTotalAllocPages, uint64_t *pcTotalFreePages, uint64_t *pcTotalBalloonPages, uint64_t *puTotalBalloonSize) 293 293 { 294 294 GMMMEMSTATSREQ Req; … … 298 298 Req.cFreePages = 0; 299 299 Req.cBalloonedPages = 0; 300 Req.cSharedPages = 0; 300 301 301 302 *pcTotalAllocPages = 0; 302 303 *pcTotalFreePages = 0; 303 304 *pcTotalBalloonPages = 0; 305 *puTotalBalloonSize = 0; 304 306 305 307 /* Must be callable from any thread, so can't use VMMR3CallR0. */ … … 310 312 *pcTotalFreePages = Req.cFreePages; 311 313 *pcTotalBalloonPages = Req.cBalloonedPages; 314 *puTotalBalloonSize = Req.cSharedPages; 312 315 } 313 316 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.