Changeset 30488 in vbox for trunk/src/VBox/VMM/GMM.cpp
- Timestamp:
- Jun 29, 2010 9:02:04 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 63179
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/GMM.cpp
r30344 r30488 419 419 return VMMR3CallR0(pVM, VMMR0_DO_GMM_CHECK_SHARED_MODULES, 0, NULL); 420 420 } 421 422 #if defined(VBOX_STRICT) && HC_ARCH_BITS == 64 423 /** 424 * @see GMMR0FindDuplicatePage 425 */ 426 GMMR3DECL(bool) GMMR3IsDuplicatePage(PVM pVM, uint32_t idPage) 427 { 428 GMMFINDDUPLICATEPAGEREQ Req; 429 Req.Hdr.u32Magic = SUPVMMR0REQHDR_MAGIC; 430 Req.Hdr.cbReq = sizeof(Req); 431 Req.idPage = idPage; 432 Req.fDuplicate = false; 433 434 int rc = VMMR3CallR0(pVM, VMMR0_DO_GMM_FIND_DUPLICATE_PAGE, 0, &Req.Hdr); 435 if (rc == VINF_SUCCESS) 436 return Req.fDuplicate; 437 else 438 return false; 439 } 440 #endif /* VBOX_STRICT && HC_ARCH_BITS == 64 */ 441
Note:
See TracChangeset
for help on using the changeset viewer.