You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
2.1 KiB
56 lines
2.1 KiB
/*
|
|
* Copyright 2002-2019 Intel Corporation.
|
|
*
|
|
* This software and the related documents are Intel copyrighted materials, and your
|
|
* use of them is governed by the express license under which they were provided to
|
|
* you ("License"). Unless the License provides otherwise, you may not use, modify,
|
|
* copy, publish, distribute, disclose or transmit this software or the related
|
|
* documents without Intel's prior written permission.
|
|
*
|
|
* This software and the related documents are provided as is, with no express or
|
|
* implied warranties, other than those that are expressly stated in the License.
|
|
*
|
|
* This file incorporates work covered by the following copyright and permission notice:
|
|
*/
|
|
|
|
/****************************************************************************
|
|
****************************************************************************
|
|
***
|
|
*** This header was automatically generated from a Linux kernel header
|
|
*** of the same name, to make information necessary for userspace to
|
|
*** call into the kernel available to libc. It contains only constants,
|
|
*** structures, and macros generated from the original header, and thus,
|
|
*** contains no copyrightable information.
|
|
***
|
|
*** To edit the content of this header, modify the corresponding
|
|
*** source file (e.g. under external/kernel-headers/original/) then
|
|
*** run bionic/libc/kernel/tools/update_all.py
|
|
***
|
|
*** Any manual change here will be lost the next time this script will
|
|
*** be run. You've been warned!
|
|
***
|
|
****************************************************************************
|
|
****************************************************************************/
|
|
#ifndef __ASM_GENERIC_MMAN_H
|
|
#define __ASM_GENERIC_MMAN_H
|
|
#include <asm-generic/mman-common.h>
|
|
|
|
#ifdef TARGET_LINUX
|
|
|
|
#define MAP_GROWSDOWN 0x0100
|
|
#define MAP_DENYWRITE 0x0800
|
|
#define MAP_EXECUTABLE 0x1000
|
|
#define MAP_LOCKED 0x2000
|
|
#define MAP_NORESERVE 0x4000
|
|
#define MAP_POPULATE 0x8000
|
|
#define MAP_NONBLOCK 0x10000
|
|
#define MAP_STACK 0x20000
|
|
#define MAP_HUGETLB 0x40000
|
|
|
|
#endif
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
#define MCL_CURRENT 1
|
|
#define MCL_FUTURE 2
|
|
#endif
|