Changeset 13939 for branches


Ignore:
Timestamp:
Jul 8, 2010, 3:11:41 AM (9 years ago)
Author:
rme
Message:

Gyrate more vigorously when trying to get the MXCSR from a 32-bit
Linux signal context.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rme-fpe/lisp-kernel/platform-linuxx8632.h

    r13934 r13939  
    3838#define xpPC(x) (xpGPR(x,Iip))
    3939#define xpMMXreg(x,n)  *((natural *)(&((x)->uc_mcontext.fpregs->_st[n])))
    40 #define xpMXCSR(xp) ((xp)->uc_mcontext.fpregs->mxcsr)
     40#define xpMXCSR(xp) (((struct _fpstate *)((xp)->uc_mcontext.fpregs))->mxcsr)
    4141#define eflags_register(xp) xpGPR(xp,Iflags)
    4242#define SIGNUM_FOR_INTN_TRAP SIGSEGV
Note: See TracChangeset for help on using the changeset viewer.