Changeset 13953


Ignore:
Timestamp:
Jul 12, 2010, 12:07:37 PM (9 years ago)
Author:
gb
Message:

Spell xpMXCSR with a 'p'. Split 64/32-bit trap stuff into the right header
file.

Location:
trunk/source/lisp-kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/platform-solarisx64.h

    r13952 r13953  
    3737#define eflags_register(xp) xpGPR(xp,Iflags)
    3838#define xpXMMregs(x)(&((x)->uc_mcontext.fpregs.fp_reg_set.fpchip_state.xmm[0]))
    39 #define xmMXCSR(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)
    4040#define SIGNUM_FOR_INTN_TRAP SIGSEGV
    41 #ifdef X8664
    4241#define IS_MAYBE_INT_TRAP(info,xp) ((xpGPR(xp,REG_TRAPNO)==0xd)&&((xpGPR(xp,REG_ERR)&7)==2))
    4342#define IS_PAGE_FAULT(info,xp) (xpGPR(xp,REG_TRAPNO)==0xe)
    44 #else
    45 #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 #endif
    4843#define SIGRETURN(context) setcontext(context)
    4944
  • trunk/source/lisp-kernel/platform-solarisx86.h

    r13952 r13953  
    4040#define xmMXCSR(x) ((x)->uc_mcontext.fpregs.fp_reg_set.fpchip_state.xstatus)
    4141#define SIGNUM_FOR_INTN_TRAP SIGSEGV
    42 #ifdef X8664
    43 #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 #else
    4642#define IS_MAYBE_INT_TRAP(info,xp) ((xpGPR(xp,TRAPNO)==0xd)&&((xpGPR(xp,ERR)&7)==2))
    4743#define IS_PAGE_FAULT(info,xp) (xpGPR(xp,TRAPNO)==0xe)
    48 #endif
    4944#define SIGRETURN(context) setcontext(context)
    5045
Note: See TracChangeset for help on using the changeset viewer.