VirtualBox

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


Ignore:
Timestamp:
Aug 27, 2008 4:27:13 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
35446
Message:

Wrong check for state free.

File:
1 edited

Legend:

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

    r11711 r11713  
    495495                {
    496496                    /* It might have been freed already by a pool flush (see e.g. PGMR3MappingsUnfix). */
    497                     if (pgmPoolGetPage(pPool, pVM->pgm.s.pHCShwAmd64CR3->GCPhys))
     497                    if (pVM->pgm.s.pHCShwAmd64CR3->enmKind != PGMPOOLKIND_FREE)
    498498                        pgmPoolFreeByPage(pPool, pVM->pgm.s.pHCShwAmd64CR3, PGMPOOL_IDX_AMD64_CR3, pVM->pgm.s.pHCShwAmd64CR3->GCPhys >> PAGE_SHIFT);
    499499                    pVM->pgm.s.pHCShwAmd64CR3 = 0;
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