Samsung Internal API reference
2.0
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
mman.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2012-2018, Samsung Electronics Co., Ltd.
3
*
4
* mmap definitions
5
*/
6
7
#pragma once
8
9
/* POSIX mapping flags */
10
#define MAP_ANONYMOUS (1 << 0)
11
#define MAP_POPULATE (1 << 1)
12
#define MAP_FIXED (1 << 2)
13
#define MAP_PRIVATE (1 << 3)
14
#define MAP_SHARED (1 << 4)
15
#define MAP_STACK (1 << 5)
16
#define MAP_GROWSDOWN (1 << 6)
17
18
/* POSIX protection flags */
19
#define PROT_NONE 0
20
#define PROT_READ 1
21
#define PROT_WRITE 2
22
#define PROT_EXEC 4
23
24
/* Offset shift */
25
#define PGOFF_SHIFT 12
26
core
mman.h
Generated by
1.8.11