VirtualBox

Changeset 48898 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Oct 4, 2013 8:01:01 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
89578
Message:

VMM,DBGC: Implemented DBGFR3RegNmSet and made the debugger side work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/dbgf.h

    r48694 r48898  
    12861286typedef union DBGFREGVAL
    12871287{
     1288    uint64_t    au64[2];        /**< The 64-bit array view. First because of the initializer. */
     1289    uint32_t    au32[4];        /**< The 32-bit array view. */
     1290    uint16_t    au16[8];        /**< The 16-bit array view. */
     1291    uint8_t     au8[16];        /**< The 8-bit array view. */
     1292
    12881293    uint8_t     u8;             /**< The 8-bit view. */
    12891294    uint16_t    u16;            /**< The 16-bit view. */
     
    13021307    }           dtr;
    13031308
    1304     uint8_t     au8[16];        /**< The 8-bit array view.  */
    1305     uint16_t    au16[8];        /**< The 16-bit array view.  */
    1306     uint32_t    au32[4];        /**< The 32-bit array view.  */
    1307     uint64_t    au64[2];        /**< The 64-bit array view.  */
    13081309    RTUINT128U  u;
    13091310} DBGFREGVAL;
     
    13121313/** Pointer to a const generic register value type. */
    13131314typedef DBGFREGVAL const *PCDBGFREGVAL;
     1315
     1316/** Initialize a DBGFREGVAL variable to all zeros.  */
     1317#define DBGFREGVAL_INITIALIZE_ZERO { { 0, 0 } }
     1318/** Initialize a DBGFREGVAL variable to all bits set .  */
     1319#define DBGFREGVAL_INITIALIZE_FFFF { { UINT64_MAX, UINT64_MAX } }
     1320
    13141321
    13151322VMMDECL(ssize_t) DBGFR3RegFormatValue(char *pszBuf, size_t cbBuf, PCDBGFREGVAL pValue, DBGFREGVALTYPE enmType, bool fSpecial);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette