aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/include
diff options
context:
space:
mode:
authorHarry Moulton <harry.moulton@arm.com>2026-05-18 09:09:23 +0000
committerAndrew Turner <andrew@FreeBSD.org>2026-05-27 15:22:26 +0000
commitbb9497a2d462e668455d0a561bd5677f447b4acf (patch)
tree4d4c136ff7c8fb6e59fdd0d1d5662876e8f8412f /sys/arm64/include
parentd63a62fb3504df36457cac5718073a12d10e6cdc (diff)
Diffstat (limited to 'sys/arm64/include')
-rw-r--r--sys/arm64/include/cpu.h2
-rw-r--r--sys/arm64/include/pmap.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/sys/arm64/include/cpu.h b/sys/arm64/include/cpu.h
index 8d8a80a8d02a..d36e1e56c91c 100644
--- a/sys/arm64/include/cpu.h
+++ b/sys/arm64/include/cpu.h
@@ -284,6 +284,8 @@ void mte_copy_thread(struct thread *, struct thread *);
void mte_thread_alloc(struct thread *);
void mte_thread0(struct thread *);
+void mte_sync_tags(vm_page_t page);
+
/* Functions to read the sanitised view of the special registers */
void update_special_regs(u_int);
void update_special_reg_iss(u_int, uint64_t, uint64_t);
diff --git a/sys/arm64/include/pmap.h b/sys/arm64/include/pmap.h
index 69ae8e5c80b7..cf20827fa666 100644
--- a/sys/arm64/include/pmap.h
+++ b/sys/arm64/include/pmap.h
@@ -74,6 +74,9 @@ struct md_page {
uint8_t pv_reserve[2];
};
+/* machine page flags */
+#define PV_MTE_TAGGED 0x01 /* page is tagged with MTE */
+
enum pmap_stage {
PM_INVALID,
PM_STAGE1,