aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2025-09-04 13:33:11 +0000
committerAndrew Turner <andrew@FreeBSD.org>2025-09-04 13:55:05 +0000
commitb21629dfcaf008923d03d7ff15c9d6828eeb95f8 (patch)
tree1b924162bc53e135f4e7ca6821ec4512d6770112
parent7e97c6adffde3bd6f60f042ed2603335c005c6a7 (diff)
arm64: Make the padding in struct ms_page explicit
Mark the unused space after pv_memattr as reserved. This doesn't change the size of the struct as this padding was already inserted by the compiler. Sponsored by: Arm Ltd
-rw-r--r--sys/arm64/include/pmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm64/include/pmap.h b/sys/arm64/include/pmap.h
index 0f23f200f0f6..357c1a0d8232 100644
--- a/sys/arm64/include/pmap.h
+++ b/sys/arm64/include/pmap.h
@@ -69,6 +69,7 @@ struct md_page {
TAILQ_HEAD(,pv_entry) pv_list;
int pv_gen;
vm_memattr_t pv_memattr;
+ uint8_t pv_reserve[3];
};
enum pmap_stage {