Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x68k/include Bump MSGBUFSIZE (2 * NBPG).



details:   https://anonhg.NetBSD.org/src/rev/66eb95604764
branches:  trunk
changeset: 466633:66eb95604764
user:      isaki <isaki%NetBSD.org@localhost>
date:      Sat Dec 28 11:42:18 2019 +0000

description:
Bump MSGBUFSIZE (2 * NBPG).
Since timestamp was introduced, it was too small to store full dmesg
of one boot.
And putting this behind of #include <m68k/param.h> had no effect.
This was fixed on many arch in 1997 but x68k was not...
http://mail-index.netbsd.org/source-changes/1997/09/20/0021.html

diffstat:

 sys/arch/x68k/include/param.h |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 6b4e9018633f -r 66eb95604764 sys/arch/x68k/include/param.h
--- a/sys/arch/x68k/include/param.h     Sat Dec 28 08:49:41 2019 +0000
+++ b/sys/arch/x68k/include/param.h     Sat Dec 28 11:42:18 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.28 2012/02/10 17:35:47 para Exp $  */
+/*     $NetBSD: param.h,v 1.29 2019/12/28 11:42:18 isaki Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -52,14 +52,14 @@
 
 #define        UPAGES          2               /* pages of u-area */
 
+#ifndef MSGBUFSIZE
+#define MSGBUFSIZE     (2 * NBPG)      /* default message buffer size */
+#endif
+
 #include <m68k/param.h>
 
 #define        NPTEPG          (NBPG/(sizeof (pt_entry_t)))
 
-#ifndef MSGBUFSIZE
-#define MSGBUFSIZE     NBPG            /* default message buffer size */
-#endif
-
 /*
  * Minimum and maximum sizes of the kernel malloc arena in PAGE_SIZE-sized
  * logical pages.



Home | Main Index | Thread Index | Old Index