summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-05-17 22:28:46 +0000
committerjhb <jhb@FreeBSD.org>2001-05-17 22:28:46 +0000
commit59ffccfbd6932c90e77e70ea73d3b8afea0998ba (patch)
tree892434b71a21c137edd1153dd459ca1508ddd96f /sys/i386
parentc246122199c212c96b68d551436aa739669eddee (diff)
downloadFreeBSD-src-59ffccfbd6932c90e77e70ea73d3b8afea0998ba.zip
FreeBSD-src-59ffccfbd6932c90e77e70ea73d3b8afea0998ba.tar.gz
- Move the setting of bootverbose to a MI SI_SUB_TUNABLES SYSINIT.
- Attach a writable sysctl to bootverbose (debug.bootverbose) so it can be toggled after boot. - Move the printf of the version string to a SI_SUB_COPYRIGHT SYSINIT just afer the display of the copyright message instead of doing it by hand in three MD places.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/machdep.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c
index 509dcfd..bb552a3 100644
--- a/sys/i386/i386/machdep.c
+++ b/sys/i386/i386/machdep.c
@@ -230,7 +230,7 @@ SYSCTL_PROC(_machdep, OID_AUTO, msgbuf_clear, CTLTYPE_INT|CTLFLAG_RW,
&msgbuf_clear, 0, sysctl_machdep_msgbuf_clear, "I",
"Clear kernel message buffer");
-int bootverbose = 0, Maxmem = 0;
+int Maxmem = 0;
long dumplo;
vm_offset_t phys_avail[10];
@@ -261,13 +261,9 @@ cpu_startup(dummy)
vm_offset_t minaddr;
int physmem_est;
- if (boothowto & RB_VERBOSE)
- bootverbose++;
-
/*
* Good {morning,afternoon,evening,night}.
*/
- printf("%s", version);
earlysetcpuclass();
startrtclock();
printcpuinfo();
OpenPOWER on IntegriCloud