X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Flinux-os.h;h=de53fc03322a075b651713ca56c934f0f03b786e;hb=22c1de0a40df83bb5628974010a879cb2c17ff53;hp=a2f1c34508c5c790042ffa3bb1f92a30ba0b57dd;hpb=cea4896b2482b7b2b429c1631d774b4cfbc0efba;p=sbcl.git diff --git a/src/runtime/linux-os.h b/src/runtime/linux-os.h index a2f1c34..de53fc0 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,12 +32,9 @@ 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 OS_VM_DEFAULT_PAGESIZE 4096 +#define SIG_MEMORY_FAULT SIGSEGV -#define SET_FPU_CONTROL_WORD(cw) asm("fldcw %0" : : "m" (cw))