git: 1e05cf5f97de - main - arm64: Add a missing MRS_HWCAP_END
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 Oct 2023 12:35:51 UTC
The branch main has been updated by andrew:
URL: https://cgit.FreeBSD.org/src/commit/?id=1e05cf5f97dee6d7139aa64f14264fb4c2333455
commit 1e05cf5f97dee6d7139aa64f14264fb4c2333455
Author: Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2023-10-25 12:32:04 +0000
Commit: Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2023-10-25 12:33:16 +0000
arm64: Add a missing MRS_HWCAP_END
Add a missing end marker to stop the arm64 CPU ID code reading past
the end of an array.
Sponsored by: Arm Ltd
---
sys/arm64/arm64/identcpu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/arm64/arm64/identcpu.c b/sys/arm64/arm64/identcpu.c
index 5d23e1495dea..0dc23286ec9d 100644
--- a/sys/arm64/arm64/identcpu.c
+++ b/sys/arm64/arm64/identcpu.c
@@ -1723,6 +1723,7 @@ static const struct mrs_field_value mvfr0_fpdp[] = {
static const struct mrs_field_hwcap mvfr0_fpdp_caps[] = {
MRS_HWCAP(&elf32_hwcap, HWCAP32_VFP, MVFR0_FPDP_VFP_v2),
MRS_HWCAP(&elf32_hwcap, HWCAP32_VFPv3, MVFR0_FPDP_VFP_v3_v4),
+ MRS_HWCAP_END
};
static const struct mrs_field_value mvfr0_fpsp[] = {