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
e41547c5
Commit
e41547c5
authored
Jan 16, 2020
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Jan 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Fix some Rtl* functions having wrong calling convention.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6393edb7
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
10 deletions
+10
-10
api-ms-win-core-rtlsupport-l1-1-0.spec
...-rtlsupport-l1-1-0/api-ms-win-core-rtlsupport-l1-1-0.spec
+1
-1
kernel32.spec
dlls/kernel32/kernel32.spec
+1
-1
ntdll.spec
dlls/ntdll/ntdll.spec
+3
-3
signal_x86_64.c
dlls/ntdll/signal_x86_64.c
+1
-1
exception.c
dlls/ntdll/tests/exception.c
+4
-4
No files found.
dlls/api-ms-win-core-rtlsupport-l1-1-0/api-ms-win-core-rtlsupport-l1-1-0.spec
View file @
e41547c5
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
@ stdcall -arch=arm,arm64,x86_64 RtlLookupFunctionEntry(long ptr ptr) ntdll.RtlLookupFunctionEntry
@ stdcall -arch=arm,arm64,x86_64 RtlLookupFunctionEntry(long ptr ptr) ntdll.RtlLookupFunctionEntry
@ stdcall RtlPcToFileHeader(ptr ptr) ntdll.RtlPcToFileHeader
@ stdcall RtlPcToFileHeader(ptr ptr) ntdll.RtlPcToFileHeader
@ stdcall -norelay RtlRaiseException(ptr) ntdll.RtlRaiseException
@ stdcall -norelay RtlRaiseException(ptr) ntdll.RtlRaiseException
@
stdcal
l -arch=x86_64 RtlRestoreContext(ptr ptr) ntdll.RtlRestoreContext
@
cdec
l -arch=x86_64 RtlRestoreContext(ptr ptr) ntdll.RtlRestoreContext
@ stdcall -norelay RtlUnwind(ptr ptr ptr ptr) ntdll.RtlUnwind
@ stdcall -norelay RtlUnwind(ptr ptr ptr ptr) ntdll.RtlUnwind
@ stdcall -arch=arm64,x86_64 RtlUnwindEx(ptr ptr ptr ptr ptr ptr) ntdll.RtlUnwindEx
@ stdcall -arch=arm64,x86_64 RtlUnwindEx(ptr ptr ptr ptr ptr ptr) ntdll.RtlUnwindEx
@ stdcall -arch=arm64,x86_64 RtlVirtualUnwind(long long long ptr ptr ptr ptr ptr) ntdll.RtlVirtualUnwind
@ stdcall -arch=arm64,x86_64 RtlVirtualUnwind(long long long ptr ptr ptr ptr ptr) ntdll.RtlVirtualUnwind
dlls/kernel32/kernel32.spec
View file @
e41547c5
...
@@ -1299,7 +1299,7 @@
...
@@ -1299,7 +1299,7 @@
@ stdcall RtlMoveMemory(ptr ptr long) ntdll.RtlMoveMemory
@ stdcall RtlMoveMemory(ptr ptr long) ntdll.RtlMoveMemory
@ stdcall -arch=x86_64,arm,arm64 RtlPcToFileHeader(ptr ptr) ntdll.RtlPcToFileHeader
@ stdcall -arch=x86_64,arm,arm64 RtlPcToFileHeader(ptr ptr) ntdll.RtlPcToFileHeader
@ stdcall -arch=arm -norelay RtlRaiseException(ptr) ntdll.RtlRaiseException
@ stdcall -arch=arm -norelay RtlRaiseException(ptr) ntdll.RtlRaiseException
@
stdcal
l -arch=x86_64 RtlRestoreContext(ptr ptr) ntdll.RtlRestoreContext
@
cdec
l -arch=x86_64 RtlRestoreContext(ptr ptr) ntdll.RtlRestoreContext
@ stdcall RtlUnwind(ptr ptr ptr long) ntdll.RtlUnwind
@ stdcall RtlUnwind(ptr ptr ptr long) ntdll.RtlUnwind
@ stdcall -arch=arm64,x86_64 RtlUnwindEx(long long ptr long ptr) ntdll.RtlUnwindEx
@ stdcall -arch=arm64,x86_64 RtlUnwindEx(long long ptr long ptr) ntdll.RtlUnwindEx
@ stdcall -arch=arm64,x86_64 RtlVirtualUnwind(long long long ptr ptr ptr ptr ptr) ntdll.RtlVirtualUnwind
@ stdcall -arch=arm64,x86_64 RtlVirtualUnwind(long long long ptr ptr ptr ptr ptr) ntdll.RtlVirtualUnwind
...
...
dlls/ntdll/ntdll.spec
View file @
e41547c5
...
@@ -463,7 +463,7 @@
...
@@ -463,7 +463,7 @@
@ stdcall RtlAddMandatoryAce(ptr long long long long ptr)
@ stdcall RtlAddMandatoryAce(ptr long long long long ptr)
# @ stub RtlAddRange
# @ stub RtlAddRange
@ cdecl -arch=arm,arm64,x86_64 RtlAddFunctionTable(ptr long long)
@ cdecl -arch=arm,arm64,x86_64 RtlAddFunctionTable(ptr long long)
@
cdec
l -arch=arm,arm64,x86_64 RtlAddGrowableFunctionTable(ptr ptr long long long long)
@
stdcal
l -arch=arm,arm64,x86_64 RtlAddGrowableFunctionTable(ptr ptr long long long long)
@ stdcall RtlAddRefActivationContext(ptr)
@ stdcall RtlAddRefActivationContext(ptr)
# @ stub RtlAddRefMemoryStream
# @ stub RtlAddRefMemoryStream
@ stdcall RtlAddVectoredContinueHandler(long ptr)
@ stdcall RtlAddVectoredContinueHandler(long ptr)
...
@@ -572,7 +572,7 @@
...
@@ -572,7 +572,7 @@
@ stdcall RtlDeleteAce(ptr long)
@ stdcall RtlDeleteAce(ptr long)
@ stdcall RtlDeleteAtomFromAtomTable(ptr long)
@ stdcall RtlDeleteAtomFromAtomTable(ptr long)
@ stdcall RtlDeleteCriticalSection(ptr)
@ stdcall RtlDeleteCriticalSection(ptr)
@
cdec
l -arch=arm,arm64,x86_64 RtlDeleteGrowableFunctionTable(ptr)
@
stdcal
l -arch=arm,arm64,x86_64 RtlDeleteGrowableFunctionTable(ptr)
@ stub RtlDeleteElementGenericTable
@ stub RtlDeleteElementGenericTable
@ stub RtlDeleteElementGenericTableAvl
@ stub RtlDeleteElementGenericTableAvl
@ cdecl -arch=arm,arm64,x86_64 RtlDeleteFunctionTable(ptr)
@ cdecl -arch=arm,arm64,x86_64 RtlDeleteFunctionTable(ptr)
...
@@ -902,7 +902,7 @@
...
@@ -902,7 +902,7 @@
@ stdcall RtlRemoveVectoredContinueHandler(ptr)
@ stdcall RtlRemoveVectoredContinueHandler(ptr)
@ stdcall RtlRemoveVectoredExceptionHandler(ptr)
@ stdcall RtlRemoveVectoredExceptionHandler(ptr)
@ stdcall RtlResetRtlTranslations(ptr)
@ stdcall RtlResetRtlTranslations(ptr)
@
stdcal
l -arch=x86_64 RtlRestoreContext(ptr ptr)
@
cdec
l -arch=x86_64 RtlRestoreContext(ptr ptr)
@ stdcall RtlRestoreLastWin32Error(long) RtlSetLastWin32Error
@ stdcall RtlRestoreLastWin32Error(long) RtlSetLastWin32Error
@ stub RtlRevertMemoryStream
@ stub RtlRevertMemoryStream
@ stub RtlRunDecodeUnicodeString
@ stub RtlRunDecodeUnicodeString
...
...
dlls/ntdll/signal_x86_64.c
View file @
e41547c5
...
@@ -3747,7 +3747,7 @@ __ASM_GLOBAL_FUNC( call_consolidate_callback,
...
@@ -3747,7 +3747,7 @@ __ASM_GLOBAL_FUNC( call_consolidate_callback,
/*******************************************************************
/*******************************************************************
* RtlRestoreContext (NTDLL.@)
* RtlRestoreContext (NTDLL.@)
*/
*/
void
WINAPI
RtlRestoreContext
(
CONTEXT
*
context
,
EXCEPTION_RECORD
*
rec
)
void
CDECL
RtlRestoreContext
(
CONTEXT
*
context
,
EXCEPTION_RECORD
*
rec
)
{
{
EXCEPTION_REGISTRATION_RECORD
*
teb_frame
=
NtCurrentTeb
()
->
Tib
.
ExceptionList
;
EXCEPTION_REGISTRATION_RECORD
*
teb_frame
=
NtCurrentTeb
()
->
Tib
.
ExceptionList
;
...
...
dlls/ntdll/tests/exception.c
View file @
e41547c5
...
@@ -150,15 +150,15 @@ static BOOLEAN (CDECL *pRtlAddFunctionTable)(RUNTIME_FUNCTION*, DWORD, DWORD64
...
@@ -150,15 +150,15 @@ static BOOLEAN (CDECL *pRtlAddFunctionTable)(RUNTIME_FUNCTION*, DWORD, DWORD64
static
BOOLEAN
(
CDECL
*
pRtlDeleteFunctionTable
)(
RUNTIME_FUNCTION
*
);
static
BOOLEAN
(
CDECL
*
pRtlDeleteFunctionTable
)(
RUNTIME_FUNCTION
*
);
static
BOOLEAN
(
CDECL
*
pRtlInstallFunctionTableCallback
)(
DWORD64
,
DWORD64
,
DWORD
,
PGET_RUNTIME_FUNCTION_CALLBACK
,
PVOID
,
PCWSTR
);
static
BOOLEAN
(
CDECL
*
pRtlInstallFunctionTableCallback
)(
DWORD64
,
DWORD64
,
DWORD
,
PGET_RUNTIME_FUNCTION_CALLBACK
,
PVOID
,
PCWSTR
);
static
PRUNTIME_FUNCTION
(
WINAPI
*
pRtlLookupFunctionEntry
)(
ULONG64
,
ULONG64
*
,
UNWIND_HISTORY_TABLE
*
);
static
PRUNTIME_FUNCTION
(
WINAPI
*
pRtlLookupFunctionEntry
)(
ULONG64
,
ULONG64
*
,
UNWIND_HISTORY_TABLE
*
);
static
DWORD
(
CDECL
*
pRtlAddGrowableFunctionTable
)(
void
**
,
RUNTIME_FUNCTION
*
,
DWORD
,
DWORD
,
ULONG_PTR
,
ULONG_PTR
);
static
DWORD
(
WINAPI
*
pRtlAddGrowableFunctionTable
)(
void
**
,
RUNTIME_FUNCTION
*
,
DWORD
,
DWORD
,
ULONG_PTR
,
ULONG_PTR
);
static
void
(
CDECL
*
pRtlGrowFunctionTable
)(
void
*
,
DWORD
);
static
void
(
WINAPI
*
pRtlGrowFunctionTable
)(
void
*
,
DWORD
);
static
void
(
CDECL
*
pRtlDeleteGrowableFunctionTable
)(
void
*
);
static
void
(
WINAPI
*
pRtlDeleteGrowableFunctionTable
)(
void
*
);
static
EXCEPTION_DISPOSITION
(
WINAPI
*
p__C_specific_handler
)(
EXCEPTION_RECORD
*
,
ULONG64
,
CONTEXT
*
,
DISPATCHER_CONTEXT
*
);
static
EXCEPTION_DISPOSITION
(
WINAPI
*
p__C_specific_handler
)(
EXCEPTION_RECORD
*
,
ULONG64
,
CONTEXT
*
,
DISPATCHER_CONTEXT
*
);
static
VOID
(
WINAPI
*
pRtlCaptureContext
)(
CONTEXT
*
);
static
VOID
(
WINAPI
*
pRtlCaptureContext
)(
CONTEXT
*
);
static
VOID
(
CDECL
*
pRtlRestoreContext
)(
CONTEXT
*
,
EXCEPTION_RECORD
*
);
static
VOID
(
CDECL
*
pRtlRestoreContext
)(
CONTEXT
*
,
EXCEPTION_RECORD
*
);
static
NTSTATUS
(
WINAPI
*
pRtlWow64GetThreadContext
)(
HANDLE
,
WOW64_CONTEXT
*
);
static
NTSTATUS
(
WINAPI
*
pRtlWow64GetThreadContext
)(
HANDLE
,
WOW64_CONTEXT
*
);
static
NTSTATUS
(
WINAPI
*
pRtlWow64SetThreadContext
)(
HANDLE
,
const
WOW64_CONTEXT
*
);
static
NTSTATUS
(
WINAPI
*
pRtlWow64SetThreadContext
)(
HANDLE
,
const
WOW64_CONTEXT
*
);
static
VOID
(
CDECL
*
pRtlUnwindEx
)(
VOID
*
,
VOID
*
,
EXCEPTION_RECORD
*
,
VOID
*
,
CONTEXT
*
,
UNWIND_HISTORY_TABLE
*
);
static
VOID
(
WINAPI
*
pRtlUnwindEx
)(
VOID
*
,
VOID
*
,
EXCEPTION_RECORD
*
,
VOID
*
,
CONTEXT
*
,
UNWIND_HISTORY_TABLE
*
);
static
int
(
CDECL
*
p_setjmp
)(
_JUMP_BUFFER
*
);
static
int
(
CDECL
*
p_setjmp
)(
_JUMP_BUFFER
*
);
#endif
#endif
...
...
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