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
83f65083
Commit
83f65083
authored
Jul 26, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid clobbering %ebx.
parent
99e1e810
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
dpmi.c
msdos/dpmi.c
+3
-2
No files found.
msdos/dpmi.c
View file @
83f65083
...
...
@@ -216,6 +216,7 @@ static void DPMI_CallRMCBProc( CONTEXT86 *context, RMCB *rmcb, WORD flag )
int
_clobber
;
__asm__
__volatile__
(
"pushl %%ebp
\n
"
"pushl %%ebx
\n
"
"pushl %%es
\n
"
"pushl %%ds
\n
"
"pushfl
\n
"
...
...
@@ -225,12 +226,12 @@ static void DPMI_CallRMCBProc( CONTEXT86 *context, RMCB *rmcb, WORD flag )
"popl %%ds
\n
"
"mov %%es,%0
\n
"
"popl %%es
\n
"
"popl %%ebx
\n
"
"popl %%ebp
\n
"
:
"=d"
(
es
),
"=D"
(
edi
),
"=S"
(
_clobber
),
"=a"
(
_clobber
),
"=c"
(
_clobber
)
:
"0"
(
ss
),
"2"
(
ESP_reg
(
context
)),
"4"
(
rmcb
->
regs_sel
),
"1"
(
rmcb
->
regs_ofs
),
"3"
(
&
rmcb
->
proc_ofs
)
:
"ebx"
);
"3"
(
&
rmcb
->
proc_ofs
)
);
}
else
{
/* 16-bit DPMI client */
CONTEXT86
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