Preserve progn-like clauses for coverage
[sbcl.git] / src / runtime / sunos-os.h
blob3b0068bc7772faf824fc64995252919710c5c0fd
1 /*
2 * This software is part of the SBCL system. See the README file for
3 * more information.
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.
12 #include <signal.h>
13 #include <unistd.h>
14 #include <sys/fcntl.h>
15 #include <sys/mman.h>
16 #include <ucontext.h>
18 #include "target-arch-os.h"
19 #include "target-arch.h"
21 /* FIXME: Stolen from CMUCL. Investigate. */
22 typedef unsigned long os_vm_address_t;
23 typedef size_t os_vm_size_t;
24 typedef off_t os_vm_offset_t;
25 typedef int os_vm_prot_t;
27 /* typedef struct ucontext os_context_t;*/
29 #define OS_VM_PROT_READ PROT_READ
30 #define OS_VM_PROT_WRITE PROT_WRITE
31 #define OS_VM_PROT_EXECUTE PROT_EXEC
33 #define SIG_MEMORY_FAULT SIGSEGV
35 #define SIG_STOP_FOR_GC (SIGUSR2)