Module Name:    src
Committed By:   skrll
Date:           Sat May  1 07:06:54 UTC 2021

Modified Files:
        src/sys/arch/riscv/include: param.h

Log Message:
Bump MSGBUFSIZE (if not defined)

Provide COHERENCY_UNIT and CACHE_LINE_SIZE

Also provide MAXCPUS


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/riscv/include/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/riscv/include/param.h
diff -u src/sys/arch/riscv/include/param.h:1.3 src/sys/arch/riscv/include/param.h:1.4
--- src/sys/arch/riscv/include/param.h:1.3	Sat Jun  1 12:42:28 2019
+++ src/sys/arch/riscv/include/param.h	Sat May  1 07:06:54 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.3 2019/06/01 12:42:28 maxv Exp $ */
+/* $NetBSD: param.h,v 1.4 2021/05/01 07:06:54 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -88,6 +88,15 @@
 
 #define	MCLBYTES	(1 << MCLSHIFT)	/* size of a m_buf cluster */
 
+#ifndef MSGBUFSIZE
+#define MSGBUFSIZE		65536	/* default message buffer size */
+#endif
+
+#define COHERENCY_UNIT		64
+#define CACHE_LINE_SIZE		64
+
+#define MAXCPUS			32
+
 #ifdef _KERNEL
 void delay(unsigned long);
 #define	DELAY(x)	delay(x)

Reply via email to