VirtualBox

Changeset 13582 in vbox for trunk/src


Ignore:
Timestamp:
Oct 27, 2008 2:46:35 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
38486
Message:

Invalidate the current pml4 phys pointer properly when changing cr3.

File:
1 edited

Legend:

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

    r13232 r13582  
    564564    {
    565565        pVM->pgm.s.pHCPaePML4    = 0;
     566        pVM->pgm.s.HCPhysPaePML4 = 0;
    566567        if (pVM->pgm.s.pHCShwAmd64CR3)
    567568        {
    568569            PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool);
    569570            pgmPoolFreeByPage(pPool, pVM->pgm.s.pHCShwAmd64CR3, PGMPOOL_IDX_AMD64_CR3, pVM->pgm.s.pHCShwAmd64CR3->GCPhys >> PAGE_SHIFT);
    570             pVM->pgm.s.pHCShwAmd64CR3 = NULL;
     571            pVM->pgm.s.pHCShwAmd64CR3 = 0;
    571572        }
    572573    }
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