VirtualBox

Changeset 10342

Show
Ignore:
Timestamp:
07/07/08 19:22:16 (5 months ago)
Author:
vboxsync
Message:

Clear old cr3 values before attempting to allocate a new page from our pool.

Files:

Legend:

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

    r10340 r10342  
    489489                    pgmPoolFreeByPage(pPool, pVM->pgm.s.pHCShwAmd64CR3, PGMPOOL_IDX_AMD64_CR3, pVM->pgm.s.pHCShwAmd64CR3->GCPhys >> PAGE_SHIFT); 
    490490                    pVM->pgm.s.pHCShwAmd64CR3 = 0; 
     491                    pVM->pgm.s.pHCPaePML4     = 0; 
     492                    pVM->pgm.s.HCPhysPaePML4  = 0; 
    491493                } 
    492494 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy