X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fruntime%2Flinux-os.h;h=8d05e0b86bbed3e9c693943c92c17e8e9e4a2f83;hb=dc5e3163fe667e2629c7769aa8cf2e501eeeefa6;hp=d01070431240b62ae825a276251a0770f288e758;hpb=a530bbe337109d898d5b4a001fc8f1afa3b5dc39;p=sbcl.git diff --git a/src/runtime/linux-os.h b/src/runtime/linux-os.h index d010704..8d05e0b 100644 --- a/src/runtime/linux-os.h +++ b/src/runtime/linux-os.h @@ -9,10 +9,6 @@ * files for more information. */ -/* - * $Header$ - */ - #include #include #include @@ -26,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)) @@ -34,12 +32,11 @@ 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)) +/* /usr/include/asm/sigcontext.h */ +typedef long os_context_register_t ;