Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e07a9568
Commit
e07a9568
authored
Jan 03, 2005
by
Diego Pettenò
Committed by
Alexandre Julliard
Jan 03, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of DPRINTF.
parent
bd1bbc17
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
45 deletions
+33
-45
dosvm.c
dlls/winedos/dosvm.c
+14
-20
interrupts.c
dlls/winedos/interrupts.c
+18
-24
vxd.c
dlls/winedos/vxd.c
+1
-1
No files found.
dlls/winedos/dosvm.c
View file @
e07a9568
...
...
@@ -528,27 +528,21 @@ static WINE_EXCEPTION_FILTER(exception_handler)
switch
(
rec
->
ExceptionCode
)
{
case
EXCEPTION_VM86_INTx
:
if
(
TRACE_ON
(
relay
))
{
DPRINTF
(
"Call DOS int 0x%02x ret=%04lx:%04lx
\n
"
,
arg
,
context
->
SegCs
,
context
->
Eip
);
DPRINTF
(
" eax=%08lx ebx=%08lx ecx=%08lx edx=%08lx esi=%08lx edi=%08lx
\n
"
,
context
->
Eax
,
context
->
Ebx
,
context
->
Ecx
,
context
->
Edx
,
context
->
Esi
,
context
->
Edi
);
DPRINTF
(
" ebp=%08lx esp=%08lx ds=%04lx es=%04lx fs=%04lx gs=%04lx flags=%08lx
\n
"
,
context
->
Ebp
,
context
->
Esp
,
context
->
SegDs
,
context
->
SegEs
,
context
->
SegFs
,
context
->
SegGs
,
context
->
EFlags
);
}
TRACE_
(
relay
)(
"Call DOS int 0x%02x ret=%04lx:%04lx
\n
"
" eax=%08lx ebx=%08lx ecx=%08lx edx=%08lx esi=%08lx edi=%08lx
\n
"
" ebp=%08lx esp=%08lx ds=%04lx es=%04lx fs=%04lx gs=%04lx flags=%08lx
\n
"
,
arg
,
context
->
SegCs
,
context
->
Eip
,
context
->
Eax
,
context
->
Ebx
,
context
->
Ecx
,
context
->
Edx
,
context
->
Esi
,
context
->
Edi
,
context
->
Ebp
,
context
->
Esp
,
context
->
SegDs
,
context
->
SegEs
,
context
->
SegFs
,
context
->
SegGs
,
context
->
EFlags
);
ret
=
DOSVM_EmulateInterruptRM
(
context
,
arg
);
if
(
TRACE_ON
(
relay
))
{
DPRINTF
(
"Ret DOS int 0x%02x ret=%04lx:%04lx
\n
"
,
arg
,
context
->
SegCs
,
context
->
Eip
);
DPRINTF
(
" eax=%08lx ebx=%08lx ecx=%08lx edx=%08lx esi=%08lx edi=%08lx
\n
"
,
context
->
Eax
,
context
->
Ebx
,
context
->
Ecx
,
context
->
Edx
,
context
->
Esi
,
context
->
Edi
);
DPRINTF
(
" ebp=%08lx esp=%08lx ds=%04lx es=%04lx fs=%04lx gs=%04lx flags=%08lx
\n
"
,
context
->
Ebp
,
context
->
Esp
,
context
->
SegDs
,
context
->
SegEs
,
context
->
SegFs
,
context
->
SegGs
,
context
->
EFlags
);
}
TRACE_
(
relay
)(
"Ret DOS int 0x%02x ret=%04lx:%04lx
\n
"
" eax=%08lx ebx=%08lx ecx=%08lx edx=%08lx esi=%08lx edi=%08lx
\n
"
" ebp=%08lx esp=%08lx ds=%04lx es=%04lx fs=%04lx gs=%04lx flags=%08lx
\n
"
,
arg
,
context
->
SegCs
,
context
->
Eip
,
context
->
Eax
,
context
->
Ebx
,
context
->
Ecx
,
context
->
Edx
,
context
->
Esi
,
context
->
Edi
,
context
->
Ebp
,
context
->
Esp
,
context
->
SegDs
,
context
->
SegEs
,
context
->
SegFs
,
context
->
SegGs
,
context
->
EFlags
);
return
ret
?
EXCEPTION_CONTINUE_EXECUTION
:
EXCEPTION_EXECUTE_HANDLER
;
case
EXCEPTION_VM86_STI
:
...
...
dlls/winedos/interrupts.c
View file @
e07a9568
...
...
@@ -243,18 +243,15 @@ static void DOSVM_PushFlags( CONTEXT86 *context, BOOL islong, BOOL isstub )
*/
void
WINAPI
DOSVM_EmulateInterruptPM
(
CONTEXT86
*
context
,
BYTE
intnum
)
{
if
(
TRACE_ON
(
relay
))
{
DPRINTF
(
"Call DOS int 0x%02x ret=%04lx:%08lx
\n
"
,
intnum
,
context
->
SegCs
,
context
->
Eip
);
DPRINTF
(
" eax=%08lx ebx=%08lx ecx=%08lx edx=%08lx
\n
"
,
context
->
Eax
,
context
->
Ebx
,
context
->
Ecx
,
context
->
Edx
);
DPRINTF
(
" esi=%08lx edi=%08lx ebp=%08lx esp=%08lx
\n
"
,
context
->
Esi
,
context
->
Edi
,
context
->
Ebp
,
context
->
Esp
);
DPRINTF
(
" ds=%04lx es=%04lx fs=%04lx gs=%04lx ss=%04lx flags=%08lx
\n
"
,
context
->
SegDs
,
context
->
SegEs
,
context
->
SegFs
,
context
->
SegGs
,
context
->
SegSs
,
context
->
EFlags
);
}
TRACE_
(
relay
)(
"Call DOS int 0x%02x ret=%04lx:%08lx
\n
"
" eax=%08lx ebx=%08lx ecx=%08lx edx=%08lx
\n
"
" esi=%08lx edi=%08lx ebp=%08lx esp=%08lx
\n
"
" ds=%04lx es=%04lx fs=%04lx gs=%04lx ss=%04lx flags=%08lx
\n
"
,
intnum
,
context
->
SegCs
,
context
->
Eip
,
context
->
Eax
,
context
->
Ebx
,
context
->
Ecx
,
context
->
Edx
,
context
->
Esi
,
context
->
Edi
,
context
->
Ebp
,
context
->
Esp
,
context
->
SegDs
,
context
->
SegEs
,
context
->
SegFs
,
context
->
SegGs
,
context
->
SegSs
,
context
->
EFlags
);
if
(
context
->
SegCs
==
DOSVM_dpmi_segments
->
dpmi_sel
)
{
...
...
@@ -425,18 +422,15 @@ void DOSVM_HardwareInterruptPM( CONTEXT86 *context, BYTE intnum )
*/
BOOL
WINAPI
DOSVM_EmulateInterruptRM
(
CONTEXT86
*
context
,
BYTE
intnum
)
{
if
(
TRACE_ON
(
relay
))
{
DPRINTF
(
"Call DOS int 0x%02x ret=%04lx:%08lx
\n
"
,
intnum
,
context
->
SegCs
,
context
->
Eip
);
DPRINTF
(
" eax=%08lx ebx=%08lx ecx=%08lx edx=%08lx
\n
"
,
context
->
Eax
,
context
->
Ebx
,
context
->
Ecx
,
context
->
Edx
);
DPRINTF
(
" esi=%08lx edi=%08lx ebp=%08lx esp=%08lx
\n
"
,
context
->
Esi
,
context
->
Edi
,
context
->
Ebp
,
context
->
Esp
);
DPRINTF
(
" ds=%04lx es=%04lx fs=%04lx gs=%04lx flags=%08lx
\n
"
,
context
->
SegDs
,
context
->
SegEs
,
context
->
SegFs
,
context
->
SegGs
,
context
->
EFlags
);
}
TRACE_
(
relay
)(
"Call DOS int 0x%02x ret=%04lx:%08lx
\n
"
" eax=%08lx ebx=%08lx ecx=%08lx edx=%08lx
\n
"
" esi=%08lx edi=%08lx ebp=%08lx esp=%08lx
\n
"
" ds=%04lx es=%04lx fs=%04lx gs=%04lx ss=%04lx flags=%08lx
\n
"
,
intnum
,
context
->
SegCs
,
context
->
Eip
,
context
->
Eax
,
context
->
Ebx
,
context
->
Ecx
,
context
->
Edx
,
context
->
Esi
,
context
->
Edi
,
context
->
Ebp
,
context
->
Esp
,
context
->
SegDs
,
context
->
SegEs
,
context
->
SegFs
,
context
->
SegGs
,
context
->
SegSs
,
context
->
EFlags
);
/* check for our real-mode hooks */
if
(
intnum
==
0x31
)
...
...
dlls/winedos/vxd.c
View file @
e07a9568
...
...
@@ -50,7 +50,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(vxd);
#define W32S_WINE2APP(addr) ((addr)? (DWORD)(addr) - W32S_offset : 0)
#define VXD_BARF(context,name) \
DPRINTF
( "vxd %s: unknown/not implemented parameters:\n" \
TRACE
( "vxd %s: unknown/not implemented parameters:\n" \
"vxd %s: AX %04x, BX %04x, CX %04x, DX %04x, " \
"SI %04x, DI %04x, DS %04x, ES %04x\n", \
(name), (name), AX_reg(context), BX_reg(context), \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment