VirtualBox

Changeset 100970 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Aug 25, 2023 1:05:20 PM (17 months ago)
Author:
vboxsync
Message:

VMM/IEM: Flush IEM physical page TLB info from PGMR3PhysRomProtect. bugref:10369

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PGMPhys.cpp

    r100966 r100970  
    49694969VMMR3DECL(int) PGMR3PhysRomProtect(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cb, PGMROMPROT enmProt)
    49704970{
     4971    LogFlow(("PGMR3PhysRomProtect: GCPhys=%RGp cb=%RGp enmProt=%d\n", GCPhys, cb, enmProt));
     4972
    49714973    /*
    49724974     * Check input
     
    50565058
    50575059            /*
    5058              * Reset the access handler if we made changes, no need
    5059              * to optimize this.
     5060             * Reset the access handler if we made changes, no need to optimize this.
    50605061             */
    50615062            if (fChanges)
     
    50685069                    return rc2;
    50695070                }
     5071
     5072                /* Explicitly flush IEM. Not sure if this is really necessary, but better
     5073                   be on the safe side.  This shouldn't be a high volume flush source. */
     5074                IEMTlbInvalidateAllPhysicalAllCpus(pVM, NIL_VMCPUID, IEMTLBPHYSFLUSHREASON_ROM_PROTECT);
    50705075            }
    50715076
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