Changeset 92286 in vbox for trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
- Timestamp:
- Nov 9, 2021 11:48:32 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r92285 r92286 1460 1460 else if (CPUMGetGuestCR4(pVCpu) & X86_CR4_PAE) 1461 1461 { 1462 if (!(uGstPdpe & X86_PDPE_P)) 1462 if (uGstPdpe & X86_PDPE_P) 1463 { 1464 GCPdPt = uGstPdpe & X86_PDPE_PG_MASK; 1465 enmKind = PGMPOOLKIND_PAE_PD_FOR_PAE_PD; 1466 } 1467 else 1463 1468 { 1464 1469 /* PD not present; guest must reload CR3 to change it. 1465 1470 * No need to monitor anything in this case. */ 1471 /** @todo r=bird: WTF is hit?!? */ 1466 1472 Assert(VM_IS_RAW_MODE_ENABLED(pVM)); 1467 1473 GCPdPt = uGstPdpe & X86_PDPE_PG_MASK; 1468 1474 enmKind = PGMPOOLKIND_PAE_PD_PHYS; 1469 1475 Assert(uGstPdpe & X86_PDPE_P); /* caller should do this already */ 1470 }1471 else1472 {1473 GCPdPt = uGstPdpe & X86_PDPE_PG_MASK;1474 enmKind = PGMPOOLKIND_PAE_PD_FOR_PAE_PD;1475 1476 } 1476 1477 } … … 1588 1589 { 1589 1590 /* AMD-V nested paging or real/protected mode without paging */ 1590 GCPml4 = (RTGCPTR64)iPml4 << X86_PML4_SHIFT; 1591 GCPml4 = (RTGCPTR64)iPml4 << X86_PML4_SHIFT; /** @todo bogus calculation for PML5 */ 1591 1592 enmKind = PGMPOOLKIND_64BIT_PDPT_FOR_PHYS; 1592 1593 }
Note:
See TracChangeset
for help on using the changeset viewer.