X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Flinux-os.h;h=e72aa72f0a2e3fb2014f4a7c046ca1f5cdbc985d;hb=223a19cb93b3ace1b039f3afb3152723027a1fe9;hp=267929f977d59b293fd679cea45fecd5c00e7f94;hpb=68fd2d2dd6f265669a8957accd8a33e62786a97e;p=sbcl.git diff --git a/src/runtime/linux-os.h b/src/runtime/linux-os.h index 267929f..e72aa72 100644 --- a/src/runtime/linux-os.h +++ b/src/runtime/linux-os.h @@ -22,9 +22,9 @@ #include #include #include + #include "target-arch-os.h" #include "target-arch.h" - #define linuxversion(a, b, c) (((a)<<16)+((b)<<8)+(c)) typedef caddr_t os_vm_address_t; @@ -32,13 +32,12 @@ typedef size_t os_vm_size_t; typedef off_t os_vm_offset_t; typedef int os_vm_prot_t; -/* typedef struct ucontext os_context_t;*/ - #define OS_VM_PROT_READ PROT_READ #define OS_VM_PROT_WRITE PROT_WRITE #define OS_VM_PROT_EXECUTE PROT_EXEC -#define SET_FPU_CONTROL_WORD(cw) asm("fldcw %0" : : "m" (cw)) +#define SIG_MEMORY_FAULT SIGSEGV + +#define SIG_INTERRUPT_THREAD (SIGRTMIN) +#define SIG_STOP_FOR_GC (SIGRTMIN+1) -/* /usr/include/asm/sigcontext.h */ -typedef long os_context_register_t ;