2009-12-06 02:44:06 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS CRT
|
|
|
|
* FILE: lib/crt/misc/i386/seh.S
|
|
|
|
* PURPOSE: SEH Support for the CRT
|
|
|
|
* PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* INCLUDES ******************************************************************/
|
|
|
|
|
2010-11-27 22:12:15 +00:00
|
|
|
#include <asm.inc>
|
|
|
|
#include <ksamd64.inc>
|
2009-12-06 02:44:06 +00:00
|
|
|
|
|
|
|
#define DISPOSITION_DISMISS 0
|
|
|
|
#define DISPOSITION_CONTINUE_SEARCH 1
|
|
|
|
#define DISPOSITION_COLLIDED_UNWIND 3
|
|
|
|
|
|
|
|
/* GLOBALS *******************************************************************/
|
|
|
|
|
2011-02-10 10:30:43 +00:00
|
|
|
PUBLIC _global_unwind2
|
|
|
|
PUBLIC _local_unwind2
|
|
|
|
PUBLIC _abnormal_termination
|
|
|
|
PUBLIC _except_handler2
|
|
|
|
PUBLIC _except_handler3
|
2009-12-06 02:44:06 +00:00
|
|
|
|
2011-02-10 10:30:43 +00:00
|
|
|
/* CODE **********************************************************************/
|
|
|
|
.code64
|
2009-12-06 02:44:06 +00:00
|
|
|
|
2011-02-10 10:30:43 +00:00
|
|
|
FUNC _unwind_handler
|
|
|
|
.endprolog
|
2009-12-06 02:44:06 +00:00
|
|
|
ret
|
2011-02-10 10:30:43 +00:00
|
|
|
ENDFUNC _unwind_handler
|
2009-12-06 02:44:06 +00:00
|
|
|
|
2011-02-10 10:30:43 +00:00
|
|
|
FUNC _global_unwind2
|
|
|
|
.endprolog
|
2009-12-06 02:44:06 +00:00
|
|
|
ret
|
2011-02-10 10:30:43 +00:00
|
|
|
ENDFUNC _global_unwind2
|
2009-12-06 02:44:06 +00:00
|
|
|
|
2011-02-10 10:30:43 +00:00
|
|
|
FUNC _abnormal_termination
|
|
|
|
.endprolog
|
2009-12-06 02:44:06 +00:00
|
|
|
ret
|
2011-02-10 10:30:43 +00:00
|
|
|
ENDFUNC _abnormal_termination
|
2009-12-06 02:44:06 +00:00
|
|
|
|
2011-02-10 10:30:43 +00:00
|
|
|
FUNC _local_unwind2
|
|
|
|
.endprolog
|
2009-12-06 02:44:06 +00:00
|
|
|
ret
|
2011-02-10 10:30:43 +00:00
|
|
|
ENDFUNC _local_unwind2
|
2009-12-06 02:44:06 +00:00
|
|
|
|
2011-02-10 10:30:43 +00:00
|
|
|
FUNC _except_handler2
|
|
|
|
.endprolog
|
2009-12-06 02:44:06 +00:00
|
|
|
ret
|
2011-02-10 10:30:43 +00:00
|
|
|
ENDFUNC _except_handler2
|
2009-12-06 02:44:06 +00:00
|
|
|
|
2011-02-10 10:30:43 +00:00
|
|
|
FUNC _except_handler3
|
|
|
|
.endprolog
|
2009-12-06 02:44:06 +00:00
|
|
|
ret
|
2011-02-10 10:30:43 +00:00
|
|
|
ENDFUNC _except_handler3
|
2010-11-27 22:12:15 +00:00
|
|
|
|
|
|
|
END
|