summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorRichard Henderson2021-02-12 19:48:55 +0100
committerPeter Maydell2021-02-16 14:08:46 +0100
commitd109b46d8d3568bcab76295ac31aa1d9d4268e11 (patch)
tree9dde8a0f8e003593e63617c213bf2a240a600d10 /include/exec
parentlinux-user/aarch64: Implement PR_MTE_TCF and PR_MTE_TAG (diff)
downloadqemu-d109b46d8d3568bcab76295ac31aa1d9d4268e11.tar.gz
qemu-d109b46d8d3568bcab76295ac31aa1d9d4268e11.tar.xz
qemu-d109b46d8d3568bcab76295ac31aa1d9d4268e11.zip
linux-user/aarch64: Implement PROT_MTE
Remember the PROT_MTE bit as PAGE_MTE/PAGE_TARGET_2. Otherwise this does not yet have effect. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20210212184902.1251044-25-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/exec')
-rw-r--r--include/exec/cpu-all.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h
index 937becd320..76443eb11d 100644
--- a/include/exec/cpu-all.h
+++ b/include/exec/cpu-all.h
@@ -276,6 +276,7 @@ extern intptr_t qemu_host_page_mask;
#endif
/* Target-specific bits that will be used via page_get_flags(). */
#define PAGE_TARGET_1 0x0080
+#define PAGE_TARGET_2 0x0200
#if defined(CONFIG_USER_ONLY)
void page_dump(FILE *f);