VirtualBox

Changeset 14754

Show
Ignore:
Timestamp:
11/28/08 03:49:59 (1 month ago)
Author:
vboxsync
Message:

pgmPoolMonitorChainChanging regression fix. (grr)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r14753 r14754  
    432432            { 
    433433                unsigned iGst     = off / sizeof(X86PDE);           // ASSUMING 32-bit guest paging! 
    434                 unsigned iShwPdpt = iGst % 256; 
    435                 unsigned iShw     = iGst / 2; 
     434                unsigned iShwPdpt = iGst / 256; 
     435                unsigned iShw     = (iGst % 256) * 2; 
    436436                Assert(pPage->idx == PGMPOOL_IDX_PAE_PD); 
    437437                PPGMPOOLPAGE pPage2 = pPage + 1 + iShwPdpt; 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy