mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 12:32:47 +00:00
Small fixes to the SEH library
svn path=/trunk/; revision=9600
This commit is contained in:
parent
cb341561af
commit
6ce11dc878
2 changed files with 6 additions and 3 deletions
|
@ -44,7 +44,10 @@ typedef struct __SEHFrame
|
||||||
}
|
}
|
||||||
_SEHFrame_t;
|
_SEHFrame_t;
|
||||||
|
|
||||||
static void __stdcall _SEHCompilerSpecificHandler(_SEHPortableFrame_t * frame)
|
static __declspec(noreturn) void __stdcall _SEHCompilerSpecificHandler
|
||||||
|
(
|
||||||
|
_SEHPortableFrame_t * frame
|
||||||
|
)
|
||||||
{
|
{
|
||||||
_SEHFrame_t * myframe;
|
_SEHFrame_t * myframe;
|
||||||
myframe = (_SEHFrame_t *)(((char *)frame) - offsetof(_SEHFrame_t, SEH_Header));
|
myframe = (_SEHFrame_t *)(((char *)frame) - offsetof(_SEHFrame_t, SEH_Header));
|
||||||
|
|
|
@ -44,7 +44,7 @@ __SEHUnregisterFrame:
|
||||||
global __SEHUnwind
|
global __SEHUnwind
|
||||||
__SEHUnwind:
|
__SEHUnwind:
|
||||||
|
|
||||||
extern RtlUnwind
|
extern _RtlUnwind@16
|
||||||
|
|
||||||
mov ecx, [esp+4]
|
mov ecx, [esp+4]
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ __SEHUnwind:
|
||||||
push eax
|
push eax
|
||||||
push eax
|
push eax
|
||||||
push ecx
|
push ecx
|
||||||
call RtlUnwind
|
call _RtlUnwind@16
|
||||||
|
|
||||||
pop ebx
|
pop ebx
|
||||||
pop edi
|
pop edi
|
||||||
|
|
Loading…
Reference in a new issue