2 * This software is part of the SBCL system. See the README file for
5 * This software is derived from the CMU CL system, which was
6 * written at Carnegie Mellon University and released into the
7 * public domain. The software is in the public domain and is
8 * provided with absolutely no warranty. See the COPYING and CREDITS
9 * files for more information.
13 #include <sys/types.h>
15 #include <sys/signal.h>
18 /* #include <dlfcn.h> */
22 #include <sys/syscall.h>
23 #include <asm/unistd.h>
24 #include <linux/version.h>
25 #include "target-arch-os.h"
26 #include "target-arch.h"
28 #define linuxversion(a, b, c) (((a)<<16)+((b)<<8)+(c))
30 typedef caddr_t os_vm_address_t;
31 typedef size_t os_vm_size_t;
32 typedef off_t os_vm_offset_t;
33 typedef int os_vm_prot_t;
35 #define OS_VM_PROT_READ PROT_READ
36 #define OS_VM_PROT_WRITE PROT_WRITE
37 #define OS_VM_PROT_EXECUTE PROT_EXEC
39 #define SIG_MEMORY_FAULT SIGSEGV