Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode/dev no need to print copyright/version/mem...
details: https://anonhg.NetBSD.org/src/rev/51cd9699b72a
branches: trunk
changeset: 768263:51cd9699b72a
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Aug 13 12:18:54 2011 +0000
description:
no need to print copyright/version/memory info, just call banner()
diffstat:
sys/arch/usermode/dev/cpu.c | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
diffs (35 lines):
diff -r 4bc5e2b82389 -r 51cd9699b72a sys/arch/usermode/dev/cpu.c
--- a/sys/arch/usermode/dev/cpu.c Sat Aug 13 12:09:38 2011 +0000
+++ b/sys/arch/usermode/dev/cpu.c Sat Aug 13 12:18:54 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.13 2011/08/13 10:31:24 jmcneill Exp $ */
+/* $NetBSD: cpu.c,v 1.14 2011/08/13 12:18:54 jmcneill Exp $ */
/*-
* Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.13 2011/08/13 10:31:24 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.14 2011/08/13 12:18:54 jmcneill Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -315,16 +315,7 @@
void
cpu_startup(void)
{
- char pbuf[9];
-
banner();
-
- printf("%s%s", copyright, version);
- format_bytes(pbuf, sizeof(pbuf), ptoa(physmem));
- printf("total memory = %s\n", pbuf);
-
- format_bytes(pbuf, sizeof(pbuf), ptoa(uvmexp.free));
- printf("avail memory = %s\n", pbuf);
}
void
Home |
Main Index |
Thread Index |
Old Index