mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
Updated ntdll-RtlAddGrowableFunctionTable patchset
This commit is contained in:
parent
fc28dc3e4c
commit
a56cf4623e
@ -1,7 +1,7 @@
|
||||
From 587e15322d1f68aa61c01ec3a92d13aeda1af6d9 Mon Sep 17 00:00:00 2001
|
||||
From 8a9a381c788c317f95e7e95c347459f0bc720829 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
|
||||
Subject: [PATCH 1/2] ntdll: Add RtlAddGrowableFunctionTable stub
|
||||
|
||||
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
|
||||
---
|
||||
@ -9,10 +9,11 @@ Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
|
||||
dlls/ntdll/signal_arm.c | 10 ++++++++++
|
||||
dlls/ntdll/signal_arm64.c | 10 ++++++++++
|
||||
dlls/ntdll/signal_x86_64.c | 12 ++++++++++++
|
||||
4 files changed, 33 insertions(+)
|
||||
include/winnt.h | 2 ++
|
||||
5 files changed, 35 insertions(+)
|
||||
|
||||
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
|
||||
index c602dbb..4fa9c7d 100644
|
||||
index 446f2a5..c488fe2 100644
|
||||
--- a/dlls/ntdll/ntdll.spec
|
||||
+++ b/dlls/ntdll/ntdll.spec
|
||||
@@ -434,6 +434,7 @@
|
||||
@ -24,7 +25,7 @@ index c602dbb..4fa9c7d 100644
|
||||
# @ stub RtlAddRefMemoryStream
|
||||
@ stdcall RtlAddVectoredContinueHandler(long ptr)
|
||||
diff --git a/dlls/ntdll/signal_arm.c b/dlls/ntdll/signal_arm.c
|
||||
index 5ca45ea..f5b9a64 100644
|
||||
index da0c8fb..72087a2 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
|
||||
@ -45,7 +46,7 @@ index 5ca45ea..f5b9a64 100644
|
||||
/**********************************************************************
|
||||
* RtlDeleteFunctionTable (NTDLL.@)
|
||||
diff --git a/dlls/ntdll/signal_arm64.c b/dlls/ntdll/signal_arm64.c
|
||||
index 923bc39..9e113ed 100644
|
||||
index 4d2d127..e072ee0 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
|
||||
@ -66,7 +67,7 @@ index 923bc39..9e113ed 100644
|
||||
/**********************************************************************
|
||||
* RtlDeleteFunctionTable (NTDLL.@)
|
||||
diff --git a/dlls/ntdll/signal_x86_64.c b/dlls/ntdll/signal_x86_64.c
|
||||
index f5dfd27..a6934ba 100644
|
||||
index 7228adb..b8cb0a9 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
|
||||
@ -88,6 +89,19 @@ index f5dfd27..a6934ba 100644
|
||||
/**********************************************************************
|
||||
* RtlDeleteFunctionTable (NTDLL.@)
|
||||
*/
|
||||
diff --git a/include/winnt.h b/include/winnt.h
|
||||
index 742b47b..47763dd 100644
|
||||
--- a/include/winnt.h
|
||||
+++ b/include/winnt.h
|
||||
@@ -1146,6 +1146,8 @@ typedef struct _UNWIND_HISTORY_TABLE_ENTRY
|
||||
PRUNTIME_FUNCTION FunctionEntry;
|
||||
} UNWIND_HISTORY_TABLE_ENTRY, *PUNWIND_HISTORY_TABLE_ENTRY;
|
||||
|
||||
+NTSYSAPI DWORD NTAPI RtlAddGrowableFunctionTable(void**,RUNTIME_FUNCTION*,DWORD,DWORD,ULONG_PTR,ULONG_PTR);
|
||||
+
|
||||
#define UNWIND_HISTORY_TABLE_NONE 0
|
||||
#define UNWIND_HISTORY_TABLE_GLOBAL 1
|
||||
#define UNWIND_HISTORY_TABLE_LOCAL 2
|
||||
--
|
||||
1.9.1
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
From 31ac411774a34b84726b1a0f6bffae2cb8d9f15a Mon Sep 17 00:00:00 2001
|
||||
From f8619a7dc2d8a0a80d1b7f3e2bbf52be5b201dd1 Mon Sep 17 00:00:00 2001
|
||||
From: Alex Henrie <alexhenrie24@gmail.com>
|
||||
Date: Wed, 24 Jan 2018 22:27:52 -0700
|
||||
Subject: [PATCH] ntdll: Add RtlGrowFunctionTable stub
|
||||
Subject: [PATCH 2/2] ntdll: Add RtlGrowFunctionTable stub
|
||||
|
||||
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
|
||||
---
|
||||
@ -9,10 +9,11 @@ Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
|
||||
dlls/ntdll/signal_arm.c | 8 ++++++++
|
||||
dlls/ntdll/signal_arm64.c | 8 ++++++++
|
||||
dlls/ntdll/signal_x86_64.c | 9 +++++++++
|
||||
4 files changed, 26 insertions(+)
|
||||
include/winnt.h | 1 +
|
||||
5 files changed, 27 insertions(+)
|
||||
|
||||
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
|
||||
index 4fa9c7d..85897b1 100644
|
||||
index c488fe2..c2e2fb1 100644
|
||||
--- a/dlls/ntdll/ntdll.spec
|
||||
+++ b/dlls/ntdll/ntdll.spec
|
||||
@@ -684,6 +684,7 @@
|
||||
@ -24,7 +25,7 @@ index 4fa9c7d..85897b1 100644
|
||||
@ stdcall RtlHashUnicodeString(ptr long long ptr)
|
||||
@ stdcall RtlIdentifierAuthoritySid(ptr)
|
||||
diff --git a/dlls/ntdll/signal_arm.c b/dlls/ntdll/signal_arm.c
|
||||
index f5b9a64..41bbdb7 100644
|
||||
index 72087a2..88914cd 100644
|
||||
--- a/dlls/ntdll/signal_arm.c
|
||||
+++ b/dlls/ntdll/signal_arm.c
|
||||
@@ -1069,6 +1069,14 @@ DWORD WINAPI RtlAddGrowableFunctionTable( void **table, RUNTIME_FUNCTION *functi
|
||||
@ -43,7 +44,7 @@ index f5b9a64..41bbdb7 100644
|
||||
* RtlDeleteFunctionTable (NTDLL.@)
|
||||
*/
|
||||
diff --git a/dlls/ntdll/signal_arm64.c b/dlls/ntdll/signal_arm64.c
|
||||
index 9e113ed..8e99e7e 100644
|
||||
index e072ee0..3aa9539 100644
|
||||
--- a/dlls/ntdll/signal_arm64.c
|
||||
+++ b/dlls/ntdll/signal_arm64.c
|
||||
@@ -987,6 +987,14 @@ DWORD WINAPI RtlAddGrowableFunctionTable( void **table, RUNTIME_FUNCTION *functi
|
||||
@ -62,7 +63,7 @@ index 9e113ed..8e99e7e 100644
|
||||
* RtlDeleteFunctionTable (NTDLL.@)
|
||||
*/
|
||||
diff --git a/dlls/ntdll/signal_x86_64.c b/dlls/ntdll/signal_x86_64.c
|
||||
index a6934ba..848b9a0 100644
|
||||
index b8cb0a9..cb9925b 100644
|
||||
--- a/dlls/ntdll/signal_x86_64.c
|
||||
+++ b/dlls/ntdll/signal_x86_64.c
|
||||
@@ -3518,6 +3518,15 @@ DWORD WINAPI RtlAddGrowableFunctionTable( void **table, RUNTIME_FUNCTION *functi
|
||||
@ -81,6 +82,18 @@ index a6934ba..848b9a0 100644
|
||||
/**********************************************************************
|
||||
* RtlDeleteFunctionTable (NTDLL.@)
|
||||
*/
|
||||
diff --git a/include/winnt.h b/include/winnt.h
|
||||
index 47763dd..cc5cc94 100644
|
||||
--- a/include/winnt.h
|
||||
+++ b/include/winnt.h
|
||||
@@ -1147,6 +1147,7 @@ typedef struct _UNWIND_HISTORY_TABLE_ENTRY
|
||||
} UNWIND_HISTORY_TABLE_ENTRY, *PUNWIND_HISTORY_TABLE_ENTRY;
|
||||
|
||||
NTSYSAPI DWORD NTAPI RtlAddGrowableFunctionTable(void**,RUNTIME_FUNCTION*,DWORD,DWORD,ULONG_PTR,ULONG_PTR);
|
||||
+NTSYSAPI void NTAPI RtlGrowFunctionTable(void*,DWORD);
|
||||
|
||||
#define UNWIND_HISTORY_TABLE_NONE 0
|
||||
#define UNWIND_HISTORY_TABLE_GLOBAL 1
|
||||
--
|
||||
1.9.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user