Changeset 13953
- Timestamp:
- Jul 12, 2010, 5:07:37 AM (14 years ago)
- Location:
- trunk/source/lisp-kernel
- Files:
-
- 2 edited
-
platform-solarisx64.h (modified) (1 diff)
-
platform-solarisx86.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/lisp-kernel/platform-solarisx64.h
r13952 r13953 37 37 #define eflags_register(xp) xpGPR(xp,Iflags) 38 38 #define xpXMMregs(x)(&((x)->uc_mcontext.fpregs.fp_reg_set.fpchip_state.xmm[0])) 39 #define x mMXCSR(x) ((x)->uc_mcontext.fpregs.fp_reg_set.fpchip_state.xstatus)39 #define xpMXCSR(x) ((x)->uc_mcontext.fpregs.fp_reg_set.fpchip_state.xstatus) 40 40 #define SIGNUM_FOR_INTN_TRAP SIGSEGV 41 #ifdef X866442 41 #define IS_MAYBE_INT_TRAP(info,xp) ((xpGPR(xp,REG_TRAPNO)==0xd)&&((xpGPR(xp,REG_ERR)&7)==2)) 43 42 #define IS_PAGE_FAULT(info,xp) (xpGPR(xp,REG_TRAPNO)==0xe) 44 #else45 #define IS_MAYBE_INT_TRAP(info,xp) ((xpGPR(xp,TRAPNO)==0xd)&&((xpGPR(xp,ERR)&7)==2))46 #define IS_PAGE_FAULT(info,xp) (xpGPR(xp,TRAPNO)==0xe)47 #endif48 43 #define SIGRETURN(context) setcontext(context) 49 44 -
trunk/source/lisp-kernel/platform-solarisx86.h
r13952 r13953 40 40 #define xmMXCSR(x) ((x)->uc_mcontext.fpregs.fp_reg_set.fpchip_state.xstatus) 41 41 #define SIGNUM_FOR_INTN_TRAP SIGSEGV 42 #ifdef X866443 #define IS_MAYBE_INT_TRAP(info,xp) ((xpGPR(xp,REG_TRAPNO)==0xd)&&((xpGPR(xp,REG_ERR)&7)==2))44 #define IS_PAGE_FAULT(info,xp) (xpGPR(xp,REG_TRAPNO)==0xe)45 #else46 42 #define IS_MAYBE_INT_TRAP(info,xp) ((xpGPR(xp,TRAPNO)==0xd)&&((xpGPR(xp,ERR)&7)==2)) 47 43 #define IS_PAGE_FAULT(info,xp) (xpGPR(xp,TRAPNO)==0xe) 48 #endif49 44 #define SIGRETURN(context) setcontext(context) 50 45
Note:
See TracChangeset
for help on using the changeset viewer.
