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
0e26aaa3
Commit
0e26aaa3
authored
Mar 31, 2019
by
André Hentschel
Committed by
Alexandre Julliard
Apr 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add stub for RtlInstallFunctionTableCallback on ARM/ARM64.
Signed-off-by:
André Hentschel
<
nerv@dawncrow.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e66370bf
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
3 deletions
+29
-3
api-ms-win-core-rtlsupport-l1-1-0.spec
...-rtlsupport-l1-1-0/api-ms-win-core-rtlsupport-l1-1-0.spec
+1
-1
ntdll.spec
dlls/ntdll/ntdll.spec
+1
-1
signal_arm.c
dlls/ntdll/signal_arm.c
+10
-0
signal_arm64.c
dlls/ntdll/signal_arm64.c
+11
-1
winnt.h
include/winnt.h
+6
-0
No files found.
dlls/api-ms-win-core-rtlsupport-l1-1-0/api-ms-win-core-rtlsupport-l1-1-0.spec
View file @
0e26aaa3
...
...
@@ -5,7 +5,7 @@
@ stdcall -arch=x86_64 RtlCopyMemory(ptr ptr long) ntdll.RtlCopyMemory
@ cdecl -arch=arm,arm64,x86_64 RtlDeleteFunctionTable(ptr) ntdll.RtlDeleteFunctionTable
@ stdcall RtlFillMemory(ptr long long) ntdll.RtlFillMemory
@ cdecl -arch=x86_64 RtlInstallFunctionTableCallback(long long long ptr ptr wstr) ntdll.RtlInstallFunctionTableCallback
@ cdecl -arch=
arm,arm64,
x86_64 RtlInstallFunctionTableCallback(long long long ptr ptr wstr) ntdll.RtlInstallFunctionTableCallback
@ stdcall -arch=arm,x86_64 RtlLookupFunctionEntry(long ptr ptr) ntdll.RtlLookupFunctionEntry
@ stdcall RtlPcToFileHeader(ptr ptr) ntdll.RtlPcToFileHeader
@ stdcall -norelay RtlRaiseException(ptr) ntdll.RtlRaiseException
...
...
dlls/ntdll/ntdll.spec
View file @
0e26aaa3
...
...
@@ -722,7 +722,7 @@
# @ stub RtlInitializeStackTraceDataBase
@ stub RtlInsertElementGenericTable
@ stdcall RtlInsertElementGenericTableAvl(ptr ptr long ptr)
@ cdecl -arch=x86_64 RtlInstallFunctionTableCallback(long long long ptr ptr wstr)
@ cdecl -arch=
arm,arm64,
x86_64 RtlInstallFunctionTableCallback(long long long ptr ptr wstr)
@ stdcall RtlInt64ToUnicodeString(int64 long ptr)
@ stdcall RtlIntegerToChar(long long long ptr)
@ stdcall RtlIntegerToUnicodeString(long long ptr)
...
...
dlls/ntdll/signal_arm.c
View file @
0e26aaa3
...
...
@@ -1058,6 +1058,16 @@ BOOLEAN CDECL RtlAddFunctionTable( RUNTIME_FUNCTION *table, DWORD count, DWORD a
return
TRUE
;
}
/**********************************************************************
* RtlInstallFunctionTableCallback (NTDLL.@)
*/
BOOLEAN
CDECL
RtlInstallFunctionTableCallback
(
DWORD
table
,
DWORD
base
,
DWORD
length
,
PGET_RUNTIME_FUNCTION_CALLBACK
callback
,
PVOID
context
,
PCWSTR
dll
)
{
FIXME
(
"%x %x %d %p %p %s: stub
\n
"
,
table
,
base
,
length
,
callback
,
context
,
wine_dbgstr_w
(
dll
)
);
return
TRUE
;
}
/*************************************************************************
* RtlAddGrowableFunctionTable (NTDLL.@)
*/
...
...
dlls/ntdll/signal_arm64.c
View file @
0e26aaa3
...
...
@@ -637,7 +637,7 @@ static void segv_handler( int signal, siginfo_t *info, void *ucontext )
{
EXCEPTION_RECORD
*
rec
;
ucontext_t
*
context
=
ucontext
;
DWORD
*
orig_pc
=
PC_sig
(
context
);
DWORD
*
orig_pc
=
(
DWORD
*
)
PC_sig
(
context
);
/* check for page fault inside the thread stack */
if
(
signal
==
SIGSEGV
&&
...
...
@@ -977,6 +977,16 @@ BOOLEAN CDECL RtlAddFunctionTable( RUNTIME_FUNCTION *table, DWORD count, ULONG_P
return
TRUE
;
}
/**********************************************************************
* RtlInstallFunctionTableCallback (NTDLL.@)
*/
BOOLEAN
CDECL
RtlInstallFunctionTableCallback
(
ULONG_PTR
table
,
ULONG_PTR
base
,
DWORD
length
,
PGET_RUNTIME_FUNCTION_CALLBACK
callback
,
PVOID
context
,
PCWSTR
dll
)
{
FIXME
(
"%lx %lx %d %p %p %s: stub
\n
"
,
table
,
base
,
length
,
callback
,
context
,
wine_dbgstr_w
(
dll
)
);
return
TRUE
;
}
/*************************************************************************
* RtlAddGrowableFunctionTable (NTDLL.@)
...
...
include/winnt.h
View file @
0e26aaa3
...
...
@@ -1745,8 +1745,11 @@ typedef struct _CONTEXT
ULONG
Padding2
[
2
];
/* 198 */
}
CONTEXT
;
typedef
PRUNTIME_FUNCTION
(
CALLBACK
*
PGET_RUNTIME_FUNCTION_CALLBACK
)(
DWORD
,
PVOID
);
BOOLEAN
CDECL
RtlAddFunctionTable
(
RUNTIME_FUNCTION
*
,
DWORD
,
DWORD
);
BOOLEAN
CDECL
RtlDeleteFunctionTable
(
RUNTIME_FUNCTION
*
);
BOOLEAN
CDECL
RtlInstallFunctionTableCallback
(
DWORD
,
DWORD
,
DWORD
,
PGET_RUNTIME_FUNCTION_CALLBACK
,
PVOID
,
PCWSTR
);
PRUNTIME_FUNCTION
WINAPI
RtlLookupFunctionEntry
(
ULONG_PTR
,
DWORD
*
,
UNWIND_HISTORY_TABLE
*
);
#endif
/* __arm__ */
...
...
@@ -1878,8 +1881,11 @@ typedef struct _CONTEXT
DWORD64
Wvr
[
ARM64_MAX_WATCHPOINTS
];
/* 380 */
}
CONTEXT
;
typedef
PRUNTIME_FUNCTION
(
CALLBACK
*
PGET_RUNTIME_FUNCTION_CALLBACK
)(
DWORD64
,
PVOID
);
BOOLEAN
CDECL
RtlAddFunctionTable
(
RUNTIME_FUNCTION
*
,
DWORD
,
ULONG_PTR
);
BOOLEAN
CDECL
RtlDeleteFunctionTable
(
RUNTIME_FUNCTION
*
);
BOOLEAN
CDECL
RtlInstallFunctionTableCallback
(
ULONG_PTR
,
ULONG_PTR
,
DWORD
,
PGET_RUNTIME_FUNCTION_CALLBACK
,
PVOID
,
PCWSTR
);
#endif
/* __aarch64__ */
...
...
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