summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>2000-09-19 10:40:52 +0000
committereivind <eivind@FreeBSD.org>2000-09-19 10:40:52 +0000
commit2a2d53f9301ec86ea8b26361641b8e8e55d75f35 (patch)
treed654a40551abb8e9d80cad090678c436695a86ed /sys
parentc93c4b8a88b470707d07527baafa58bfcac299e5 (diff)
downloadFreeBSD-src-2a2d53f9301ec86ea8b26361641b8e8e55d75f35.zip
FreeBSD-src-2a2d53f9301ec86ea8b26361641b8e8e55d75f35.tar.gz
Better error message when booting an SMP kernel on an UP system.
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/pmap.c2
-rw-r--r--sys/i386/i386/pmap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 7ce9120..287647a 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -413,7 +413,7 @@ pmap_bootstrap(firstaddr, loadaddr)
#ifdef SMP
if (cpu_apic_address == 0)
- panic("pmap_bootstrap: no local apic!");
+ panic("pmap_bootstrap: no local apic! (non-SMP hardware?)");
/* local apic is mapped on last page */
SMPpt[NPTEPG - 1] = (pt_entry_t)(PG_V | PG_RW | PG_N | pgeflag |
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c
index 7ce9120..287647a 100644
--- a/sys/i386/i386/pmap.c
+++ b/sys/i386/i386/pmap.c
@@ -413,7 +413,7 @@ pmap_bootstrap(firstaddr, loadaddr)
#ifdef SMP
if (cpu_apic_address == 0)
- panic("pmap_bootstrap: no local apic!");
+ panic("pmap_bootstrap: no local apic! (non-SMP hardware?)");
/* local apic is mapped on last page */
SMPpt[NPTEPG - 1] = (pt_entry_t)(PG_V | PG_RW | PG_N | pgeflag |
OpenPOWER on IntegriCloud