VirtualBox

Ignore:
Timestamp:
Mar 6, 2017 9:24:32 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
113784
Message:

bs3-cpu-generated-1: updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-generated-1.h

    r65931 r65959  
    4848    BS3CG1OP_Gv,
    4949
     50    BS3CG1OP_Ib,
     51    BS3CG1OP_Iz,
     52
     53    BS3CG1OP_AL,
     54    BS3CG1OP_rAX,
     55
    5056    BS3CG1OP_END
    5157} BS3CG1OP;
     
    6470    BS3CG1ENC_INVALID = 0,
    6571
    66     BS3CG1ENC_FIXED_Iz,
    67     BS3CG1ENC_FIXED_FIRST = BS3CG1ENC_FIXED_Iz,
    68     BS3CG1ENC_FIXED_Iv,
    69 
    7072    BS3CG1ENC_MODRM_Eb_Gb,
    7173    BS3CG1ENC_MODRM_Ev_Gv,
    7274
     75    BS3CG1ENC_FIXED_AL_Ib,
     76    BS3CG1ENC_FIXED_rAX_Iz,
     77
    7378    BS3CG1ENC_END
    7479} BS3CG1ENC;
     
    7681
    7782/**
     83 * Prefix sensitivitiy kind.
     84 */
     85typedef enum BS3CGPFXKIND
     86{
     87    BS3CGPFXKIND_INVALID = 0,
     88
     89    BS3CGPFXKIND_MODRM,
     90    BS3CGPFXKIND_MODRM_NO_OP_SIZES,
     91
     92    BS3CGPFXKIND_END
     93} BS3CGPFXKIND;
     94
     95
     96/**
    7897 * Generated instruction info.
    7998 */
     
    81100{
    82101    /** The opcode size.   */
    83     uint32_t    cbOpcode : 2;
     102    uint32_t    cbOpcodes : 2;
    84103    /** The number of operands.   */
    85104    uint32_t    cOperands : 2;
     
    92111    /** BS3CG1ENC values. */
    93112    uint32_t    enmEncoding : 10;
    94     /** BS3CG1ENC values. */
    95     uint32_t    uUnused : 22;
     113    /** BS3CGPFXKIND values. */
     114    uint32_t    enmPrefixKind : 4;
     115    /** Currently unused bits. */
     116    uint32_t    uUnused : 18;
    96117    /** BS3CG1INSTR_F_XXX. */
    97118    uint32_t    fFlags;
     
    104125/** @name BS3CG1INSTR_F_XXX
    105126 * @{ */
    106 #define BS3CG1INSTR_F_          UINT32_C(0x00000000)
     127/** Defaults to SS rather than DS. */
     128#define BS3CG1INSTR_F_DEF_SS            UINT32_C(0x00000001)
    107129/** @} */
    108130
     
    331353/** The opcodes (generated).
    332354 * Variable length sequence of opcode bytes that runs in parallel to
    333  * g_aBs3Cg1Instructions, advancing by BS3CG1INSTR::cbOpcode each time. */
     355 * g_aBs3Cg1Instructions, advancing by BS3CG1INSTR::cbOpcodes each time. */
    334356extern const uint8_t BS3_FAR_DATA       g_abBs3Cg1Opcodes[];
    335357/** The operands (generated).
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