2009-12-06 02:44:06 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS CRT
|
2015-09-19 13:50:57 +00:00
|
|
|
* FILE: lib/sdk/crt/except/amd64/seh.s
|
2009-12-06 02:44:06 +00:00
|
|
|
* 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-10-14 08:33:22 +00:00
|
|
|
ENDFUNC
|
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-10-14 08:33:22 +00:00
|
|
|
ENDFUNC
|
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-10-14 08:33:22 +00:00
|
|
|
ENDFUNC
|
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-10-14 08:33:22 +00:00
|
|
|
ENDFUNC
|
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-10-14 08:33:22 +00:00
|
|
|
ENDFUNC
|
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-10-14 08:33:22 +00:00
|
|
|
ENDFUNC
|
2010-11-27 22:12:15 +00:00
|
|
|
|
|
|
|
END
|