X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Flinux-os.h;h=cfeaed4a11ace4e0307b28f696f020d680db889f;hb=fc31bc13de8f252311185aa728acbbb7f73d64fb;hp=8d05e0b86bbed3e9c693943c92c17e8e9e4a2f83;hpb=dc5e3163fe667e2629c7769aa8cf2e501eeeefa6;p=sbcl.git diff --git a/src/runtime/linux-os.h b/src/runtime/linux-os.h index 8d05e0b..cfeaed4 100644 --- a/src/runtime/linux-os.h +++ b/src/runtime/linux-os.h @@ -22,21 +22,23 @@ #include #include #include -#include "target-arch-os.h" -#include "target-arch.h" - -#define linuxversion(a, b, c) (((a)<<16)+((b)<<8)+(c)) +// Needs to be defined before including target-arch.h typedef caddr_t os_vm_address_t; typedef size_t os_vm_size_t; typedef off_t os_vm_offset_t; typedef int os_vm_prot_t; +#include "target-arch-os.h" +#include "target-arch.h" +#define linuxversion(a, b, c) (((a)<<16)+((b)<<8)+(c)) + #define OS_VM_PROT_READ PROT_READ #define OS_VM_PROT_WRITE PROT_WRITE #define OS_VM_PROT_EXECUTE PROT_EXEC #define SIG_MEMORY_FAULT SIGSEGV -/* /usr/include/asm/sigcontext.h */ -typedef long os_context_register_t ; +#define SIG_INTERRUPT_THREAD (SIGRTMIN) +#define SIG_STOP_FOR_GC (SIGRTMIN+1) +