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/aa466ef32f3d
branches: trunk
changeset: 974900:aa466ef32f3d
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 b119b57de7be -r aa466ef32f3d 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