VirtualBox

Changeset 41743 in vbox for trunk/include/VBox/dis.h


Ignore:
Timestamp:
Jun 15, 2012 2:00:58 AM (13 years ago)
Author:
vboxsync
Message:

DISOPPARAM: s/index.reg_gen/Index.idxGenReg/ + doc

File:
1 edited

Legend:

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

    r41742 r41743  
    194194/** @name 64-bit general register indexes.
    195195 * This matches the AMD64 register encoding.  It is found used in
    196  * DISOPPARAM::base.reg_gen and DISOPPARAM::index.reg_gen.
     196 * DISOPPARAM::base.reg_gen and DISOPPARAM::Index.idxGenReg.
    197197 * @note  Safe to assume same values as the 16-bit and 32-bit general registers.
    198198 * @{
     
    218218/** @name 32-bit general register indexes.
    219219 * This matches the AMD64 register encoding.  It is found used in
    220  * DISOPPARAM::base.reg_gen and DISOPPARAM::index.reg_gen.
     220 * DISOPPARAM::base.reg_gen and DISOPPARAM::Index.idxGenReg.
    221221 * @note  Safe to assume same values as the 16-bit and 64-bit general registers.
    222222 * @{
     
    242242/** @name 16-bit general register indexes.
    243243 * This matches the AMD64 register encoding.  It is found used in
    244  * DISOPPARAM::base.reg_gen and DISOPPARAM::index.reg_gen.
     244 * DISOPPARAM::base.reg_gen and DISOPPARAM::Index.idxGenReg.
    245245 * @note  Safe to assume same values as the 32-bit and 64-bit general registers.
    246246 * @{
     
    266266/** @name 8-bit general register indexes.
    267267 * This mostly (?) matches the AMD64 register encoding.  It is found used in
    268  * DISOPPARAM::base.reg_gen and DISOPPARAM::index.reg_gen.
     268 * DISOPPARAM::base.reg_gen and DISOPPARAM::Index.idxGenReg.
    269269 * @{
    270270 */
     
    426426        uint8_t     reg_dbg;
    427427    } base;
     428    /** The SIB index register meaning, applicable if DISUSE_INDEX is
     429     * set in fUse. */
    428430    union
    429431    {
    430         /** DISGREG_XXX. */
    431         uint8_t     reg_gen;
    432     } index;
    433 
     432        /** General register index (DISGREG_XXX), applicable if DISUSE_REG_GEN8,
     433         * DISUSE_REG_GEN16, DISUSE_REG_GEN32 or DISUSE_REG_GEN64 is set in fUse. */
     434        uint8_t     idxGenReg;
     435    } Index;
    434436    /** 2, 4 or 8, if DISUSE_SCALE is set in fUse. */
    435437    uint8_t         uScale;
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