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 ******************************************************************/
|
|
|
|
|
|
|
|
#include <ndk/asm.h>
|
|
|
|
.intel_syntax noprefix
|
|
|
|
|
|
|
|
#define DISPOSITION_DISMISS 0
|
|
|
|
#define DISPOSITION_CONTINUE_SEARCH 1
|
|
|
|
#define DISPOSITION_COLLIDED_UNWIND 3
|
|
|
|
|
|
|
|
/* GLOBALS *******************************************************************/
|
|
|
|
|
2010-06-13 01:24:42 +00:00
|
|
|
.globl _global_unwind2
|
|
|
|
.globl _local_unwind2
|
|
|
|
.globl _abnormal_termination
|
|
|
|
.globl _except_handler2
|
|
|
|
.globl _except_handler3
|
2009-12-06 02:44:06 +00:00
|
|
|
|
|
|
|
/* FUNCTIONS *****************************************************************/
|
|
|
|
|
2010-07-21 16:03:44 +00:00
|
|
|
.func _unwind_handler
|
2009-12-06 02:44:06 +00:00
|
|
|
_unwind_handler:
|
|
|
|
ret
|
|
|
|
.endfunc
|
|
|
|
|
|
|
|
.func _global_unwind2
|
2010-06-13 01:24:42 +00:00
|
|
|
_global_unwind2:
|
2009-12-06 02:44:06 +00:00
|
|
|
ret
|
|
|
|
.endfunc
|
|
|
|
|
|
|
|
.func _abnormal_termination
|
2010-06-13 01:24:42 +00:00
|
|
|
_abnormal_termination:
|
2009-12-06 02:44:06 +00:00
|
|
|
ret
|
|
|
|
.endfunc
|
|
|
|
|
|
|
|
.func _local_unwind2
|
2010-06-13 01:24:42 +00:00
|
|
|
_local_unwind2:
|
2009-12-06 02:44:06 +00:00
|
|
|
ret
|
|
|
|
.endfunc
|
|
|
|
|
|
|
|
.func _except_handler2
|
2010-06-13 01:24:42 +00:00
|
|
|
_except_handler2:
|
2009-12-06 02:44:06 +00:00
|
|
|
ret
|
|
|
|
.endfunc
|
|
|
|
|
|
|
|
.func _except_handler3
|
2010-06-13 01:24:42 +00:00
|
|
|
_except_handler3:
|
2009-12-06 02:44:06 +00:00
|
|
|
ret
|
|
|
|
.endfunc
|