mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
94 lines
3.6 KiB
Diff
94 lines
3.6 KiB
Diff
From 587e15322d1f68aa61c01ec3a92d13aeda1af6d9 Mon Sep 17 00:00:00 2001
|
|
From: Austin English <austinenglish@gmail.com>
|
|
Date: Wed, 24 Jan 2018 22:27:51 -0700
|
|
Subject: [PATCH] ntdll: Add RtlAddGrowableFunctionTable stub
|
|
|
|
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
|
|
---
|
|
dlls/ntdll/ntdll.spec | 1 +
|
|
dlls/ntdll/signal_arm.c | 10 ++++++++++
|
|
dlls/ntdll/signal_arm64.c | 10 ++++++++++
|
|
dlls/ntdll/signal_x86_64.c | 12 ++++++++++++
|
|
4 files changed, 33 insertions(+)
|
|
|
|
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
|
|
index c602dbb..4fa9c7d 100644
|
|
--- a/dlls/ntdll/ntdll.spec
|
|
+++ b/dlls/ntdll/ntdll.spec
|
|
@@ -434,6 +434,7 @@
|
|
@ stdcall RtlAddMandatoryAce(ptr long long long long ptr)
|
|
# @ stub RtlAddRange
|
|
@ cdecl -arch=arm,arm64,x86_64 RtlAddFunctionTable(ptr long long)
|
|
+@ cdecl -arch=arm,arm64,x86_64 RtlAddGrowableFunctionTable(ptr ptr long long long long)
|
|
@ stdcall RtlAddRefActivationContext(ptr)
|
|
# @ stub RtlAddRefMemoryStream
|
|
@ stdcall RtlAddVectoredContinueHandler(long ptr)
|
|
diff --git a/dlls/ntdll/signal_arm.c b/dlls/ntdll/signal_arm.c
|
|
index 5ca45ea..f5b9a64 100644
|
|
--- a/dlls/ntdll/signal_arm.c
|
|
+++ b/dlls/ntdll/signal_arm.c
|
|
@@ -1058,6 +1058,16 @@ BOOLEAN CDECL RtlAddFunctionTable( RUNTIME_FUNCTION *table, DWORD count, DWORD a
|
|
return TRUE;
|
|
}
|
|
|
|
+/*************************************************************************
|
|
+ * RtlAddGrowableFunctionTable (NTDLL.@)
|
|
+ */
|
|
+DWORD WINAPI RtlAddGrowableFunctionTable( void **table, RUNTIME_FUNCTION *functions, DWORD count, DWORD max_count,
|
|
+ ULONG_PTR base, ULONG_PTR end )
|
|
+{
|
|
+ FIXME( "(%p, %p, %d, %d, %ld, %ld) stub!\n", table, functions, count, max_count, base, end );
|
|
+ if (table) *table = NULL;
|
|
+ return S_OK;
|
|
+}
|
|
|
|
/**********************************************************************
|
|
* RtlDeleteFunctionTable (NTDLL.@)
|
|
diff --git a/dlls/ntdll/signal_arm64.c b/dlls/ntdll/signal_arm64.c
|
|
index 923bc39..9e113ed 100644
|
|
--- a/dlls/ntdll/signal_arm64.c
|
|
+++ b/dlls/ntdll/signal_arm64.c
|
|
@@ -976,6 +976,16 @@ BOOLEAN CDECL RtlAddFunctionTable( RUNTIME_FUNCTION *table, DWORD count, ULONG_P
|
|
return TRUE;
|
|
}
|
|
|
|
+/*************************************************************************
|
|
+ * RtlAddGrowableFunctionTable (NTDLL.@)
|
|
+ */
|
|
+DWORD WINAPI RtlAddGrowableFunctionTable( void **table, RUNTIME_FUNCTION *functions, DWORD count, DWORD max_count,
|
|
+ ULONG_PTR base, ULONG_PTR end )
|
|
+{
|
|
+ FIXME( "(%p, %p, %d, %d, %ld, %ld) stub!\n", table, functions, count, max_count, base, end );
|
|
+ if (table) *table = NULL;
|
|
+ return S_OK;
|
|
+}
|
|
|
|
/**********************************************************************
|
|
* RtlDeleteFunctionTable (NTDLL.@)
|
|
diff --git a/dlls/ntdll/signal_x86_64.c b/dlls/ntdll/signal_x86_64.c
|
|
index f5dfd27..a6934ba 100644
|
|
--- a/dlls/ntdll/signal_x86_64.c
|
|
+++ b/dlls/ntdll/signal_x86_64.c
|
|
@@ -3506,6 +3506,18 @@ BOOLEAN CDECL RtlInstallFunctionTableCallback( DWORD64 table, DWORD64 base, DWOR
|
|
}
|
|
|
|
|
|
+/*************************************************************************
|
|
+ * RtlAddGrowableFunctionTable (NTDLL.@)
|
|
+ */
|
|
+DWORD WINAPI RtlAddGrowableFunctionTable( void **table, RUNTIME_FUNCTION *functions, DWORD count, DWORD max_count,
|
|
+ ULONG_PTR base, ULONG_PTR end )
|
|
+{
|
|
+ FIXME( "(%p, %p, %d, %d, %ld, %ld) stub!\n", table, functions, count, max_count, base, end );
|
|
+ if (table) *table = NULL;
|
|
+ return S_OK;
|
|
+}
|
|
+
|
|
+
|
|
/**********************************************************************
|
|
* RtlDeleteFunctionTable (NTDLL.@)
|
|
*/
|
|
--
|
|
1.9.1
|
|
|