krnl386.exe: Avoid using DPRINTF().

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-04-08 19:33:48 +02:00
parent 776fae4c60
commit d708d9e611
2 changed files with 5 additions and 23 deletions

View File

@ -109,20 +109,6 @@ static GLOBALARENA *GLOBAL_GetArena( WORD sel, WORD selcount )
return pGlobalArena + (sel >> __AHSHIFT);
}
void debug_handles(void)
{
int printed=0;
int i;
for (i = globalArenaSize-1 ; i>=0 ; i--) {
if (pGlobalArena[i].size!=0 && (pGlobalArena[i].handle & 0x8000)){
printed=1;
DPRINTF("0x%08x, ",pGlobalArena[i].handle);
}
}
if (printed)
DPRINTF("\n");
}
/***********************************************************************
* GLOBAL_CreateBlock

View File

@ -1011,13 +1011,9 @@ DWORD WINAPIV SSCall(
DWORD i,ret;
DWORD *args = ((DWORD *)&fun) + 1;
if(TRACE_ON(thunk))
{
DPRINTF("(%d,0x%08x,%p,[",nr,flags,fun);
for (i=0;i<nr/4;i++)
DPRINTF("0x%08x,",args[i]);
DPRINTF("])\n");
}
TRACE("(%d,0x%08x,%p,[",nr,flags,fun);
for (i = 0; i < nr/4; i++) TRACE("0x%08x,",args[i]);
TRACE("])\n");
ret = call_entry_point( fun, nr / sizeof(DWORD), args );
TRACE(" returning %d ...\n",ret);
return ret;
@ -2525,10 +2521,10 @@ DWORD WINAPIV WOW16Call(WORD x, WORD y, WORD z, VA_LIST16 args)
for (i=0;i<x/2;i++) {
WORD a = VA_ARG16(args,WORD);
DPRINTF("%04x ",a);
FIXME("%04x ",a);
}
calladdr = VA_ARG16(args,DWORD);
stack16_pop( 3*sizeof(WORD) + x + sizeof(DWORD) );
DPRINTF(") calling address was 0x%08x\n",calladdr);
FIXME(") calling address was 0x%08x\n",calladdr);
return 0;
}