VirtualBox

Changeset 47719 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Aug 14, 2013 10:34:44 AM (11 years ago)
Author:
vboxsync
Message:

No MMIO2 aliasing when doing full IEM verification runs.

Location:
trunk/src/VBox/VMM/VMMAll
Files:
2 edited

Legend:

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

    r47543 r47719  
    24242424VMMDECL(int) IOMMMIOMapMMIO2Page(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS GCPhysRemapped, uint64_t fPageFlags)
    24252425{
     2426# ifndef IEM_VERIFICATION_MODE_FULL
    24262427    /* Currently only called from the VGA device during MMIO. */
    24272428    Log(("IOMMMIOMapMMIO2Page %RGp -> %RGp flags=%RX64\n", GCPhys, GCPhysRemapped, fPageFlags));
     
    24662467     * Note: This is a NOP in the EPT case; we'll just let it fault again to resync the page.
    24672468     */
    2468 #if 0 /* The assertion is wrong for the PGM_SYNC_CLEAR_PGM_POOL and VINF_PGM_HANDLER_ALREADY_ALIASED cases. */
    2469 # ifdef VBOX_STRICT
     2469#  if 0 /* The assertion is wrong for the PGM_SYNC_CLEAR_PGM_POOL and VINF_PGM_HANDLER_ALREADY_ALIASED cases. */
     2470#   ifdef VBOX_STRICT
    24702471    uint64_t fFlags;
    24712472    RTHCPHYS HCPhys;
    24722473    rc = PGMShwGetPage(pVCpu, (RTGCPTR)GCPhys, &fFlags, &HCPhys);
    24732474    Assert(rc == VERR_PAGE_NOT_PRESENT || rc == VERR_PAGE_TABLE_NOT_PRESENT);
    2474 # endif
    2475 #endif
     2475#   endif
     2476#  endif
    24762477    rc = PGMPrefetchPage(pVCpu, (RTGCPTR)GCPhys);
    24772478    Assert(rc == VINF_SUCCESS || rc == VERR_PAGE_NOT_PRESENT || rc == VERR_PAGE_TABLE_NOT_PRESENT);
     2479# endif /* !IEM_VERIFICATION_MODE_FULL */
    24782480    return VINF_SUCCESS;
    24792481}
    24802482
    24812483
     2484# ifndef IEM_VERIFICATION_MODE_FULL
    24822485/**
    24832486 * Mapping a HC page in place of an MMIO page for direct access.
     
    25332536    return VINF_SUCCESS;
    25342537}
     2538#endif /* !IEM_VERIFICATION_MODE_FULL */
    25352539
    25362540
  • trunk/src/VBox/VMM/VMMAll/PGMAllHandler.cpp

    r46420 r47719  
    10041004}
    10051005
     1006#ifndef IEM_VERIFICATION_MODE_FULL
    10061007
    10071008/**
     
    11301131    return VERR_PGM_HANDLER_NOT_FOUND;
    11311132}
     1133
    11321134
    11331135/**
     
    12351237}
    12361238
     1239#endif /* !IEM_VERIFICATION_MODE_FULL */
    12371240
    12381241/**
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