VirtualBox

Changeset 60899 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 9, 2016 3:44:49 PM (9 years ago)
Author:
vboxsync
Message:

PGMAllBth.h: Improved assertion so it's possible to tell if it's valid.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r60867 r60899  
    10701070#   endif
    10711071#   ifdef VBOX_STRICT
    1072                 RTGCPHYS GCPhys2;
    1073                 uint64_t fPageGst;
     1072                RTGCPHYS GCPhys2 = RTGCPHYS_MAX;
     1073                uint64_t fPageGst = UINT64_MAX;
    10741074                if (!pVM->pgm.s.fNestedPaging)
    10751075                {
     
    10811081                rc = PGMShwGetPage(pVCpu, pvFault, &fPageShw, NULL);
    10821082                AssertMsg((RT_SUCCESS(rc) && (fPageShw & X86_PTE_RW)) || pVM->cCpus > 1 /* new monitor can be installed/page table flushed between the trap exit and PGMTrap0eHandler */,
    1083                           ("rc=%Rrc fPageShw=%RX64\n", rc, fPageShw));
     1083                          ("rc=%Rrc fPageShw=%RX64 GCPhys2=%RGp fPageGst=%RX64\n", rc, fPageShw, GCPhys2, fPageGst)); /* Bogus? Can we end up mapping MMIO here for instance, or is that handled above already?  */
    10841084#   endif /* VBOX_STRICT */
    10851085                STAM_STATS({ pVCpu->pgm.s.CTX_SUFF(pStatTrap0eAttribution) = &pVCpu->pgm.s.CTX_SUFF(pStats)->StatRZTrap0eTime2OutOfSyncHndObs; });
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