Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Remove definitions for CACHE_LINE_SIZE and COHERENC...
details: https://anonhg.NetBSD.org/src/rev/1a1f5bbfa2ce
branches: trunk
changeset: 984717:1a1f5bbfa2ce
user: christos <christos%NetBSD.org@localhost>
date: Mon Jul 19 10:28:58 2021 +0000
description:
Remove definitions for CACHE_LINE_SIZE and COHERENCY_UNIT which are the same
as the default.
diffstat:
sys/arch/alpha/include/param.h | 4 +---
sys/arch/arm/include/param.h | 5 +----
sys/arch/riscv/include/param.h | 5 +----
3 files changed, 3 insertions(+), 11 deletions(-)
diffs (54 lines):
diff -r 3cadf358abb4 -r 1a1f5bbfa2ce sys/arch/alpha/include/param.h
--- a/sys/arch/alpha/include/param.h Mon Jul 19 10:00:32 2021 +0000
+++ b/sys/arch/alpha/include/param.h Mon Jul 19 10:28:58 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.49 2021/07/06 12:20:52 thorpej Exp $ */
+/* $NetBSD: param.h,v 1.50 2021/07/19 10:28:58 christos Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -84,8 +84,6 @@
* EV4 (21064) and EV5 (21164) have a 32-byte cache line size.
* EV6 (21264) and EV7 (21364) have a 64-byte cache line size.
*/
-#define COHERENCY_UNIT 64
-#define CACHE_LINE_SIZE 64
/*
* Constants related to network buffer management.
diff -r 3cadf358abb4 -r 1a1f5bbfa2ce sys/arch/arm/include/param.h
--- a/sys/arch/arm/include/param.h Mon Jul 19 10:00:32 2021 +0000
+++ b/sys/arch/arm/include/param.h Mon Jul 19 10:28:58 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.23 2020/08/16 09:37:30 skrll Exp $ */
+/* $NetBSD: param.h,v 1.24 2021/07/19 10:28:58 christos Exp $ */
/*
* Copyright (c) 1994,1995 Mark Brinicombe.
@@ -186,7 +186,4 @@
#endif
#endif /* _KERNEL */
-#define COHERENCY_UNIT 64
-#define CACHE_LINE_SIZE 64
-
#endif /* _ARM_PARAM_H_ */
diff -r 3cadf358abb4 -r 1a1f5bbfa2ce sys/arch/riscv/include/param.h
--- a/sys/arch/riscv/include/param.h Mon Jul 19 10:00:32 2021 +0000
+++ b/sys/arch/riscv/include/param.h Mon Jul 19 10:28:58 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.5 2021/05/31 14:38:57 simonb Exp $ */
+/* $NetBSD: param.h,v 1.6 2021/07/19 10:28:58 christos Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -96,9 +96,6 @@
#define MSGBUFSIZE 65536 /* default message buffer size */
#endif
-#define COHERENCY_UNIT 64
-#define CACHE_LINE_SIZE 64
-
#define MAXCPUS 32
#ifdef _KERNEL
Home |
Main Index |
Thread Index |
Old Index