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 Expose CACHE_LINE_SIZE (and COHEREN...
details: https://anonhg.NetBSD.org/src/rev/8942bc6a246c
branches: trunk
changeset: 995094:8942bc6a246c
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Dec 06 18:36:06 2018 +0000
description:
Expose CACHE_LINE_SIZE (and COHERENCY_UNIT) so that fstat can work
diffstat:
sys/arch/aarch64/include/param.h | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diffs (25 lines):
diff -r 73eae5e32f61 -r 8942bc6a246c sys/arch/aarch64/include/param.h
--- a/sys/arch/aarch64/include/param.h Thu Dec 06 17:44:28 2018 +0000
+++ b/sys/arch/aarch64/include/param.h Thu Dec 06 18:36:06 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.7 2018/11/18 15:52:03 skrll Exp $ */
+/* $NetBSD: param.h,v 1.8 2018/12/06 18:36:06 skrll Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -134,12 +134,10 @@
#define MSGBUFSIZE 16384 /* default message buffer size */
#endif
-#ifdef _KERNEL
+#define COHERENCY_UNIT 128
+#define CACHE_LINE_SIZE 128
-#if defined(CPU_THUNDERX)
-#define COHERENCY_UNIT 128
-#define CACHE_LINE_SIZE 128
-#endif
+#ifdef _KERNEL
#ifndef __HIDE_DELAY
void delay(unsigned int);
Home |
Main Index |
Thread Index |
Old Index