Module Name: src
Committed By: skrll
Date: Thu Jul 23 12:13:25 UTC 2020
Modified Files:
src/sys/arch/mips/include: mips_param.h
Log Message:
Define CACHE_LINE_SIZE / COHERENCY_UNIT as 128 for MIPS64_OCTEON
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/mips/include/mips_param.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mips/include/mips_param.h
diff -u src/sys/arch/mips/include/mips_param.h:1.40 src/sys/arch/mips/include/mips_param.h:1.41
--- src/sys/arch/mips/include/mips_param.h:1.40 Wed Jun 19 09:55:27 2019
+++ src/sys/arch/mips/include/mips_param.h Thu Jul 23 12:13:25 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: mips_param.h,v 1.40 2019/06/19 09:55:27 skrll Exp $ */
+/* $NetBSD: mips_param.h,v 1.41 2020/07/23 12:13:25 skrll Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -80,6 +80,10 @@
#define MSGBUFSIZE NBPG /* default message buffer size */
#endif
+#ifdef MIPS64_OCTEON
+#define COHERENCY_UNIT 128
+#define CACHE_LINE_SIZE 128
+#endif
#ifndef COHERENCY_UNIT
#define COHERENCY_UNIT 32 /* MIPS cachelines are usually 32 bytes */
#endif