VirtualBox

Changeset 97231 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Oct 19, 2022 9:12:57 AM (2 years ago)
Author:
vboxsync
Message:

VMM/CPUM: Define our own X86EFLAGS/X86RFLAGS structures so we can use reserved bits for internal state.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/x86.h

    r96977 r97231  
    231231/** Read as 1 bits. */
    232232#define X86_EFL_RA1_MASK    RT_BIT_32(1)
     233/** Read as 0 bits, excluding bits 31:22.
     234 * Bits 3, 5, 15, and 22 thru 31. */
     235#define X86_EFL_RAZ_MASK    UINT32_C(0xffc08028)
     236/** Read as 0 bits, excluding bits 31:22.
     237 * Bits 3, 5 and 15. */
     238#define X86_EFL_RAZ_LO_MASK UINT32_C(0x00008028)
    233239/** IOPL shift. */
    234240#define X86_EFL_IOPL_SHIFT  12
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