VirtualBox

Changeset 72127 in vbox for trunk/include


Ignore:
Timestamp:
May 4, 2018 10:11:44 PM (7 years ago)
Author:
vboxsync
Message:

x86.h: Made X86_DR7_XXXX defines better suited for 16-bit compilers.

File:
1 edited

Legend:

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

    r71755 r72127  
    10301030 * @{ */
    10311031/** Break on instruction fetch only. */
    1032 #define X86_DR7_RW_EO                       0U
     1032#define X86_DR7_RW_EO                       UINT32_C(0)
    10331033/** Break on write only. */
    1034 #define X86_DR7_RW_WO                       1U
     1034#define X86_DR7_RW_WO                       UINT32_C(1)
    10351035/** Break on I/O read/write. This is only defined if CR4.DE is set. */
    1036 #define X86_DR7_RW_IO                       2U
     1036#define X86_DR7_RW_IO                       UINT32_C(2)
    10371037/** Break on read or write (but not instruction fetches). */
    1038 #define X86_DR7_RW_RW                       3U
     1038#define X86_DR7_RW_RW                       UINT32_C(3)
    10391039/** @} */
    10401040
     
    10761076/** @name Length values.
    10771077 * @{ */
    1078 #define X86_DR7_LEN_BYTE                    0U
    1079 #define X86_DR7_LEN_WORD                    1U
    1080 #define X86_DR7_LEN_QWORD                   2U /**< AMD64 long mode only. */
    1081 #define X86_DR7_LEN_DWORD                   3U
     1078#define X86_DR7_LEN_BYTE                    UINT32_C(0)
     1079#define X86_DR7_LEN_WORD                    UINT32_C(1)
     1080#define X86_DR7_LEN_QWORD                   UINT32_C(2) /**< AMD64 long mode only. */
     1081#define X86_DR7_LEN_DWORD                   UINT32_C(3)
    10821082/** @} */
    10831083
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