Changeset 92805 in vbox
- Timestamp:
- Dec 8, 2021 8:58:32 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/dis.h
r85121 r92805 488 488 * Opcode descriptor. 489 489 */ 490 #if (defined(RT_ARCH_X86) || defined(RT_ARCH_AMD64)) && defined(DIS_CORE_ONLY) 491 # pragma pack(1) 492 #endif 490 493 typedef struct DISOPCODE 491 494 { … … 512 515 /** Parameter \#4 info, @see grp_dis_opparam. */ 513 516 uint16_t fParam4; 517 #if (!defined(RT_ARCH_X86) && !defined(RT_ARCH_AMD64)) || !defined(DIS_CORE_ONLY) 514 518 /** padding unused */ 515 519 uint16_t uPadding; 520 #endif 516 521 /** Operand type flags, DISOPTYPE_XXX. */ 517 522 uint32_t fOpType; 518 523 } DISOPCODE; 524 #if (defined(RT_ARCH_X86) || defined(RT_ARCH_AMD64)) && defined(DIS_CORE_ONLY) 525 # pragma pack() 526 #endif 519 527 /** Pointer to const opcode. */ 520 528 typedef const struct DISOPCODE *PCDISOPCODE; -
trunk/src/VBox/Disassembler/DisasmInternal.h
r82968 r92805 199 199 # define OPVEX(pszOpcode, idxParse1, idxParse2, idxParse3, idxParse4, opcode, param1, param2, param3, param4, optype) \ 200 200 { pszOpcode, idxParse1, idxParse2, idxParse3, idxParse4, opcode, param1, param2, param3, param4, 0, optype | DISOPTYPE_SSE } 201 #elif defined(RT_ARCH_X86) || defined(RT_ARCH_AMD64) 202 # define OP(pszOpcode, idxParse1, idxParse2, idxParse3, opcode, param1, param2, param3, optype) \ 203 { idxParse1, idxParse2, idxParse3, 0, opcode, param1, param2, param3, 0, optype } 204 # define OPVEX(pszOpcode, idxParse1, idxParse2, idxParse3, idxParse4, opcode, param1, param2, param3, param4, optype) \ 205 { idxParse1, idxParse2, idxParse3, idxParse4, opcode, param1, param2, param3, param4, optype | DISOPTYPE_SSE} 201 206 #else 202 207 # define OP(pszOpcode, idxParse1, idxParse2, idxParse3, opcode, param1, param2, param3, optype) \
Note:
See TracChangeset
for help on using the changeset viewer.