VirtualBox

Changeset 41788 in vbox


Ignore:
Timestamp:
Jun 16, 2012 8:11:35 PM (13 years ago)
Author:
vboxsync
Message:

DIS: Set cbPrefix

Location:
trunk
Files:
2 edited

Legend:

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

    r41786 r41788  
    595595    /** The instruction size. */
    596596    uint8_t         cbInstr;
    597     /** The number of valid bytes in abInstr.
    598      * @todo Implement caching and read-ahead tomorrow. */
     597    /** The number of valid bytes in abInstr. */
    599598    uint8_t         cbCachedInstr;
    600599    /** Unused byte. */
  • trunk/src/VBox/Disassembler/DisasmCore.cpp

    r41787 r41788  
    26252625
    26262626        /* first opcode byte. */
    2627         pCpu->bOpCode = codebyte;
     2627        pCpu->bOpCode  = codebyte;
     2628        pCpu->cbPrefix = (uint8_t)offInstr - 1;
    26282629        offInstr += disParseInstruction(offInstr, &paOneByteMap[pCpu->bOpCode], pCpu);
    26292630        break;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette