Changeset 31978 in vbox for trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
- Timestamp:
- Aug 26, 2010 10:04:54 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 65217
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r31870 r31978 4915 4915 } 4916 4916 4917 4918 /** 4919 * Internal worker for finding a page for debugging purposes, no assertions. 4920 * 4921 * @returns Pointer to the shadow page structure. NULL on if not found. 4922 * @param pPool The pool. 4923 * @param HCPhys The HC physical address of the shadow page. 4924 */ 4925 PPGMPOOLPAGE pgmPoolQueryPageForDbg(PPGMPOOL pPool, RTHCPHYS HCPhys) 4926 { 4927 PVM pVM = pPool->CTX_SUFF(pVM); 4928 Assert(PGMIsLockOwner(pVM)); 4929 return (PPGMPOOLPAGE)RTAvloHCPhysGet(&pPool->HCPhysTree, HCPhys & X86_PTE_PAE_PG_MASK_FULL); 4930 } 4931 4932 4917 4933 #ifdef IN_RING3 /* currently only used in ring 3; save some space in the R0 & GC modules (left it here as we might need it elsewhere later on) */ 4918 4934 /**
Note:
See TracChangeset
for help on using the changeset viewer.