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
2503e7e4
Commit
2503e7e4
authored
Mar 09, 1999
by
Marcus Meissner
Committed by
Alexandre Julliard
Mar 09, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
__asm__ fix as suggested by <daniel@mat.utfsm.cl> Daniel Serpell,
removed additional "eax" from clobber list, so egcs-current likes it.
parent
fe14ab61
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
dpmi.c
msdos/dpmi.c
+7
-6
No files found.
msdos/dpmi.c
View file @
2503e7e4
...
...
@@ -211,23 +211,24 @@ static void DPMI_CallRMCBProc( CONTEXT *context, RMCB *rmcb, WORD flag )
* It is the proc's responsibility to change the return CS:IP in the
* real-mode call structure. */
if
(
flag
&
1
)
{
int
_clobber
;
/* 32-bit DPMI client */
__asm__
__volatile__
(
"
pushl %%es
pushl %%ds
pushfl
movl %
4
,%%es
movl %
3
,%%ds
lcall %
2
movl %
5
,%%es
movl %
4
,%%ds
lcall %
3
popl %%ds
movl %%es,%0
popl %%es
"
:
"=g"
(
es
),
"=D"
(
edi
)
:
"=g"
(
es
),
"=D"
(
edi
)
,
"=S"
(
_clobber
)
:
"m"
(
rmcb
->
proc_ofs
),
"g"
(
ss
),
"g"
(
rmcb
->
regs_sel
),
"S"
(
ESP_reg
(
context
)),
"
D
"
(
rmcb
->
regs_ofs
)
:
"e
ax"
,
"ecx"
,
"edx"
,
"esi
"
,
"ebp"
);
"S"
(
ESP_reg
(
context
)),
"
1
"
(
rmcb
->
regs_ofs
)
:
"e
cx"
,
"edx
"
,
"ebp"
);
}
else
{
/* 16-bit DPMI client */
CONTEXT
ctx
=
*
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