Changeset 41730 in vbox for trunk/include/VBox/dis.h
- Timestamp:
- Jun 14, 2012 11:28:16 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 78538
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/dis.h
r41729 r41730 487 487 typedef DISOPPARAM *PDISOPPARAM; 488 488 /** Pointer to opcode parameter. */ 489 typedef const DISOPPARAM *PCOP_PARAMETER; 490 491 489 typedef const DISOPPARAM *PCDISOPPARAM; 490 491 492 /** 493 * Opcode descriptor. 494 */ 495 typedef struct DISOPCODE 496 { 497 #ifndef DIS_CORE_ONLY 498 const char *pszOpcode; 499 #endif 500 uint8_t idxParse1; 501 uint8_t idxParse2; 502 uint8_t idxParse3; 503 uint8_t uUnused; 504 uint16_t opcode; 505 uint16_t param1; 506 uint16_t param2; 507 uint16_t param3; 508 uint32_t optype; 509 } DISOPCODE; 492 510 /** Pointer to const opcode. */ 493 511 typedef const struct DISOPCODE *PCDISOPCODE; 512 494 513 495 514 /** … … 511 530 * @remark no DECLCALLBACK() here because it's considered to be internal (really, I'm too lazy to update all the functions). */ 512 531 typedef unsigned FNDISPARSE(RTUINTPTR pu8CodeBlock, PCDISOPCODE pOp, PDISOPPARAM pParam, PDISCPUSTATE pCpu); 532 /** Pointer to a disassembler parser function. */ 513 533 typedef FNDISPARSE *PFNDISPARSE; 534 /** Pointer to a const disassembler parser function pointer. */ 514 535 typedef PFNDISPARSE const *PCPFNDISPARSE; 515 536 537 /** 538 * The diassembler state and result. 539 */ 516 540 typedef struct DISCPUSTATE 517 541 { … … 614 638 615 639 616 /**617 * Opcode descriptor.618 */619 typedef struct DISOPCODE620 {621 #ifndef DIS_CORE_ONLY622 const char *pszOpcode;623 #endif624 uint8_t idxParse1;625 uint8_t idxParse2;626 uint8_t idxParse3;627 uint8_t uUnused;628 uint16_t opcode;629 uint16_t param1;630 uint16_t param2;631 uint16_t param3;632 uint32_t optype;633 } DISOPCODE;634 635 640 636 641 DISDECL(int) DISInstrToStr(void const *pvInstr, DISCPUMODE enmCpuMode,
Note:
See TracChangeset
for help on using the changeset viewer.