Source-Changes-HG archive

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

[src/netbsd-2-0]: src/sys/arch/sgimips/sgimips Pullup rev 1.82 (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/b8004605a5a2
branches:  netbsd-2-0
changeset: 560382:b8004605a5a2
user:      jmc <jmc%NetBSD.org@localhost>
date:      Sun Apr 11 04:03:26 2004 +0000

description:
Pullup rev 1.82 (requested by tsutsui in ticket #122)

Tidy up total/avail memory message as well as other ports.

diffstat:

 sys/arch/sgimips/sgimips/machdep.c |  13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diffs (42 lines):

diff -r a1cd8b69edc7 -r b8004605a5a2 sys/arch/sgimips/sgimips/machdep.c
--- a/sys/arch/sgimips/sgimips/machdep.c        Sun Apr 11 04:02:43 2004 +0000
+++ b/sys/arch/sgimips/sgimips/machdep.c        Sun Apr 11 04:03:26 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.81 2004/03/25 15:06:37 pooka Exp $       */
+/*     $NetBSD: machdep.c,v 1.81.2.1 2004/04/11 04:03:26 jmc Exp $     */
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.81 2004/03/25 15:06:37 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.81.2.1 2004/04/11 04:03:26 jmc Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -598,7 +598,9 @@
        printf(version);
 
        format_bytes(pbuf, sizeof(pbuf), ctob(physmem));
-       printf("%s memory", pbuf);
+       printf("total memory = %s\n", pbuf);
+       format_bytes(pbuf, sizeof(pbuf), ctob(arcsmem));
+       printf("(%s reserved for ARCS)\n", pbuf);
 
        minaddr = 0;
        /*
@@ -618,11 +620,8 @@
         * are allocated via the pool allocator, and we use KSEG to
         * map those pages.)
         */
-
        format_bytes(pbuf, sizeof(pbuf), ptoa(uvmexp.free));
-       printf(", %s free", pbuf);
-       format_bytes(pbuf, sizeof(pbuf), ctob(arcsmem));
-       printf(", %s for ARCS\n", pbuf);
+       printf("avail memory = %s\n", pbuf);
 }
 
 int    waittime = -1;



Home | Main Index | Thread Index | Old Index