Changeset 9989


Ignore:
Timestamp:
Jul 10, 2008, 9:57:44 AM (11 years ago)
Author:
gb
Message:

Signal number changes, from trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/working-0711/ccl/lisp-kernel/x86-exceptions.h

    r7836 r9989  
    7373#define xpGPRvector(x) ((DWORD64 *)((x)->ContextRecord))
    7474#define xpGPR(x,gprno) (xpGPRvector(x)[gprno])
    75 #define xpPC(x) xpGPR(x,Iip);
     75#define xpPC(x) xpGPR(x,Iip)
    7676#endif
    7777
    7878#ifdef DARWIN
    79 #define SIGNAL_FOR_PROCESS_INTERRUPT SIGEMT
     79#define SIGNAL_FOR_PROCESS_INTERRUPT SIGUSR1
    8080#endif
    8181#ifdef LINUX
     
    105105#define XUUO_INTERRUPT_NOW 2
    106106#define XUUO_SUSPEND_NOW 3
     107#define XUUO_INTERRUPT 4
     108#define XUUO_SUSPEND 5
     109#define XUUO_SUSPEND_ALL 6
     110#define XUUO_RESUME 7
     111#define XUUO_RESUME_ALL 8
    107112
    108113void
     
    152157#undef USE_SIGALTSTACK
    153158#else
     159#ifdef WINDOWS
     160#undef USE_SIGALTSTACK
     161#else
    154162#define USE_SIGALTSTACK 1
    155 /* #undef USE_SIGALTSTACK */
     163#endif
    156164#endif
    157165
     
    168176#define RECOVER_FN_FROM_RIP_WORD0 0x8d4c /* 0x4c 0x8d, little-endian */
    169177#define RECOVER_FN_FROM_RIP_BYTE2 0x2d  /* third byte of opcode */
     178
     179extern natural get_mxcsr();
     180extern void set_mxcsr(natural);
Note: See TracChangeset for help on using the changeset viewer.