Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/arch/macppc/include Pull up revision 1.9 (requested...



details:   https://anonhg.NetBSD.org/src/rev/4786141f2d24
branches:  netbsd-1-4
changeset: 469611:4786141f2d24
user:      he <he%NetBSD.org@localhost>
date:      Wed Oct 20 22:48:36 1999 +0000

description:
Pull up revision 1.9 (requested by tsubai):
  Fix "panic: startup: cannot allocate VM for buffers" right after
  copyright message when RAM > approx. 128MB.

diffstat:

 sys/arch/macppc/include/vmparam.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 5c2f46960622 -r 4786141f2d24 sys/arch/macppc/include/vmparam.h
--- a/sys/arch/macppc/include/vmparam.h Tue Oct 19 16:51:45 1999 +0000
+++ b/sys/arch/macppc/include/vmparam.h Wed Oct 20 22:48:36 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.7 1999/03/23 00:32:00 thorpej Exp $      */
+/*     $NetBSD: vmparam.h,v 1.7.2.1 1999/10/20 22:48:36 he Exp $       */
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -89,6 +89,11 @@
 #define        VM_MIN_KERNEL_ADDRESS   ((vaddr_t)(KERNEL_SR << ADDR_SR_SHFT))
 #define        VM_MAX_KERNEL_ADDRESS   (VM_MIN_KERNEL_ADDRESS + SEGMENT_LENGTH - 1)
 
+/* XXX max. amount of KVM to be used by buffers. */
+#ifndef VM_MAX_KERNEL_BUF
+#define VM_MAX_KERNEL_BUF      (SEGMENT_LENGTH * 7 / 10)
+#endif
+
 #define        VM_KMEM_SIZE            (NKMEMCLUSTERS * CLBYTES)
 #define        VM_MBUF_SIZE            (NMBCLUSTERS * MCLBYTES)
 #define        VM_PHYS_SIZE            (USRIOSIZE * CLBYTES)



Home | Main Index | Thread Index | Old Index