VirtualBox

Changeset 41668 in vbox for trunk/src/VBox/Devices/PC


Ignore:
Timestamp:
Jun 12, 2012 1:15:51 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78475
Message:

DIS,DIS-users: Drop the operand/parameter formatting during instruction parsing. The desired formatter can do this afterwards if desired. Should save time + size. (DISCPUSTATE is now 256 bytes here on 64-bit linux, was ~406 yesterday.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS-new/MakeDebianBiosAssembly.cpp

    r41658 r41668  
    968968            unsigned    cbInstr;
    969969            DISCPUSTATE CpuState;
    970             int rc = DISCoreOneEx(uFlatAddr, fIs16Bit ? CPUMODE_16BIT : CPUMODE_32BIT,
    971                                   disReadOpcodeBytes, NULL, &CpuState, &cbInstr);
     970            int rc = DISCoreOneWithReader(uFlatAddr, fIs16Bit ? CPUMODE_16BIT : CPUMODE_32BIT,
     971                                          disReadOpcodeBytes, NULL, &CpuState, &cbInstr);
    972972            if (   RT_SUCCESS(rc)
    973973                && cbInstr <= cb)
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