VirtualBox

Ignore:
Timestamp:
Sep 15, 2021 12:49:25 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146909
Message:

VMM/IEM: Add CR0.CD and CR0.NW to conditions for calling PGMFlushTLB while loading CR0.

File:
1 edited

Legend:

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

    r86185 r91251  
    58665866             * Inform PGM.
    58675867             */
    5868             if (    (uNewCrX & (X86_CR0_PG | X86_CR0_WP | X86_CR0_PE))
    5869                 !=  (uOldCrX & (X86_CR0_PG | X86_CR0_WP | X86_CR0_PE)) )
     5868            if (    (uNewCrX & (X86_CR0_PG | X86_CR0_WP | X86_CR0_PE | X86_CR0_CD | X86_CR0_NW))
     5869                !=  (uOldCrX & (X86_CR0_PG | X86_CR0_WP | X86_CR0_PE | X86_CR0_CD | X86_CR0_NW)) )
    58705870            {
    58715871                rc = PGMFlushTLB(pVCpu, pVCpu->cpum.GstCtx.cr3, true /* global */);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette