Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 #ifndef _UAPI__SPARC_MMAN_H__
0003 #define _UAPI__SPARC_MMAN_H__
0004 
0005 #include <asm-generic/mman-common.h>
0006 
0007 /* SunOS'ified... */
0008 
0009 #define PROT_ADI    0x10        /* ADI enabled */
0010 
0011 #define MAP_RENAME      MAP_ANONYMOUS   /* In SunOS terminology */
0012 #define MAP_NORESERVE   0x40            /* don't reserve swap pages */
0013 #define MAP_INHERIT     0x80            /* SunOS doesn't do this, but... */
0014 #define MAP_LOCKED      0x100           /* lock the mapping */
0015 #define _MAP_NEW        0x80000000      /* Binary compatibility is fun... */
0016 
0017 #define MAP_GROWSDOWN   0x0200      /* stack-like segment */
0018 #define MAP_DENYWRITE   0x0800      /* ETXTBSY */
0019 #define MAP_EXECUTABLE  0x1000      /* mark it as an executable */
0020 
0021 #define MCL_CURRENT     0x2000          /* lock all currently mapped pages */
0022 #define MCL_FUTURE      0x4000          /* lock all additions to address space */
0023 #define MCL_ONFAULT 0x8000      /* lock all pages that are faulted in */
0024 
0025 #endif /* _UAPI__SPARC_MMAN_H__ */