VirtualBox

Changeset 91673 in vbox


Ignore:
Timestamp:
Oct 11, 2021 8:25:20 PM (3 years ago)
Author:
vboxsync
Message:

DIS: Make disReadBytesDefault work the same way in ring-0 as in ring-3, otherwise there is no point in having DISInstr. bugref:10118

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Disassembler/DisasmCore.cpp

    r82968 r91673  
    235235static DECLCALLBACK(int) disReadBytesDefault(PDISSTATE pDis, uint8_t offInstr, uint8_t cbMinRead, uint8_t cbMaxRead)
    236236{
    237 #ifdef IN_RING0
     237#if 0 /*def IN_RING0 - why? */
    238238    RT_NOREF_PV(cbMinRead);
    239239    AssertMsgFailed(("disReadWord with no read callback in ring 0!!\n"));
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