11541Srgrimes/* $NetBSD: linux_mmap.h,v 1.1 2021/09/23 06:56:27 ryo Exp $ */ 214500Shsu 31541Srgrimes/*- 41541Srgrimes * Copyright (c) 2021 The NetBSD Foundation, Inc. 51541Srgrimes * All rights reserved. 61541Srgrimes * 71541Srgrimes * Redistribution and use in source and binary forms, with or without 81541Srgrimes * modification, are permitted provided that the following conditions 91541Srgrimes * are met: 101541Srgrimes * 1. Redistributions of source code must retain the above copyright 111541Srgrimes * notice, this list of conditions and the following disclaimer. 121541Srgrimes * 2. Redistributions in binary form must reproduce the above copyright 131541Srgrimes * notice, this list of conditions and the following disclaimer in the 141541Srgrimes * documentation and/or other materials provided with the distribution. 151541Srgrimes * 161541Srgrimes * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 171541Srgrimes * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 181541Srgrimes * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 191541Srgrimes * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 201541Srgrimes * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 211541Srgrimes * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 221541Srgrimes * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 231541Srgrimes * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 241541Srgrimes * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 251541Srgrimes * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 261541Srgrimes * POSSIBILITY OF SUCH DAMAGE. 271541Srgrimes */ 281541Srgrimes 291541Srgrimes#ifndef _AARCH64_LINUX_MMAP_H 301541Srgrimes#define _AARCH64_LINUX_MMAP_H 311541Srgrimes 321541Srgrimes#define LINUX_MAP_FIXED 0x0010 331541Srgrimes#define LINUX_MAP_ANON 0x0020 341541Srgrimes#define LINUX_MAP_GROWSDOWN 0x0100 351541Srgrimes#define LINUX_MAP_DENYWRITE 0x0800 361541Srgrimes#define LINUX_MAP_EXECUTABLE 0x1000 371541Srgrimes#define LINUX_MAP_LOCKED 0x2000 3814500Shsu#define LINUX_MAP_NORESERVE 0x4000 3933778Sbde 401541Srgrimes#endif /* !_AARCH64_LINUX_MMAP_H */ 411541Srgrimes