mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 00:34:39 +00:00
c501d8112c
svn path=/branches/aicom-network-fixes/; revision=34994
27 lines
659 B
ArmAsm
27 lines
659 B
ArmAsm
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS CRT
|
|
* FILE: lib/crt/misc/i386/prolog.s
|
|
* PURPOSE: SEH Support for the CRT
|
|
* PROGRAMMERS: Wine Development Team
|
|
*/
|
|
|
|
/* INCLUDES ******************************************************************/
|
|
|
|
#include <ndk/asm.h>
|
|
|
|
/* GLOBALS *******************************************************************/
|
|
|
|
.globl __EH_prolog
|
|
|
|
// Copied from Wine.
|
|
__EH_prolog:
|
|
pushl $-1
|
|
pushl %eax
|
|
pushl %fs:0
|
|
movl %esp, %fs:0
|
|
movl 12(%esp), %eax
|
|
movl %ebp, 12(%esp)
|
|
leal 12(%esp), %ebp
|
|
pushl %eax
|
|
ret
|