File: target_mman.h

package info (click to toggle)
qemu 1%3A10.0.3%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 413,648 kB
  • sloc: ansic: 4,733,433; pascal: 114,769; python: 105,506; asm: 68,406; sh: 52,878; makefile: 27,469; perl: 18,778; cpp: 11,435; xml: 3,404; objc: 2,877; yacc: 2,505; php: 1,299; tcl: 1,296; lex: 1,110; sql: 71; awk: 43; sed: 35; javascript: 7
file content (35 lines) | stat: -rw-r--r-- 1,073 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef HPPA_TARGET_MMAN_H
#define HPPA_TARGET_MMAN_H

#define TARGET_MAP_TYPE                 0x2b
#define TARGET_MAP_FIXED                0x04
#define TARGET_MAP_ANONYMOUS            0x10
#define TARGET_MAP_GROWSDOWN            0x8000
#define TARGET_MAP_POPULATE             0x10000
#define TARGET_MAP_NONBLOCK             0x20000
#define TARGET_MAP_STACK                0x40000
#define TARGET_MAP_HUGETLB              0x80000
#define TARGET_MAP_UNINITIALIZED        0

#define TARGET_MADV_MERGEABLE 65
#define TARGET_MADV_UNMERGEABLE 66
#define TARGET_MADV_HUGEPAGE 67
#define TARGET_MADV_NOHUGEPAGE 68
#define TARGET_MADV_DONTDUMP 69
#define TARGET_MADV_DODUMP 70
#define TARGET_MADV_WIPEONFORK 71
#define TARGET_MADV_KEEPONFORK 72

#define TARGET_MS_SYNC 1
#define TARGET_MS_ASYNC 2
#define TARGET_MS_INVALIDATE 4

/* arch/parisc/include/asm/processor.h: DEFAULT_MAP_BASE32 */
#define TASK_UNMAPPED_BASE      0x40000000

/* arch/parisc/include/asm/elf.h */
#define ELF_ET_DYN_BASE         (TASK_UNMAPPED_BASE + 0x01000000)

#include "../generic/target_mman.h"

#endif