Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/aarch64/include Add some new CTR_EL0 bits
details: https://anonhg.NetBSD.org/src/rev/86361fe5ad04
branches: trunk
changeset: 933590:86361fe5ad04
user: skrll <skrll%NetBSD.org@localhost>
date: Thu May 28 12:41:15 2020 +0000
description:
Add some new CTR_EL0 bits
diffstat:
sys/arch/aarch64/include/armreg.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 47dd8e514d37 -r 86361fe5ad04 sys/arch/aarch64/include/armreg.h
--- a/sys/arch/aarch64/include/armreg.h Thu May 28 10:22:49 2020 +0000
+++ b/sys/arch/aarch64/include/armreg.h Thu May 28 12:41:15 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: armreg.h,v 1.47 2020/05/25 05:17:05 ryo Exp $ */
+/* $NetBSD: armreg.h,v 1.48 2020/05/28 12:41:15 skrll Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -108,6 +108,9 @@
*/
AARCH64REG_READ_INLINE(ctr_el0) // Cache Type Register
+#define CTR_EL0_TMIN_LINE __BITS(37,32) // Tag MIN LINE size
+#define CTR_EL0_DIC __BIT(29) // Instruction cache requirement
+#define CTR_EL0_IDC __BIT(28) // Data Cache clean requirement
#define CTR_EL0_CWG_LINE __BITS(27,24) // Cacheback Writeback Granule
#define CTR_EL0_ERG_LINE __BITS(23,20) // Exclusives Reservation Granule
#define CTR_EL0_DMIN_LINE __BITS(19,16) // Dcache MIN LINE size (log2 - 2)
Home |
Main Index |
Thread Index |
Old Index