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/38b1fb49676f
branches:  trunk
changeset: 1010539:38b1fb49676f
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 9b2eaf3a88b1 -r 38b1fb49676f 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