mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
Add a dummy PSEH2 for amd64
svn path=/trunk/; revision=45055
This commit is contained in:
parent
40a5eb2996
commit
1697ed0f17
2 changed files with 41 additions and 0 deletions
|
@ -19,6 +19,9 @@
|
|||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
#ifdef _M_AMD64
|
||||
#include "pseh2_64.h"
|
||||
#else
|
||||
|
||||
#ifndef KJK_PSEH2_H_
|
||||
#define KJK_PSEH2_H_
|
||||
|
@ -400,6 +403,7 @@ __SEH_END_SCOPE_CHAIN;
|
|||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* EOF */
|
||||
|
|
37
reactos/include/reactos/libs/pseh/pseh2_64.h
Normal file
37
reactos/include/reactos/libs/pseh/pseh2_64.h
Normal file
|
@ -0,0 +1,37 @@
|
|||
#ifndef KJK_PSEH2_H_
|
||||
#define KJK_PSEH2_H_
|
||||
|
||||
|
||||
#define _SEH2_TRY if(1) {
|
||||
#define _SEH2_EXCEPT(...) } if(0) {
|
||||
#define _SEH2_END }
|
||||
#define _SEH2_YIELD(STMT_) STMT_
|
||||
#define _SEH2_LEAVE
|
||||
#define _SEH2_FINALLY } if(1) {
|
||||
#define _SEH2_GetExceptionInformation() (GetExceptionInformation())
|
||||
#define _SEH2_GetExceptionCode() (0)
|
||||
#define _SEH2_AbnormalTermination() (0)
|
||||
|
||||
struct _EXCEPTION_RECORD;
|
||||
struct _EXCEPTION_POINTERS;
|
||||
struct _CONTEXT;
|
||||
|
||||
typedef int (__cdecl * _SEH2FrameHandler_t)
|
||||
(
|
||||
struct _EXCEPTION_RECORD *,
|
||||
void *,
|
||||
struct _CONTEXT *,
|
||||
void *
|
||||
);
|
||||
|
||||
typedef struct __SEH2Registration
|
||||
{
|
||||
struct __SEH2Registration * SER_Prev;
|
||||
_SEH2FrameHandler_t SER_Handler;
|
||||
}
|
||||
_SEH2Registration_t;
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/* EOF */
|
Loading…
Reference in a new issue