From be5d6f4884021208ae0e73379c83e51500ad3a8d Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 21 Oct 2020 10:37:39 -0700 Subject: linux-user: Set PAGE_TARGET_1 for TARGET_PROT_BTI Transform the prot bit to a qemu internal page bit, and save it in the page tables. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson Message-id: 20201021173749.111103-3-richard.henderson@linaro.org Signed-off-by: Peter Maydell --- linux-user/syscall_defs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'linux-user/syscall_defs.h') diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index 731c3d5..cabbfb7 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h @@ -1277,6 +1277,10 @@ struct target_winsize { #define TARGET_PROT_SEM 0x08 #endif +#ifdef TARGET_AARCH64 +#define TARGET_PROT_BTI 0x10 +#endif + /* Common */ #define TARGET_MAP_SHARED 0x01 /* Share changes */ #define TARGET_MAP_PRIVATE 0x02 /* Changes are private */ -- cgit v1.1