File: irix-os.h

package info (click to toggle)
cmucl 2.4.19
  • links: PTS
  • area: main
  • in suites: potato
  • size: 28,704 kB
  • ctags: 31,977
  • sloc: lisp: 275,260; ansic: 35,537; asm: 2,855; csh: 466; sh: 360; makefile: 204
file content (24 lines) | stat: -rw-r--r-- 638 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*

 $Header: /home/CVS-cmucl/src/lisp/irix-os.h,v 1.3 1997/08/23 16:00:20 pw Exp $

 This code was written as part of the CMU Common Lisp project at
 Carnegie Mellon University, and has been placed in the public domain.

*/

#include <sys/types.h>
#include <sys/mman.h>

typedef caddr_t os_vm_address_t;
typedef size_t os_vm_size_t;
typedef off_t os_vm_offset_t;
typedef int os_vm_prot_t;

#define OS_VM_PROT_READ PROT_READ
#define OS_VM_PROT_WRITE PROT_WRITE
#define OS_VM_PROT_EXECUTE PROT_EXECUTE

/* formerly 4096, on irix 6.2 on an R4400 Onyx, and irix 6.4 on an Octane,
   pagesize is 16384 */
#define OS_VM_DEFAULT_PAGESIZE	16384