Commit 88d13e66 authored by Jakub Staroń's avatar Jakub Staroń Committed by Alexandre Julliard

ntdll: Implement RtlRestoreContext on i386.

parent 5253c8d7
......@@ -1313,7 +1313,7 @@
@ stdcall RtlMoveMemory(ptr ptr long) NTDLL.RtlMoveMemory
@ stdcall RtlPcToFileHeader(ptr ptr) NTDLL.RtlPcToFileHeader
@ stdcall -arch=arm,arm64,x86_64 -norelay RtlRaiseException(ptr) NTDLL.RtlRaiseException
@ cdecl -arch=arm,arm64,x86_64 -import RtlRestoreContext(ptr ptr)
@ cdecl -import RtlRestoreContext(ptr ptr)
@ stdcall RtlUnwind(ptr ptr ptr long) NTDLL.RtlUnwind
@ stdcall -arch=arm,arm64,x86_64 RtlUnwindEx(long long ptr long ptr) NTDLL.RtlUnwindEx
@ stdcall -arch=arm,arm64,x86_64 RtlVirtualUnwind(long long long ptr ptr ptr ptr ptr) NTDLL.RtlVirtualUnwind
......
......@@ -952,7 +952,7 @@
@ stdcall RtlRemoveVectoredContinueHandler(ptr)
@ stdcall RtlRemoveVectoredExceptionHandler(ptr)
@ stdcall RtlResetRtlTranslations(ptr)
@ cdecl -arch=arm,arm64,x86_64 RtlRestoreContext(ptr ptr)
@ cdecl RtlRestoreContext(ptr ptr)
@ stdcall RtlRestoreLastWin32Error(long) RtlSetLastWin32Error
@ stub RtlRevertMemoryStream
@ stub RtlRunDecodeUnicodeString
......
......@@ -359,6 +359,14 @@ __ASM_STDCALL_FUNC( RtlCaptureContext, 4,
__ASM_CFI(".cfi_adjust_cfa_offset -4\n\t")
"ret $4" )
/*******************************************************************
* RtlRestoreContext (NTDLL.@)
*/
void CDECL RtlRestoreContext( CONTEXT *context, EXCEPTION_RECORD *rec )
{
TRACE( "returning to %p stack %p\n", (void *)context->Eip, (void *)context->Esp );
NtContinue( context, FALSE );
}
/*******************************************************************
* RtlUnwind (NTDLL.@)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment