svn commit: r358573 - in head/sys/arm64: arm64 include
Andrew Turner
andrew at FreeBSD.org
Tue Mar 3 12:50:47 UTC 2020
Author: andrew
Date: Tue Mar 3 12:50:45 2020
New Revision: 358573
URL: https://svnweb.freebsd.org/changeset/base/358573
Log:
Fix the spelling of the VIPT cache type field
Sponsored by: Innovate UK
Modified:
head/sys/arm64/arm64/identcpu.c
head/sys/arm64/include/armreg.h
Modified: head/sys/arm64/arm64/identcpu.c
==============================================================================
--- head/sys/arm64/arm64/identcpu.c Tue Mar 3 11:32:47 2020 (r358572)
+++ head/sys/arm64/arm64/identcpu.c Tue Mar 3 12:50:45 2020 (r358573)
@@ -1105,8 +1105,8 @@ print_ctr_fields(struct sbuf *sb, uint64_t reg, void *
case CTR_L1IP_AIVIVT:
sbuf_printf(sb, "AIVIVT");
break;
- case CTR_L1IP_VIVT:
- sbuf_printf(sb, "VIVT");
+ case CTR_L1IP_VIPT:
+ sbuf_printf(sb, "VIPT");
break;
case CTR_L1IP_PIPT:
sbuf_printf(sb, "PIPT");
Modified: head/sys/arm64/include/armreg.h
==============================================================================
--- head/sys/arm64/include/armreg.h Tue Mar 3 11:32:47 2020 (r358572)
+++ head/sys/arm64/include/armreg.h Tue Mar 3 12:50:45 2020 (r358573)
@@ -109,7 +109,7 @@
#define CTR_L1IP_VAL(reg) ((reg) & CTR_L1IP_MASK)
#define CTR_L1IP_VPIPT (0 << CTR_L1IP_SHIFT)
#define CTR_L1IP_AIVIVT (1 << CTR_L1IP_SHIFT)
-#define CTR_L1IP_VIVT (2 << CTR_L1IP_SHIFT)
+#define CTR_L1IP_VIPT (2 << CTR_L1IP_SHIFT)
#define CTR_L1IP_PIPT (3 << CTR_L1IP_SHIFT)
#define CTR_ILINE_SHIFT 0
#define CTR_ILINE_MASK (0xf << CTR_ILINE_SHIFT)
More information about the svn-src-head
mailing list