VirtualBox

Ignore:
Timestamp:
Sep 13, 2023 2:38:19 PM (17 months ago)
Author:
vboxsync
Message:

VMM/IEM: Dropped IEMTB_F_STATE_XXX as we use dedicated TBs for compiling, remove obsolete TB immediately, and don't need to consider other threads. bugref:10369

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/IEMInternal.h

    r101088 r101111  
    682682#define IEMTB_F_TYPE_NATIVE             UINT32_C(0x02000000)
    683683
    684 /** State mask.  */
    685 #define IEMTB_F_STATE_MASK              UINT32_C(0x0c000000)
    686 /** State shift count.  */
    687 #define IEMTB_F_STATE_SHIFT             26
    688 /** State: Compiling. */
    689 #define IEMTB_F_STATE_COMPILING         UINT32_C(0x04000000)
    690 /** State: Ready.  */
    691 #define IEMTB_F_STATE_READY             UINT32_C(0x08000000)
    692 /** State: Obsolete, can be deleted when we're sure it's not used any longer. */
    693 #define IEMTB_F_STATE_OBSOLETE          UINT32_C(0x0c000000)
    694 
    695684/** Set when we're starting the block in an "interrupt shadow".
    696685 * We don't need to distingish between the two types of this mask, thus the one.
    697686 * @see CPUMCTX_INHIBIT_SHADOW, CPUMIsInInterruptShadow() */
    698 #define IEMTB_F_INHIBIT_SHADOW          UINT32_C(0x10000000)
     687#define IEMTB_F_INHIBIT_SHADOW          UINT32_C(0x04000000)
    699688/** Set when we're currently inhibiting NMIs
    700689 * @see CPUMCTX_INHIBIT_NMI, CPUMAreInterruptsInhibitedByNmi() */
    701 #define IEMTB_F_INHIBIT_NMI             UINT32_C(0x20000000)
     690#define IEMTB_F_INHIBIT_NMI             UINT32_C(0x08000000)
    702691
    703692/** Checks that EIP/IP is wihin CS.LIM before each instruction.  Used when
    704693 * we're close the limit before starting a TB, as determined by
    705694 * iemGetTbFlagsForCurrentPc(). */
    706 #define IEMTB_F_CS_LIM_CHECKS           UINT32_C(0x40000000)
     695#define IEMTB_F_CS_LIM_CHECKS           UINT32_C(0x10000000)
    707696
    708697/** Mask of the IEMTB_F_XXX flags that are part of the TB lookup key.
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