2023-07-07 22:40:35 +02:00
|
|
|
#ifndef AARCH64_TARGET_MMAN_H
|
|
|
|
#define AARCH64_TARGET_MMAN_H
|
|
|
|
|
|
|
|
#define TARGET_PROT_BTI 0x10
|
|
|
|
#define TARGET_PROT_MTE 0x20
|
|
|
|
|
2023-08-02 23:29:40 +02:00
|
|
|
/*
|
|
|
|
* 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))
|
|
|
|
|
2023-08-03 00:17:33 +02:00
|
|
|
/* arch/arm64/include/asm/elf.h */
|
|
|
|
#define ELF_ET_DYN_BASE TARGET_PAGE_ALIGN((1ull << 48) / 3 * 2)
|
|
|
|
|
2022-09-06 02:08:35 +02:00
|
|
|
#include "../generic/target_mman.h"
|
2023-07-07 22:40:35 +02:00
|
|
|
|
|
|
|
#endif
|