Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/include Define COHERENCY_UNIT and CACHE_LINE_SI...



details:   https://anonhg.NetBSD.org/src/rev/1337632a4325
branches:  trunk
changeset: 937347:1337632a4325
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Aug 16 09:37:30 2020 +0000

description:
Define COHERENCY_UNIT and CACHE_LINE_SIZE to fix arm builds.

The recent change to cpu.h and struct cpu_info needs an early definition
for the ARM_INTR_IMPLs that want to inline the spl functions and get
{,set_}curcpl() from cpu.h

diffstat:

 sys/arch/arm/include/param.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 1924688d6710 -r 1337632a4325 sys/arch/arm/include/param.h
--- a/sys/arch/arm/include/param.h      Sun Aug 16 07:25:51 2020 +0000
+++ b/sys/arch/arm/include/param.h      Sun Aug 16 09:37:30 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.22 2019/01/07 22:00:30 jdolecek Exp $      */
+/*     $NetBSD: param.h,v 1.23 2020/08/16 09:37:30 skrll Exp $ */
 
 /*
  * Copyright (c) 1994,1995 Mark Brinicombe.
@@ -186,4 +186,7 @@
 #endif
 #endif /* _KERNEL */
 
+#define COHERENCY_UNIT         64
+#define CACHE_LINE_SIZE                64
+
 #endif /* _ARM_PARAM_H_ */



Home | Main Index | Thread Index | Old Index