Changeset 5033


Ignore:
Timestamp:
Aug 26, 2006, 2:11:26 AM (18 years ago)
Author:
Gary Byers
Message:

Need to do an explicit sigreturn on Darwin (because of the sigaltstack
hacks; Darwin uses sigtramp glue that we can't just return to after
switching off of the alt stack.)

File:
1 edited

Legend:

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

    r5008 r5033  
    2828
    2929#ifdef DARWIN
    30 /* DarwinSigReturn works around an old G5 bug */
    31 #define DarwinSigReturn(context)
     30#include <sys/syscall.h>
     31#define DarwinSigReturn(context) syscall(SYS_sigreturn,context)
    3232#ifdef X8664
    3333#define xpGPRvector(x) ((natural *)(&(UC_MCONTEXT(x)->ss.rax)))
Note: See TracChangeset for help on using the changeset viewer.