krnl386: Fix some calling convention mismatches.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Alexandre Julliard 2020-03-25 19:22:41 +01:00
parent 1a05b7da63
commit 7b68705d3c
2 changed files with 13 additions and 13 deletions

View File

@ -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" )

View File

@ -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);
/***********************************************************************
* *