From 42d704bfc45a1eee601e7cd33ae4bef01c24b9ed Mon Sep 17 00:00:00 2001 From: Minsoo Choo Date: Fri, 28 Nov 2025 19:32:17 -0500 Subject: [PATCH] sys: remove comment for armv5/6 Signed-off-by: Minsoo Choo Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1903 --- sys/arm/include/param.h | 2 -- sys/arm/include/vmparam.h | 5 +---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/sys/arm/include/param.h b/sys/arm/include/param.h index 67f49ec14a9..79c9bc09c28 100644 --- a/sys/arm/include/param.h +++ b/sys/arm/include/param.h @@ -78,8 +78,6 @@ * This does not reflect the optimal alignment, just the possibility * (within reasonable limits). * - * armv4 and v5 require alignment to the type's size. armv6 requires 8-byte - * alignment for the ldrd/strd instructions, but otherwise follows armv7 rules. * armv7 requires that an 8-byte type be aligned to at least a 4-byte boundary; * access to smaller types can be unaligned, except that the compiler may * optimize access to adjacent uint32_t values into a single load/store-multiple diff --git a/sys/arm/include/vmparam.h b/sys/arm/include/vmparam.h index 15807923cef..03145d7e322 100644 --- a/sys/arm/include/vmparam.h +++ b/sys/arm/include/vmparam.h @@ -73,10 +73,7 @@ #endif /* - * The virtual address the kernel is linked to run at. For armv4/5 platforms - * the low-order 30 bits of this must match the low-order bits of the physical - * address the kernel is loaded at, so the value is most often provided as a - * kernel config option in the std.platform file. For armv6/7 the kernel can + * The virtual address the kernel is linked to run at. For armv7 the kernel can * be loaded at any 2MB boundary, and KERNVIRTADDR can also be set to any 2MB * boundary. It is typically overridden in the std.platform file only when * KERNBASE is also set to a lower address to provide more KVA.