VirtualBox

Ignore:
Timestamp:
Nov 9, 2021 11:48:32 AM (3 years ago)
Author:
vboxsync
Message:

VMM/PGMAll.cpp: @todos bugref:10142

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAll.cpp

    r92285 r92286  
    14601460        else if (CPUMGetGuestCR4(pVCpu) & X86_CR4_PAE)
    14611461        {
    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
    14631468            {
    14641469                /* PD not present; guest must reload CR3 to change it.
    14651470                 * No need to monitor anything in this case. */
     1471                /** @todo r=bird: WTF is hit?!?   */
    14661472                Assert(VM_IS_RAW_MODE_ENABLED(pVM));
    14671473                GCPdPt  = uGstPdpe & X86_PDPE_PG_MASK;
    14681474                enmKind = PGMPOOLKIND_PAE_PD_PHYS;
    14691475                Assert(uGstPdpe & X86_PDPE_P); /* caller should do this already */
    1470             }
    1471             else
    1472             {
    1473                 GCPdPt  = uGstPdpe & X86_PDPE_PG_MASK;
    1474                 enmKind = PGMPOOLKIND_PAE_PD_FOR_PAE_PD;
    14751476            }
    14761477        }
     
    15881589            {
    15891590                /* 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 */
    15911592                enmKind = PGMPOOLKIND_64BIT_PDPT_FOR_PHYS;
    15921593            }
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