VirtualBox

Ignore:
Timestamp:
Aug 26, 2010 10:04:54 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
65217
Message:

PGM,DBC,MM: Dump more information about shadow/guest pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r31870 r31978  
    49154915}
    49164916
     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 */
     4925PPGMPOOLPAGE 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
    49174933#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) */
    49184934/**
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette