490458f04ff3a14e275e51798dbfebc6493a6173
[projects/cmucl/cmucl.git] / src / lisp / irix-os.h
1 /*
2
3  $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/irix-os.h,v 1.4 2005/01/13 19:55:00 fgilham Rel $
4
5  This code was written as part of the CMU Common Lisp project at
6  Carnegie Mellon University, and has been placed in the public domain.
7
8 */
9
10 #ifndef _IRIX_OS_H_
11 #define _IRIX_OS_H_
12
13 #include <sys/types.h>
14 #include <sys/mman.h>
15 #include <string.h>
16 #include "interr.h"
17
18 typedef caddr_t os_vm_address_t;
19 typedef size_t os_vm_size_t;
20 typedef off_t os_vm_offset_t;
21 typedef int os_vm_prot_t;
22
23 #define OS_VM_PROT_READ PROT_READ
24 #define OS_VM_PROT_WRITE PROT_WRITE
25 #define OS_VM_PROT_EXECUTE PROT_EXECUTE
26
27 /* formerly 4096, on irix 6.2 on an R4400 Onyx, and irix 6.4 on an Octane,
28    pagesize is 16384 */
29 #define OS_VM_DEFAULT_PAGESIZE  16384
30
31 #endif /* _IRIX_OS_H_ */