Alexandre Julliard : ntdll: Added stubs for RtlLookupFunctionEntry and RtlVirtualUnwind.

Alexandre Julliard julliard at winehq.org
Tue Dec 9 06:24:00 CST 2008


Module: wine
Branch: master
Commit: 50d6b7fb54e69e11c5d3657a803fe184ebec76cb
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=50d6b7fb54e69e11c5d3657a803fe184ebec76cb

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Dec  8 19:29:06 2008 +0100

ntdll: Added stubs for RtlLookupFunctionEntry and RtlVirtualUnwind.

---

 dlls/kernel32/kernel32.spec |    2 ++
 dlls/ntdll/ntdll.spec       |    2 ++
 dlls/ntdll/signal_x86_64.c  |   24 ++++++++++++++++++++++++
 3 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index a5a9bc6..76dd351 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -923,8 +923,10 @@
 @ stdcall -register RtlCaptureContext(ptr) ntdll.RtlCaptureContext
 # @ stub RtlCaptureStackBackTrace ( -> ntdll.RtlCaptureStackBackTrace)
 @ stdcall RtlFillMemory(ptr long long) ntdll.RtlFillMemory
+@ stdcall -arch=x86_64 RtlLookupFunctionEntry(long ptr ptr) ntdll.RtlLookupFunctionEntry
 @ stdcall RtlMoveMemory(ptr ptr long) ntdll.RtlMoveMemory
 @ stdcall RtlUnwind(ptr ptr ptr long) ntdll.RtlUnwind
+@ stdcall -arch=x86_64 RtlVirtualUnwind(long long long ptr ptr ptr ptr ptr) ntdll.RtlVirtualUnwind
 @ stdcall RtlZeroMemory(ptr long) ntdll.RtlZeroMemory
 @ stdcall -i386 -norelay SMapLS()
 @ stdcall -i386 -norelay SMapLS_IP_EBP_12()
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
index c94f2fb..d4c8d4e 100644
--- a/dlls/ntdll/ntdll.spec
+++ b/dlls/ntdll/ntdll.spec
@@ -730,6 +730,7 @@
 @ stdcall RtlLookupAtomInAtomTable(ptr wstr ptr)
 @ stub RtlLookupElementGenericTable
 # @ stub RtlLookupElementGenericTableAvl
+@ stdcall -arch=x86_64 RtlLookupFunctionEntry(long ptr ptr)
 @ stdcall RtlMakeSelfRelativeSD(ptr ptr ptr)
 @ stdcall RtlMapGenericMask(long ptr)
 # @ stub RtlMapSecurityErrorToNtStatus
@@ -908,6 +909,7 @@
 @ stub RtlValidateProcessHeaps
 # @ stub RtlValidateUnicodeString
 @ stdcall RtlVerifyVersionInfo(ptr long double)
+@ stdcall -arch=x86_64 RtlVirtualUnwind(long long long ptr ptr ptr ptr ptr)
 @ stub RtlWalkFrameChain
 @ stdcall RtlWalkHeap(long ptr)
 @ stub RtlWriteMemoryStream
diff --git a/dlls/ntdll/signal_x86_64.c b/dlls/ntdll/signal_x86_64.c
index 47b2ff7..4020be0 100644
--- a/dlls/ntdll/signal_x86_64.c
+++ b/dlls/ntdll/signal_x86_64.c
@@ -518,6 +518,30 @@ void signal_init_process(void)
 
 
 /**********************************************************************
+ *              RtlLookupFunctionEntry   (NTDLL.@)
+ */
+PRUNTIME_FUNCTION WINAPI RtlLookupFunctionEntry( ULONG64 pc, ULONG64 *base,
+                                                 UNWIND_HISTORY_TABLE *table )
+{
+    FIXME("stub\n");
+    return NULL;
+}
+
+
+/**********************************************************************
+ *              RtlVirtualUnwind   (NTDLL.@)
+ */
+PVOID WINAPI RtlVirtualUnwind ( ULONG type, ULONG64 base, ULONG64 pc,
+                                RUNTIME_FUNCTION *function, CONTEXT *context,
+                                PVOID *data, ULONG64 *frame,
+                                KNONVOLATILE_CONTEXT_POINTERS *ctx_ptr )
+{
+    FIXME("stub\n");
+    return NULL;
+}
+
+
+/**********************************************************************
  *              __wine_enter_vm86   (NTDLL.@)
  */
 void __wine_enter_vm86( CONTEXT *context )




More information about the wine-cvs mailing list