Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
7b68705d
Commit
7b68705d
authored
Mar 25, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
krnl386: Fix some calling convention mismatches.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1a05b7da
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
selector.c
dlls/krnl386.exe16/selector.c
+9
-9
thunk.c
dlls/krnl386.exe16/thunk.c
+4
-4
No files found.
dlls/krnl386.exe16/selector.c
View file @
7b68705d
...
...
@@ -575,7 +575,7 @@ __ASM_STDCALL_FUNC( SUnMapLS, 0,
*/
__ASM_STDCALL_FUNC
(
SMapLS_IP_EBP_8
,
0
,
"movl 8(%ebp),%eax
\n\t
"
"call "
__ASM_STDCALL
(
"SMapLS"
,
4
)
"
\n\t
"
"call "
__ASM_STDCALL
(
"SMapLS"
,
0
)
"
\n\t
"
"movl %edx,8(%ebp)
\n\t
"
"ret"
)
...
...
@@ -584,7 +584,7 @@ __ASM_STDCALL_FUNC( SMapLS_IP_EBP_8, 0,
*/
__ASM_STDCALL_FUNC
(
SMapLS_IP_EBP_12
,
0
,
"movl 12(%ebp),%eax
\n\t
"
"call "
__ASM_STDCALL
(
"SMapLS"
,
4
)
"
\n\t
"
"call "
__ASM_STDCALL
(
"SMapLS"
,
0
)
"
\n\t
"
"movl %edx,12(%ebp)
\n\t
"
"ret"
)
...
...
@@ -593,7 +593,7 @@ __ASM_STDCALL_FUNC( SMapLS_IP_EBP_12, 0,
*/
__ASM_STDCALL_FUNC
(
SMapLS_IP_EBP_16
,
0
,
"movl 16(%ebp),%eax
\n\t
"
"call "
__ASM_STDCALL
(
"SMapLS"
,
4
)
"
\n\t
"
"call "
__ASM_STDCALL
(
"SMapLS"
,
0
)
"
\n\t
"
"movl %edx,16(%ebp)
\n\t
"
"ret"
)
...
...
@@ -602,7 +602,7 @@ __ASM_STDCALL_FUNC( SMapLS_IP_EBP_16, 0,
*/
__ASM_STDCALL_FUNC
(
SMapLS_IP_EBP_20
,
0
,
"movl 20(%ebp),%eax
\n\t
"
"call "
__ASM_STDCALL
(
"SMapLS"
,
4
)
"
\n\t
"
"call "
__ASM_STDCALL
(
"SMapLS"
,
0
)
"
\n\t
"
"movl %edx,20(%ebp)
\n\t
"
"ret"
)
...
...
@@ -611,7 +611,7 @@ __ASM_STDCALL_FUNC( SMapLS_IP_EBP_20, 0,
*/
__ASM_STDCALL_FUNC
(
SMapLS_IP_EBP_24
,
0
,
"movl 24(%ebp),%eax
\n\t
"
"call "
__ASM_STDCALL
(
"SMapLS"
,
4
)
"
\n\t
"
"call "
__ASM_STDCALL
(
"SMapLS"
,
0
)
"
\n\t
"
"movl %edx,24(%ebp)
\n\t
"
"ret"
)
...
...
@@ -620,7 +620,7 @@ __ASM_STDCALL_FUNC( SMapLS_IP_EBP_24, 0,
*/
__ASM_STDCALL_FUNC
(
SMapLS_IP_EBP_28
,
0
,
"movl 28(%ebp),%eax
\n\t
"
"call "
__ASM_STDCALL
(
"SMapLS"
,
4
)
"
\n\t
"
"call "
__ASM_STDCALL
(
"SMapLS"
,
0
)
"
\n\t
"
"movl %edx,28(%ebp)
\n\t
"
"ret"
)
...
...
@@ -629,7 +629,7 @@ __ASM_STDCALL_FUNC( SMapLS_IP_EBP_28, 0,
*/
__ASM_STDCALL_FUNC
(
SMapLS_IP_EBP_32
,
0
,
"movl 32(%ebp),%eax
\n\t
"
"call "
__ASM_STDCALL
(
"SMapLS"
,
4
)
"
\n\t
"
"call "
__ASM_STDCALL
(
"SMapLS"
,
0
)
"
\n\t
"
"movl %edx,32(%ebp)
\n\t
"
"ret"
)
...
...
@@ -638,7 +638,7 @@ __ASM_STDCALL_FUNC( SMapLS_IP_EBP_32, 0,
*/
__ASM_STDCALL_FUNC
(
SMapLS_IP_EBP_36
,
0
,
"movl 36(%ebp),%eax
\n\t
"
"call "
__ASM_STDCALL
(
"SMapLS"
,
4
)
"
\n\t
"
"call "
__ASM_STDCALL
(
"SMapLS"
,
0
)
"
\n\t
"
"movl %edx,36(%ebp)
\n\t
"
"ret"
)
...
...
@@ -647,7 +647,7 @@ __ASM_STDCALL_FUNC( SMapLS_IP_EBP_36, 0,
*/
__ASM_STDCALL_FUNC
(
SMapLS_IP_EBP_40
,
0
,
"movl 40(%ebp),%eax
\n\t
"
"call "
__ASM_STDCALL
(
"SMapLS"
,
4
)
"
\n\t
"
"call "
__ASM_STDCALL
(
"SMapLS"
,
0
)
"
\n\t
"
"movl %edx,40(%ebp)
\n\t
"
"ret"
)
...
...
dlls/krnl386.exe16/thunk.c
View file @
7b68705d
...
...
@@ -148,10 +148,10 @@ SEGPTR CALL32_CBClientEx_RetAddr = 0;
extern
int
call_entry_point
(
void
*
func
,
int
nb_args
,
const
DWORD
*
args
);
extern
void
__wine_call_from_16_thunk
(
void
);
extern
void
FT_Prolog
(
void
);
extern
void
FT_PrologPrime
(
void
);
extern
void
QT_Thunk
(
void
);
extern
void
QT_ThunkPrime
(
void
);
extern
void
WINAPI
FT_Prolog
(
void
);
extern
void
WINAPI
FT_PrologPrime
(
void
);
extern
void
WINAPI
QT_Thunk
(
void
);
extern
void
WINAPI
QT_ThunkPrime
(
void
);
/***********************************************************************
* *
...
...
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