Changeset 13641
- Timestamp:
- Apr 18, 2010, 4:13:55 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/source/lisp-kernel/platform-win64.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/lisp-kernel/platform-win64.h
r13638 r13641 40 40 #define xpMXCSRptr(x) (DWORD *)(&(x->MxCsr)) 41 41 42 #ifdef SOLARIS 43 #define SIGNUM_FOR_INTN_TRAP SIGSEGV 44 #ifdef X8664 45 #define IS_MAYBE_INT_TRAP(info,xp) ((xpGPR(xp,REG_TRAPNO)==0xd)&&((xpGPR(xp,REG_ERR)&7)==2)) 46 #define IS_PAGE_FAULT(info,xp) (xpGPR(xp,REG_TRAPNO)==0xe) 47 #else 48 #define IS_MAYBE_INT_TRAP(info,xp) ((xpGPR(xp,TRAPNO)==0xd)&&((xpGPR(xp,ERR)&7)==2)) 49 #define IS_PAGE_FAULT(info,xp) (xpGPR(xp,TRAPNO)==0xe) 50 #endif 51 #define SIGRETURN(context) setcontext(context) 52 #endif 42 43 #define SIGNUM_FOR_INTN_TRAP SIGSEGV /* Also fake */ 44 #define IS_MAYBE_INT_TRAP(info,xp) \ 45 ((info->ExceptionCode == EXCEPTION_ACCESS_VIOLATION) && \ 46 (info->ExceptionInformation[0]==0) && \ 47 (info->ExceptionInformation[1]==(ULONG_PTR)(-1L))) 48 #define IS_PAGE_FAULT(info,xp) (1) 49 #define SIGRETURN(context) /* for now */ 53 50 54 51 #include "os-windows.h"
Note:
See TracChangeset
for help on using the changeset viewer.
