VirtualBox

Changeset 92585 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Nov 24, 2021 10:40:08 AM (3 years ago)
Author:
vboxsync
Message:

VMM: Nested VMX: bugref:10092 Renamed fPdpesMapped as it's rather misleading. More importantly CR3 is mapped and in case of PAE paging, the PAE PDPTEs have been mapped.

Location:
trunk/src/VBox/VMM/VMMAll
Files:
2 edited

Legend:

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

    r92583 r92585  
    39183918    if ((uNewCr0 & X86_CR0_PE) != (uOldCr0 & X86_CR0_PE))
    39193919    {
    3920         int rc = PGMFlushTLB(pVCpu, pVCpu->cpum.GstCtx.cr3, true /* global */, false /* fPdpesMapped */);
     3920        int rc = PGMFlushTLB(pVCpu, pVCpu->cpum.GstCtx.cr3, true /* global */, false /* fCr3Mapped */);
    39213921        AssertRCReturn(rc, rc);
    39223922        /* ignore informational status codes */
     
    67506750
    67516751                /* Invalidate mappings for the linear address tagged with PCID except global translations. */
    6752                 PGMFlushTLB(pVCpu, uCr3, false /* fGlobal */, false /* fPdpesMapped */);
     6752                PGMFlushTLB(pVCpu, uCr3, false /* fGlobal */, false /* fCr3Mapped */);
    67536753                break;
    67546754            }
     
    67636763                }
    67646764                /* Invalidate all mappings associated with PCID except global translations. */
    6765                 PGMFlushTLB(pVCpu, uCr3, false /* fGlobal */, false /* fPdpesMapped */);
     6765                PGMFlushTLB(pVCpu, uCr3, false /* fGlobal */, false /* fCr3Mapped */);
    67666766                break;
    67676767            }
     
    67696769            case X86_INVPCID_TYPE_ALL_CONTEXT_INCL_GLOBAL:
    67706770            {
    6771                 PGMFlushTLB(pVCpu, uCr3, true /* fGlobal */, false /* fPdpesMapped */);
     6771                PGMFlushTLB(pVCpu, uCr3, true /* fGlobal */, false /* fCr3Mapped */);
    67726772                break;
    67736773            }
     
    67756775            case X86_INVPCID_TYPE_ALL_CONTEXT_EXCL_GLOBAL:
    67766776            {
    6777                 PGMFlushTLB(pVCpu, uCr3, false /* fGlobal */, false /* fPdpesMapped */);
     6777                PGMFlushTLB(pVCpu, uCr3, false /* fGlobal */, false /* fCr3Mapped */);
    67786778                break;
    67796779            }
  • trunk/src/VBox/VMM/VMMAll/NEMAllNativeTemplate-win.cpp.h

    r92583 r92585  
    497497        if (rc == VERR_NEM_FLUSH_TLB)
    498498        {
    499             rc = PGMFlushTLB(pVCpu, pVCpu->cpum.GstCtx.cr3, true /*fGlobal*/, false /*fPdpesMapped*/);
     499            rc = PGMFlushTLB(pVCpu, pVCpu->cpum.GstCtx.cr3, true /*fGlobal*/, false /*fCr3Mapped*/);
    500500            return rc;
    501501        }
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