VirtualBox

Changeset 12823 in vbox


Ignore:
Timestamp:
Sep 30, 2008 8:05:37 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
37179
Message:

warnings

Location:
trunk
Files:
2 edited

Legend:

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

    r12657 r12823  
    4848# ifdef DEBUG
    4949/** @deprecated  Use DBGFR3DisasInstrCurrentLog().  */
    50 CPUMR3DECL(void) CPUMR3DisasmInstr(PVM pVM, PCPUMCTX pCtx, RTGCPTR pc, char *prefix);
     50CPUMR3DECL(void) CPUMR3DisasmInstr(PVM pVM, PCPUMCTX pCtx, RTGCPTR pc, const char *pszPrefix);
    5151/** @deprecated  Create new DBGFR3Disas function to do this. */
    52 CPUMR3DECL(void) CPUMR3DisasmBlock(PVM pVM, PCPUMCTX pCtx, RTGCPTR pc, char *prefix, int nrInstructions);
     52CPUMR3DECL(void) CPUMR3DisasmBlock(PVM pVM, PCPUMCTX pCtx, RTGCPTR pc, const char *pszPrefix, int nrInstructions);
    5353# else
    5454/** @deprecated  Use DBGFR3DisasInstrCurrentLog(). */
  • trunk/src/VBox/VMM/CPUM.cpp

    r12811 r12823  
    22612261 * @deprecated  Use DBGFR3DisasInstrCurrentLog().
    22622262 */
    2263 CPUMR3DECL(void) CPUMR3DisasmInstr(PVM pVM, PCPUMCTX pCtx, RTGCPTR pc, char *prefix)
     2263CPUMR3DECL(void) CPUMR3DisasmInstr(PVM pVM, PCPUMCTX pCtx, RTGCPTR pc, const char *pszPrefix)
    22642264{
    22652265    DISCPUSTATE Cpu;
    2266     CPUMR3DisasmInstrCPU(pVM, pCtx, pc, &Cpu, prefix);
     2266    CPUMR3DisasmInstrCPU(pVM, pCtx, pc, &Cpu, pszPrefix);
    22672267}
    22682268
     
    22802280 * @deprecated  Create new DBGFR3Disas function to do this.
    22812281 */
    2282 CPUMR3DECL(void) CPUMR3DisasmBlock(PVM pVM, PCPUMCTX pCtx, RTGCPTR pc, char *prefix, int nrInstructions)
     2282CPUMR3DECL(void) CPUMR3DisasmBlock(PVM pVM, PCPUMCTX pCtx, RTGCPTR pc, const char *pszPrefix, int nrInstructions)
    22832283{
    22842284    for (int i = 0; i < nrInstructions; i++)
     
    22862286        DISCPUSTATE cpu;
    22872287
    2288         CPUMR3DisasmInstrCPU(pVM, pCtx, pc, &cpu, prefix);
     2288        CPUMR3DisasmInstrCPU(pVM, pCtx, pc, &cpu, pszPrefix);
    22892289        pc += cpu.opsize;
    22902290    }
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