aboutsummaryrefslogtreecommitdiff
path: root/linux-user/aarch64/target_mman.h
blob: 4d3eecfb26abbe87335ec2b372ca4a8053da57a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef AARCH64_TARGET_MMAN_H
#define AARCH64_TARGET_MMAN_H

#define TARGET_PROT_BTI         0x10
#define TARGET_PROT_MTE         0x20

/*
 * arch/arm64/include/asm/processor.h:
 *
 * TASK_UNMAPPED_BASE     DEFAULT_MAP_WINDOW / 4
 * DEFAULT_MAP_WINDOW     DEFAULT_MAP_WINDOW_64
 * DEFAULT_MAP_WINDOW_64  UL(1) << VA_BITS_MIN
 * VA_BITS_MIN            48 (unless explicitly configured smaller)
 */
#define TASK_UNMAPPED_BASE      (1ull << (48 - 2))

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

#endif