The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=42d704bfc45a1eee601e7cd33ae4bef01c24b9ed
commit 42d704bfc45a1eee601e7cd33ae4bef01c24b9ed Author: Minsoo Choo <[email protected]> AuthorDate: 2025-11-29 00:32:17 +0000 Commit: Warner Losh <[email protected]> CommitDate: 2025-11-29 04:56:36 +0000 sys: remove comment for armv5/6 Signed-off-by: Minsoo Choo <[email protected]> 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 67f49ec14a99..79c9bc09c284 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 15807923cefb..03145d7e322a 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.
