| 82a2bc67 |
1 | /* |
| 2 | |
| 82a2bc67 |
3 | This code was written as part of the CMU Common Lisp project at |
| 4 | Carnegie Mellon University, and has been placed in the public domain. |
| 5 | |
| 6 | */ |
| 7 | |
| e67c0397 |
8 | #ifndef _IRIX_OS_H_ |
| 9 | #define _IRIX_OS_H_ |
| 10 | |
| 3489d6bc |
11 | #include <sys/types.h> |
| 12 | #include <sys/mman.h> |
| e67c0397 |
13 | #include <string.h> |
| 14 | #include "interr.h" |
| 3489d6bc |
15 | |
| 16 | typedef caddr_t os_vm_address_t; |
| 17 | typedef size_t os_vm_size_t; |
| 18 | typedef off_t os_vm_offset_t; |
| 19 | typedef int os_vm_prot_t; |
| 20 | |
| 21 | #define OS_VM_PROT_READ PROT_READ |
| 22 | #define OS_VM_PROT_WRITE PROT_WRITE |
| 23 | #define OS_VM_PROT_EXECUTE PROT_EXECUTE |
| 24 | |
| efd9aa3b |
25 | /* formerly 4096, on irix 6.2 on an R4400 Onyx, and irix 6.4 on an Octane, |
| 26 | pagesize is 16384 */ |
| 27 | #define OS_VM_DEFAULT_PAGESIZE 16384 |
| e67c0397 |
28 | |
| 29 | #endif /* _IRIX_OS_H_ */ |