Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 #ifndef TOOLS_ARCH_PARISC_UAPI_ASM_MMAN_FIX_H
0003 #define TOOLS_ARCH_PARISC_UAPI_ASM_MMAN_FIX_H
0004 #define MADV_DODUMP 70
0005 #define MADV_DOFORK 11
0006 #define MADV_DONTDUMP   69
0007 #define MADV_DONTFORK   10
0008 #define MADV_DONTNEED   4
0009 #define MADV_FREE   8
0010 #define MADV_HUGEPAGE   67
0011 #define MADV_MERGEABLE   65
0012 #define MADV_NOHUGEPAGE 68
0013 #define MADV_NORMAL     0
0014 #define MADV_RANDOM     1
0015 #define MADV_REMOVE 9
0016 #define MADV_SEQUENTIAL 2
0017 #define MADV_UNMERGEABLE 66
0018 #define MADV_WILLNEED   3
0019 #define MAP_ANONYMOUS   0x10
0020 #define MAP_DENYWRITE   0x0800
0021 #define MAP_EXECUTABLE  0x1000
0022 #define MAP_FILE    0
0023 #define MAP_FIXED   0x04
0024 #define MAP_GROWSDOWN   0x8000
0025 #define MAP_HUGETLB 0x80000
0026 #define MAP_LOCKED  0x2000
0027 #define MAP_NONBLOCK    0x20000
0028 #define MAP_NORESERVE   0x4000
0029 #define MAP_POPULATE    0x10000
0030 #define MAP_STACK   0x40000
0031 #define PROT_EXEC   0x4
0032 #define PROT_GROWSDOWN  0x01000000
0033 #define PROT_GROWSUP    0x02000000
0034 #define PROT_NONE   0x0
0035 #define PROT_READ   0x1
0036 #define PROT_SEM    0x8
0037 #define PROT_WRITE  0x2
0038 #define MADV_HWPOISON   100
0039 #define MADV_SOFT_OFFLINE 101
0040 /* MAP_32BIT is undefined on parisc, fix it for perf */
0041 #define MAP_32BIT   0
0042 #define MAP_UNINITIALIZED   0
0043 #endif