diff options
author | fsmp <fsmp@FreeBSD.org> | 1997-07-18 03:59:28 +0000 |
---|---|---|
committer | fsmp <fsmp@FreeBSD.org> | 1997-07-18 03:59:28 +0000 |
commit | 4365bb7804852c363776981586b886c15de8d9a1 (patch) | |
tree | f35adfa492821300f6b7486b99cf4f46b9fcf8d4 /sys | |
parent | 669fe5c8eb4592b4940a2e8f557b9868408d277b (diff) | |
download | FreeBSD-src-4365bb7804852c363776981586b886c15de8d9a1.zip FreeBSD-src-4365bb7804852c363776981586b886c15de8d9a1.tar.gz |
Made the printing of the APIC INTs depend on bootverbose.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/amd64/tsc.c | 14 | ||||
-rw-r--r-- | sys/amd64/isa/clock.c | 14 | ||||
-rw-r--r-- | sys/i386/i386/tsc.c | 14 | ||||
-rw-r--r-- | sys/i386/isa/clock.c | 14 | ||||
-rw-r--r-- | sys/isa/atrtc.c | 14 |
5 files changed, 40 insertions, 30 deletions
diff --git a/sys/amd64/amd64/tsc.c b/sys/amd64/amd64/tsc.c index f79882c..073fe87 100644 --- a/sys/amd64/amd64/tsc.c +++ b/sys/amd64/amd64/tsc.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)clock.c 7.2 (Berkeley) 5/12/91 - * $Id: clock.c,v 1.88 1997/06/25 20:59:58 fsmp Exp $ + * $Id: clock.c,v 1.89 1997/07/13 01:18:47 fsmp Exp $ */ /* @@ -961,11 +961,13 @@ cpu_initclocks() writertc(RTC_STATUSB, rtc_statusb); #ifdef APIC_IO - printf("Enabled INTs: "); - for (x = 0; x < 24; ++x) - if ((imen & (1 << x)) == 0) - printf("%d, ", x); - printf("imen: 0x%08x\n", imen); + if (bootverbose) { + printf("SMP: enabled INTs: "); + for (x = 0; x < 24; ++x) + if ((imen & (1 << x)) == 0) + printf("%d, ", x); + printf("imen: 0x%08x\n", imen); + } #endif /* APIC_IO */ } diff --git a/sys/amd64/isa/clock.c b/sys/amd64/isa/clock.c index f79882c..073fe87 100644 --- a/sys/amd64/isa/clock.c +++ b/sys/amd64/isa/clock.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)clock.c 7.2 (Berkeley) 5/12/91 - * $Id: clock.c,v 1.88 1997/06/25 20:59:58 fsmp Exp $ + * $Id: clock.c,v 1.89 1997/07/13 01:18:47 fsmp Exp $ */ /* @@ -961,11 +961,13 @@ cpu_initclocks() writertc(RTC_STATUSB, rtc_statusb); #ifdef APIC_IO - printf("Enabled INTs: "); - for (x = 0; x < 24; ++x) - if ((imen & (1 << x)) == 0) - printf("%d, ", x); - printf("imen: 0x%08x\n", imen); + if (bootverbose) { + printf("SMP: enabled INTs: "); + for (x = 0; x < 24; ++x) + if ((imen & (1 << x)) == 0) + printf("%d, ", x); + printf("imen: 0x%08x\n", imen); + } #endif /* APIC_IO */ } diff --git a/sys/i386/i386/tsc.c b/sys/i386/i386/tsc.c index f79882c..073fe87 100644 --- a/sys/i386/i386/tsc.c +++ b/sys/i386/i386/tsc.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)clock.c 7.2 (Berkeley) 5/12/91 - * $Id: clock.c,v 1.88 1997/06/25 20:59:58 fsmp Exp $ + * $Id: clock.c,v 1.89 1997/07/13 01:18:47 fsmp Exp $ */ /* @@ -961,11 +961,13 @@ cpu_initclocks() writertc(RTC_STATUSB, rtc_statusb); #ifdef APIC_IO - printf("Enabled INTs: "); - for (x = 0; x < 24; ++x) - if ((imen & (1 << x)) == 0) - printf("%d, ", x); - printf("imen: 0x%08x\n", imen); + if (bootverbose) { + printf("SMP: enabled INTs: "); + for (x = 0; x < 24; ++x) + if ((imen & (1 << x)) == 0) + printf("%d, ", x); + printf("imen: 0x%08x\n", imen); + } #endif /* APIC_IO */ } diff --git a/sys/i386/isa/clock.c b/sys/i386/isa/clock.c index f79882c..073fe87 100644 --- a/sys/i386/isa/clock.c +++ b/sys/i386/isa/clock.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)clock.c 7.2 (Berkeley) 5/12/91 - * $Id: clock.c,v 1.88 1997/06/25 20:59:58 fsmp Exp $ + * $Id: clock.c,v 1.89 1997/07/13 01:18:47 fsmp Exp $ */ /* @@ -961,11 +961,13 @@ cpu_initclocks() writertc(RTC_STATUSB, rtc_statusb); #ifdef APIC_IO - printf("Enabled INTs: "); - for (x = 0; x < 24; ++x) - if ((imen & (1 << x)) == 0) - printf("%d, ", x); - printf("imen: 0x%08x\n", imen); + if (bootverbose) { + printf("SMP: enabled INTs: "); + for (x = 0; x < 24; ++x) + if ((imen & (1 << x)) == 0) + printf("%d, ", x); + printf("imen: 0x%08x\n", imen); + } #endif /* APIC_IO */ } diff --git a/sys/isa/atrtc.c b/sys/isa/atrtc.c index f79882c..073fe87 100644 --- a/sys/isa/atrtc.c +++ b/sys/isa/atrtc.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)clock.c 7.2 (Berkeley) 5/12/91 - * $Id: clock.c,v 1.88 1997/06/25 20:59:58 fsmp Exp $ + * $Id: clock.c,v 1.89 1997/07/13 01:18:47 fsmp Exp $ */ /* @@ -961,11 +961,13 @@ cpu_initclocks() writertc(RTC_STATUSB, rtc_statusb); #ifdef APIC_IO - printf("Enabled INTs: "); - for (x = 0; x < 24; ++x) - if ((imen & (1 << x)) == 0) - printf("%d, ", x); - printf("imen: 0x%08x\n", imen); + if (bootverbose) { + printf("SMP: enabled INTs: "); + for (x = 0; x < 24; ++x) + if ((imen & (1 << x)) == 0) + printf("%d, ", x); + printf("imen: 0x%08x\n", imen); + } #endif /* APIC_IO */ } |