VirtualBox

Changeset 41690 in vbox for trunk/include/VBox/dis.h


Ignore:
Timestamp:
Jun 13, 2012 6:12:25 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78497
Message:

DIS: More cleanups.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/dis.h

    r41678 r41690  
    442442
    443443
    444 /** Pointer to opcode. */
    445 typedef struct OPCODE *POPCODE;
    446444/** Pointer to const opcode. */
    447 typedef const struct OPCODE *PCOPCODE;
     445typedef const struct DISOPCODE *PCDISOPCODE;
    448446
    449447/**
     
    464462/** Parser callback.
    465463 * @remark no DECLCALLBACK() here because it's considered to be internal (really, I'm too lazy to update all the functions). */
    466 typedef unsigned FNDISPARSE(RTUINTPTR pu8CodeBlock, PCOPCODE pOp, POP_PARAMETER pParam, PDISCPUSTATE pCpu);
     464typedef unsigned FNDISPARSE(RTUINTPTR pu8CodeBlock, PCDISOPCODE pOp, POP_PARAMETER pParam, PDISCPUSTATE pCpu);
    467465typedef FNDISPARSE *PFNDISPARSE;
    468466
     
    538536
    539537    /** Pointer to the current instruction. */
    540     PCOPCODE        pCurInstr;
     538    PCDISOPCODE     pCurInstr;
    541539#ifndef DIS_CORE_ONLY
    542540    /** Opcode format string for current instruction. */
     
    558556/** Opcode. */
    559557#pragma pack(4)
    560 typedef struct OPCODE
     558typedef struct DISOPCODE
    561559{
    562560#ifndef DIS_CORE_ONLY
     
    571569    uint16_t    param3;
    572570
    573     unsigned    optype;
    574 } OPCODE;
     571    uint32_t    optype;
     572} DISOPCODE;
    575573#pragma pack()
    576574
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