diff options
author | jhb <jhb@FreeBSD.org> | 2001-05-17 22:28:46 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-05-17 22:28:46 +0000 |
commit | 59ffccfbd6932c90e77e70ea73d3b8afea0998ba (patch) | |
tree | 892434b71a21c137edd1153dd459ca1508ddd96f /sys/amd64 | |
parent | c246122199c212c96b68d551436aa739669eddee (diff) | |
download | FreeBSD-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/amd64')
-rw-r--r-- | sys/amd64/amd64/machdep.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 509dcfd..bb552a3 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/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(); |