1*f3d7a033Snjoly /* $NetBSD: linux_mmap.h,v 1.5 2015/03/14 08:32:08 njoly Exp $ */ 2ad1f9288Serh 3ad1f9288Serh /*- 4ad1f9288Serh * Copyright (c) 1998 The NetBSD Foundation, Inc. 5ad1f9288Serh * All rights reserved. 6ad1f9288Serh * 7ad1f9288Serh * This code is derived from software contributed to The NetBSD Foundation 8ad1f9288Serh * by Eric Haszlakiewicz. 9ad1f9288Serh * 10ad1f9288Serh * Redistribution and use in source and binary forms, with or without 11ad1f9288Serh * modification, are permitted provided that the following conditions 12ad1f9288Serh * are met: 13ad1f9288Serh * 1. Redistributions of source code must retain the above copyright 14ad1f9288Serh * notice, this list of conditions and the following disclaimer. 15ad1f9288Serh * 2. Redistributions in binary form must reproduce the above copyright 16ad1f9288Serh * notice, this list of conditions and the following disclaimer in the 17ad1f9288Serh * documentation and/or other materials provided with the distribution. 18ad1f9288Serh * 19ad1f9288Serh * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 20ad1f9288Serh * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 21ad1f9288Serh * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 22ad1f9288Serh * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 23ad1f9288Serh * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24ad1f9288Serh * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25ad1f9288Serh * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26ad1f9288Serh * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27ad1f9288Serh * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28ad1f9288Serh * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29ad1f9288Serh * POSSIBILITY OF SUCH DAMAGE. 30ad1f9288Serh */ 31ad1f9288Serh #ifndef _SPARC_LINUX_MMAP_H 32ad1f9288Serh #define _SPARC_LINUX_MMAP_H 33ad1f9288Serh 34ad1f9288Serh /* LINUX_PROT_* defined in common/linux_mmap.h */ 35ad1f9288Serh 36ad1f9288Serh /* LINUX_MAP_SHARED/PRIVATE defined in common/linux_mmap.h */ 37ad1f9288Serh 38ad1f9288Serh #define LINUX_MAP_FIXED 0x0010 39ad1f9288Serh #define LINUX_MAP_ANON 0x0020 40*f3d7a033Snjoly #define LINUX_MAP_LOCKED 0x0100 41ad1f9288Serh 42ad1f9288Serh /* Ignored */ 43ad1f9288Serh #define LINUX_MAP_NORESERVE 0x0040 44ad1f9288Serh #define LINUX_MAP_INHERIT 0x0080 45ad1f9288Serh 46ad1f9288Serh #define LINUX_MAP_GROWSDOWN 0x0100 47ad1f9288Serh #define LINUX_MAP_DENYWRITE 0x0800 48ad1f9288Serh #define LINUX_MAP_EXECUTABLE 0x1000 49ad1f9288Serh 50ad1f9288Serh #endif /* !_SPARC_LINUX_MMAP_H */ 51