Go to the documentation of this file. 1 #ifndef __PARISC_MMAN_H__
2 #define __PARISC_MMAN_H__
9 #define PROT_GROWSDOWN 0x01000000
10 #define PROT_GROWSUP 0x02000000
12 #define MAP_SHARED 0x01
13 #define MAP_PRIVATE 0x02
15 #define MAP_FIXED 0x04
16 #define MAP_ANONYMOUS 0x10
18 #define MAP_DENYWRITE 0x0800
19 #define MAP_EXECUTABLE 0x1000
20 #define MAP_LOCKED 0x2000
21 #define MAP_NORESERVE 0x4000
22 #define MAP_GROWSDOWN 0x8000
23 #define MAP_POPULATE 0x10000
24 #define MAP_NONBLOCK 0x20000
25 #define MAP_STACK 0x40000
26 #define MAP_HUGETLB 0x80000
30 #define MS_INVALIDATE 4
37 #define MADV_SEQUENTIAL 2
38 #define MADV_WILLNEED 3
39 #define MADV_DONTNEED 4
40 #define MADV_SPACEAVAIL 5
41 #define MADV_VPS_PURGE 6
42 #define MADV_VPS_INHERIT 7
46 #define MADV_DONTFORK 10
47 #define MADV_DOFORK 11
50 #define MADV_4K_PAGES 12
51 #define MADV_16K_PAGES 14
52 #define MADV_64K_PAGES 16
53 #define MADV_256K_PAGES 18
54 #define MADV_1M_PAGES 20
55 #define MADV_4M_PAGES 22
56 #define MADV_16M_PAGES 24
57 #define MADV_64M_PAGES 26
59 #define MADV_MERGEABLE 65
60 #define MADV_UNMERGEABLE 66
62 #define MADV_HUGEPAGE 67
63 #define MADV_NOHUGEPAGE 68
65 #define MADV_DONTDUMP 69
67 #define MADV_DODUMP 70
71 #define MAP_VARIABLE 0