aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinsoo Choo <minsoochoo0122@proton.me>2025-11-29 00:32:17 +0000
committerWarner Losh <imp@FreeBSD.org>2025-11-29 04:56:36 +0000
commit42d704bfc45a1eee601e7cd33ae4bef01c24b9ed (patch)
tree42ea53e8005b3528b71af48b76f6143868f91c8a
parent96265d5ea907d75709f419b01b44c60337ae7fcc (diff)
sys: remove comment for armv5/6
Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1903
-rw-r--r--sys/arm/include/param.h2
-rw-r--r--sys/arm/include/vmparam.h5
2 files changed, 1 insertions, 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.