Changeset 14754 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Nov 28, 2008 2:49:59 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r14753 r14754 432 432 { 433 433 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; 436 436 Assert(pPage->idx == PGMPOOL_IDX_PAE_PD); 437 437 PPGMPOOLPAGE pPage2 = pPage + 1 + iShwPdpt;
Note:
See TracChangeset
for help on using the changeset viewer.