Changeset 65959 in vbox for trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-generated-1.h
- Timestamp:
- Mar 6, 2017 9:24:32 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 113784
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-generated-1.h
r65931 r65959 48 48 BS3CG1OP_Gv, 49 49 50 BS3CG1OP_Ib, 51 BS3CG1OP_Iz, 52 53 BS3CG1OP_AL, 54 BS3CG1OP_rAX, 55 50 56 BS3CG1OP_END 51 57 } BS3CG1OP; … … 64 70 BS3CG1ENC_INVALID = 0, 65 71 66 BS3CG1ENC_FIXED_Iz,67 BS3CG1ENC_FIXED_FIRST = BS3CG1ENC_FIXED_Iz,68 BS3CG1ENC_FIXED_Iv,69 70 72 BS3CG1ENC_MODRM_Eb_Gb, 71 73 BS3CG1ENC_MODRM_Ev_Gv, 72 74 75 BS3CG1ENC_FIXED_AL_Ib, 76 BS3CG1ENC_FIXED_rAX_Iz, 77 73 78 BS3CG1ENC_END 74 79 } BS3CG1ENC; … … 76 81 77 82 /** 83 * Prefix sensitivitiy kind. 84 */ 85 typedef 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 /** 78 97 * Generated instruction info. 79 98 */ … … 81 100 { 82 101 /** The opcode size. */ 83 uint32_t cbOpcode : 2;102 uint32_t cbOpcodes : 2; 84 103 /** The number of operands. */ 85 104 uint32_t cOperands : 2; … … 92 111 /** BS3CG1ENC values. */ 93 112 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; 96 117 /** BS3CG1INSTR_F_XXX. */ 97 118 uint32_t fFlags; … … 104 125 /** @name BS3CG1INSTR_F_XXX 105 126 * @{ */ 106 #define BS3CG1INSTR_F_ UINT32_C(0x00000000) 127 /** Defaults to SS rather than DS. */ 128 #define BS3CG1INSTR_F_DEF_SS UINT32_C(0x00000001) 107 129 /** @} */ 108 130 … … 331 353 /** The opcodes (generated). 332 354 * 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. */ 334 356 extern const uint8_t BS3_FAR_DATA g_abBs3Cg1Opcodes[]; 335 357 /** The operands (generated).
Note:
See TracChangeset
for help on using the changeset viewer.