VirtualBox

Changeset 43163 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Sep 4, 2012 2:12:53 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
80548
Message:

VMM: A wee bit page pool paranoia related to #6349.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/PGMInternal.h

    r43045 r43163  
    24462446# define PGMPOOL_PAGE_2_PTR(a_pVM, a_pPage)     pgmPoolMapPageInlined((a_pVM), (a_pPage) RTLOG_COMMA_SRC_POS)
    24472447#elif defined(VBOX_STRICT) || 1 /* temporarily going strict here */
    2448 # define PGMPOOL_PAGE_2_PTR(a_pVM, a_pPage)     pgmPoolMapPageStrict(a_pPage)
    2449 DECLINLINE(void *) pgmPoolMapPageStrict(PPGMPOOLPAGE a_pPage)
     2448# define PGMPOOL_PAGE_2_PTR(a_pVM, a_pPage)     pgmPoolMapPageStrict(a_pPage, __FUNCTION__)
     2449DECLINLINE(void *) pgmPoolMapPageStrict(PPGMPOOLPAGE a_pPage, const char *pszCaller)
    24502450{
    24512451    AssertPtr(a_pPage);
    2452     AssertReleaseMsg(RT_VALID_PTR(a_pPage->pvPageR3), ("enmKind=%d idx=%#x HCPhys=%RHp GCPhys=%RGp\n", a_pPage->enmKind, a_pPage->idx, a_pPage->Core.Key, a_pPage->GCPhys));
     2452    AssertReleaseMsg(RT_VALID_PTR(a_pPage->pvPageR3), ("enmKind=%d idx=%#x HCPhys=%RHp GCPhys=%RGp caller=%s\n", a_pPage->enmKind, a_pPage->idx, a_pPage->Core.Key, a_pPage->GCPhys, pszCaller));
    24532453    return a_pPage->pvPageR3;
    24542454}
     
    37503750    /** Pointer to the page of the current active CR3 - RC Ptr. */
    37513751    RCPTRTYPE(PPGMPOOLPAGE)         pShwPageCR3RC;
    3752     /* The shadow page pool index of the user table as specified during allocation; useful for freeing root pages */
     3752    /** The shadow page pool index of the user table as specified during
     3753     * allocation; useful for freeing root pages. */
    37533754    uint32_t                        iShwUser;
    3754     /* The index into the user table (shadowed) as specified during allocation; useful for freeing root pages. */
     3755    /** The index into the user table (shadowed) as specified during allocation;
     3756     * useful for freeing root pages. */
    37553757    uint32_t                        iShwUserTable;
    37563758# if HC_ARCH_BITS == 64
Note: See TracChangeset for help on using the changeset viewer.

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