VirtualBox

Changeset 12600 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Sep 19, 2008 1:07:44 PM (16 years ago)
Author:
vboxsync
Message:

Turned dr0..dr7 into an array.

Location:
trunk/include/VBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/cpum.h

    r12578 r12600  
    307307    /** Debug registers.
    308308     * @{ */
    309     uint64_t        dr0;
    310     uint64_t        dr1;
    311     uint64_t        dr2;
    312     uint64_t        dr3;
    313     uint64_t        dr4; /**< @todo remove dr4 and dr5. */
    314     uint64_t        dr5;
    315     uint64_t        dr6;
    316     uint64_t        dr7;
     309    uint64_t        dr[8];
    317310    /* DR8-15 are currently not supported */
    318311    /** @} */
  • trunk/include/VBox/cpum.mac

    r10648 r12600  
    164164    .cr4            resq    1
    165165
    166     .dr0            resq    1
    167     .dr1            resq    1
    168     .dr2            resq    1
    169     .dr3            resq    1
    170     .dr4            resq    1
    171     .dr5            resq    1
    172     .dr6            resq    1
    173     .dr7            resq    1
     166    .dr             resq    8
    174167
    175168    .gdtr           resb    10          ; GDT limit + linear address
  • trunk/include/VBox/x86.h

    r12578 r12600  
    721721#define X86_DR7_ENABLED_MASK                (RT_BIT(0) | RT_BIT(1) | RT_BIT(2) | RT_BIT(3) | RT_BIT(4) | RT_BIT(5) | RT_BIT(6) | RT_BIT(7))
    722722
     723/** Mask used to check if any io breakpoints are set. */
     724#define X86_DR7_IO_ENABLED_MASK             (X86_DR7_RW(0, X86_DR7_RW_IO) | X86_DR7_RW(1, X86_DR7_RW_IO) | X86_DR7_RW(2, X86_DR7_RW_IO) | X86_DR7_RW(3, X86_DR7_RW_IO))
     725
    723726/** Value of DR7 after powerup/reset. */
    724727#define X86_DR7_INIT_VAL                    0x400
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