VirtualBox

Changeset 14754 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Nov 28, 2008 2:49:59 AM (16 years ago)
Author:
vboxsync
Message:

pgmPoolMonitorChainChanging regression fix. (grr)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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;
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