VirtualBox

Changeset 72131 in vbox for trunk/include


Ignore:
Timestamp:
May 5, 2018 12:02:40 AM (7 years ago)
Author:
vboxsync
Message:

x86.h: RTM debug register defines.

File:
1 edited

Legend:

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

    r72127 r72131  
    932932/** Bit 15 - BT - Task switch. (TSS T bit.) */
    933933#define X86_DR6_BT                          RT_BIT_32(15)
     934/** Bit 16 - RTM - Cleared if debug exception inside RTM (@sa X86_DR7_RTM). */
     935#define X86_DR6_RTM                         RT_BIT_32(16)
    934936/** Value of DR6 after powerup/reset. */
    935937#define X86_DR6_INIT_VAL                    UINT64_C(0xFFFF0FF0)
    936938/** Bits which must be 1s in DR6. */
    937939#define X86_DR6_RA1_MASK                    UINT64_C(0xffff0ff0)
     940/** Bits which must be 1s in DR6, when RTM is supported. */
     941#define X86_DR6_RA1_MASK_RTM                UINT64_C(0xfffe0ff0)
    938942/** Bits which must be 0s in DR6. */
    939943#define X86_DR6_RAZ_MASK                    RT_BIT_64(12)
     
    974978#define X86_DR7_GE_ALL                      UINT64_C(0x00000000000000aa)
    975979
     980/** Bit 11 - RTM - Enable advanced debugging of RTM transactions.
     981 * Requires IA32_DEBUGCTL.RTM=1 too, and RTM HW support of course.  */
     982#define X86_DR7_RTM                         RT_BIT_32(11)
    976983/** Bit 12 - IR (ICE) - Interrupt redirection on Pentium.  When set, the in
    977984 * Circuit Emulator (ICE) will break emulation on breakpoints and stuff.
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