Author: tkreuzer
Date: Wed Jan 13 00:15:23 2010
New Revision: 45055
URL:
http://svn.reactos.org/svn/reactos?rev=45055&view=rev
Log:
Add a dummy PSEH2 for amd64
Added:
trunk/reactos/include/reactos/libs/pseh/pseh2_64.h (with props)
Modified:
trunk/reactos/include/reactos/libs/pseh/pseh2.h
Modified: trunk/reactos/include/reactos/libs/pseh/pseh2.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/pseh/…
==============================================================================
--- trunk/reactos/include/reactos/libs/pseh/pseh2.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/libs/pseh/pseh2.h [iso-8859-1] Wed Jan 13 00:15:23 2010
@@ -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_
@@ -401,5 +404,6 @@
#endif
#endif
+#endif
/* EOF */
Added: trunk/reactos/include/reactos/libs/pseh/pseh2_64.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/pseh/…
==============================================================================
--- trunk/reactos/include/reactos/libs/pseh/pseh2_64.h (added)
+++ trunk/reactos/include/reactos/libs/pseh/pseh2_64.h [iso-8859-1] Wed Jan 13 00:15:23
2010
@@ -1,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 */
Propchange: trunk/reactos/include/reactos/libs/pseh/pseh2_64.h
------------------------------------------------------------------------------
svn:eol-style = native