mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00

Provide default values that are as close as possible to the values used by the guest's kernel. Tested-by: Helge Deller <deller@gmx.de> Reviewed-by: Helge Deller <deller@gmx.de> Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
19 lines
493 B
C
19 lines
493 B
C
#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
|