VirtualBox

Changeset 41765 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Jun 15, 2012 5:37:31 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78582
Message:

CPUM/cpumR3DisasInstrRead: Read max size when possible.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/CPUM.cpp

    r41760 r41765  
    35823582                cb = cbSeg;
    35833583        }
    3584         /** @todo read more later. */
    3585         //if (cb > cbMaxRead) - later
    3586         //    cb = cbMaxRead;
    3587         if (cb > cbMinRead)
    3588             cb = cbMinRead;
     3584        if (cb > cbMaxRead)
     3585            cb = cbMaxRead;
    35893586
    35903587        /*
     
    37173714
    37183715#ifdef DEBUG
    3719 
    3720 /**
    3721  * Disassemble an instruction and dump it to the log
    3722  *
    3723  * @returns VBox status code.
    3724  * @param   pVM         VM Handle
    3725  * @param   pVCpu       VMCPU Handle
    3726  * @param   pCtx        CPU context
    3727  * @param   pc          GC instruction pointer
    3728  * @param   pszPrefix   String prefix for logging
    3729  *
    3730  * @deprecated  Use DBGFR3DisasInstrCurrentLog().
    3731  */
    3732 VMMR3DECL(void) CPUMR3DisasmInstr(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx, RTGCPTR pc, const char *pszPrefix)
    3733 {
    3734     DISCPUSTATE Cpu;
    3735     CPUMR3DisasmInstrCPU(pVM, pVCpu, pCtx, pc, &Cpu, pszPrefix);
    3736 }
    3737 
    37383716
    37393717/**
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