Changeset 10025


Ignore:
Timestamp:
Jul 14, 2008, 12:49:11 PM (11 years ago)
Author:
gb
Message:

Some Solaris exception, exception-context stuff. Not tested, not
really sure about IS_MAYBE_INT_TRAP() or SIGRETURN().

(Mostly interested in compiling the kernel on Solaris so that the
Solaris 'lint' program can be used, but it might not be far from
working. Hmmm.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/x86-exceptions.h

    r9055 r10025  
    6666#define set_xpGPR(x,gpr,new) xpGPR((x),(gpr)) = (natural)(new)
    6767#define xpPC(x) xpGPR(x,Iip)
    68 #define xpMMXreg(x,n)  *((natural *)(&(x)->uc_mcontext.fpregs.fp_reg_set.fpchip_state.st[n]))
     68#define xpXMMregs(x)(&((x)->uc_mcontext.fpregs.fp_reg_set.fpchip_state.xmm[0]))
    6969#endif
    7070#endif
     
    146146#endif
    147147
     148#ifdef SOLARIS
     149#define SIGNUM_FOR_INTN_TRAP SIGSEGV
     150#define IS_MAYBE_INT_TRAP(info,xp) (((info->si_code) &0x7f) == 0)
     151#define SIGRETURN(context)
     152#endif
     153
    148154/* Please go away. */
    149155#ifdef DARWIN_GS_HACK
Note: See TracChangeset for help on using the changeset viewer.