Changeset 13642
- Timestamp:
- Apr 18, 2010, 4:21:14 AM (15 years ago)
- Location:
- trunk/source/lisp-kernel
- Files:
-
- 2 edited
-
platform-win32.h (modified) (1 diff)
-
win32/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/lisp-kernel/platform-win32.h
r13638 r13642 41 41 #define xpMXCSRptr(x) (DWORD *)(&(x->ExtendedRegisters[24])) 42 42 43 #ifdef SOLARIS 44 #define SIGNUM_FOR_INTN_TRAP SIGSEGV 45 #ifdef X8664 46 #define IS_MAYBE_INT_TRAP(info,xp) ((xpGPR(xp,REG_TRAPNO)==0xd)&&((xpGPR(xp,REG_ERR)&7)==2)) 47 #define IS_PAGE_FAULT(info,xp) (xpGPR(xp,REG_TRAPNO)==0xe) 48 #else 49 #define IS_MAYBE_INT_TRAP(info,xp) ((xpGPR(xp,TRAPNO)==0xd)&&((xpGPR(xp,ERR)&7)==2)) 50 #define IS_PAGE_FAULT(info,xp) (xpGPR(xp,TRAPNO)==0xe) 51 #endif 52 #define SIGRETURN(context) setcontext(context) 53 #endif 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 */ 54 50 55 51 #include "os-windows.h" -
trunk/source/lisp-kernel/win32/Makefile
r13638 r13642 75 75 lisp-exceptions.h lisp_globals.h macros.h memprotect.h image.h \ 76 76 Threads.h x86-constants32.h x86-exceptions.h lisptypes.h \ 77 $(PLATFORM_H) const snts.h os-windows.h77 $(PLATFORM_H) constants.h os-windows.h 78 78 79 79
Note:
See TracChangeset
for help on using the changeset viewer.
