Changeset 33540 in vbox for trunk/include/VBox/dis.h
- Timestamp:
- Oct 28, 2010 9:27:05 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 67140
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/dis.h
r28800 r33540 109 109 #define OPTYPE_INTERRUPT RT_BIT(11) 110 110 #define OPTYPE_ILLEGAL RT_BIT(12) 111 #define OPTYPE_RRM_DANGEROUS RT_BIT(14) /**< Some additional dangerous eones when recompiling raw r0. */112 #define OPTYPE_RRM_DANGEROUS_16 RT_BIT(15) /**< Some additional dangerous eones when recompiling 16-bit raw r0. */111 #define OPTYPE_RRM_DANGEROUS RT_BIT(14) /**< Some additional dangerous ones when recompiling raw r0. */ 112 #define OPTYPE_RRM_DANGEROUS_16 RT_BIT(15) /**< Some additional dangerous ones when recompiling 16-bit raw r0. */ 113 113 #define OPTYPE_RRM_MASK (OPTYPE_RRM_DANGEROUS | OPTYPE_RRM_DANGEROUS_16) 114 114 #define OPTYPE_INHIBIT_IRQS RT_BIT(16) /**< Will or can inhibit irqs (sti, pop ss, mov ss) */ … … 546 546 * @param pCpu Pointer to cpu structure which have DISCPUSTATE::mode 547 547 * set correctly. 548 * @param pvCodeBlock Pointer to the stru nctionto disassemble.548 * @param pvCodeBlock Pointer to the structure to disassemble. 549 549 * @param cbMax Maximum number of bytes to disassemble. 550 550 * @param pcbSize Where to store the size of the instruction. … … 554 554 * @todo Define output callback. 555 555 * @todo Using signed integers as sizes is a bit odd. There are still 556 * some GCC warnings about mixing signed and unsig end integers.556 * some GCC warnings about mixing signed and unsigned integers. 557 557 * @todo Need to extend this interface to include a code address so we 558 * can dis sassemble GC code. Perhaps a new function is better...559 * @remark cbMax isn't respected as a bound ry. DISInstr() will read beyond cbMax.558 * can disassemble GC code. Perhaps a new function is better... 559 * @remark cbMax isn't respected as a boundary. DISInstr() will read beyond cbMax. 560 560 * This means *pcbSize >= cbMax sometimes. 561 561 */ … … 584 584 * @param pCpu Pointer to cpu structure which have DISCPUSTATE::mode 585 585 * set correctly. 586 * @param pu8Instruction Pointer to the stru nctionto disassemble.586 * @param pu8Instruction Pointer to the structure to disassemble. 587 587 * @param u32EipOffset Offset to add to instruction address to get the real virtual address 588 588 * @param pcbSize Where to store the size of the instruction.
Note:
See TracChangeset
for help on using the changeset viewer.