X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Flinux-os.h;h=1055b2d180b9a8f7740cf36721ec9c398047d240;hb=c2bce3b9eb9f51fb0657af3c9023fff86ba3a51f;hp=1206e32f0b4cdf43f22de7432da669d4bed48cfe;hpb=dfa55a883f94470267b626dae77ce7e7dfac3df6;p=sbcl.git diff --git a/src/runtime/linux-os.h b/src/runtime/linux-os.h index 1206e32..1055b2d 100644 --- a/src/runtime/linux-os.h +++ b/src/runtime/linux-os.h @@ -22,6 +22,8 @@ #include #include #include +#include "target-arch-os.h" +#include "target-arch.h" #define linuxversion(a, b, c) (((a)<<16)+((b)<<8)+(c)) @@ -30,13 +32,13 @@ 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) +#define SIG_DEQUEUE (SIGRTMIN+2) + -/* /usr/include/asm/sigcontext.h */ -typedef long sigcontext_register_t ;