1.0.8.34: Fix MIPS spinlock implementation.
[sbcl.git] / src / runtime / osf1-os.h
1 #include <sys/types.h>
2 #include <sys/mman.h>
3 #include "target-arch-os.h"
4 #include "target-arch.h"
5
6 typedef caddr_t os_vm_address_t;
7 typedef size_t os_vm_size_t;
8 typedef off_t os_vm_offset_t;
9 typedef int os_vm_prot_t;
10
11 #define OS_VM_PROT_READ PROT_READ
12 #define OS_VM_PROT_WRITE PROT_WRITE
13 #define OS_VM_PROT_EXECUTE PROT_EXEC
14
15 #define SIG_MEMORY_FAULT SIGSEGV
16
17 typedef long os_context_register_t ;
18
19 #ifndef NSIG                    /* osf1 -D_XOPEN_SOURCE_EXTENDED omits this */
20 #define NSIG (SIGMAX+1)
21 #endif