/*
Copyright (c) 1993 Xerox Corporation.  All rights reserved.
*/
/*	@(#)mman.h 2.14 88/08/19 SMI; from UCB 4.2 82/09/04	*/

#ifndef ←←XR←sys←mman←h
#define ←←XR←sys←mman←h

#include <config/PCR←OS.h>
#include <shm/PCR←ShmBSD.h>

#if defined(PCR←OS←SUNOS4) || defined(PCR←OS←SUNOS5)
#   define XR←sys←mman←FlagsToHost(f) (f)
#   define XR←sys←mman←ProtToHost(p) (p)
#else
#   error os ?
#endif

#define	XR←PROT←READ	0x1		/* pages can be read */
#define	XR←PROT←WRITE	0x2		/* pages can be written */
#define	XR←PROT←EXEC	0x4		/* pages can be executed */


/* sharing types:  must choose either SHARED or PRIVATE */
#define	XR←MAP←SHARED	1		/* share changes */
#define	XR←MAP←PRIVATE	2		/* changes are private */
#define	XR←MAP←TYPE	0xf		/* mask for share type */

/* other flags to mmap (or-ed in to MAP←SHARED or MAP←PRIVATE) */
#define	XR←MAP←FIXED	0x10		/* user assigns address */


#endif /*!←←XR←sys←mman←h*/