summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1997-08-27 08:43:21 +0000
committerkato <kato@FreeBSD.org>1997-08-27 08:43:21 +0000
commit50d8ef12839426814b2e662bdbd06b884c745174 (patch)
tree54b6cf0ce8db429727d5d426a6b378745bdcf257 /sys/pc98
parentf276c66ddf1b16b1286bda66924fb3eedadcb8c1 (diff)
downloadFreeBSD-src-50d8ef12839426814b2e662bdbd06b884c745174.zip
FreeBSD-src-50d8ef12839426814b2e662bdbd06b884c745174.tar.gz
Synchronize with sys/i386/i386/machdep.c and trap.c revision 1.258 and
1.108, respectively.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/i386/machdep.c14
-rw-r--r--sys/pc98/i386/trap.c7
-rw-r--r--sys/pc98/pc98/machdep.c14
3 files changed, 20 insertions, 15 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index 36981aa..d6e4a97 100644
--- a/sys/pc98/i386/machdep.c
+++ b/sys/pc98/i386/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.51 1997/08/18 11:29:57 kato Exp $
+ * $Id: machdep.c,v 1.52 1997/08/21 10:12:42 kato Exp $
*/
#include "apm.h"
@@ -403,6 +403,12 @@ again:
printf("avail memory = %d (%dK bytes)\n", ptoa(cnt.v_free_count),
ptoa(cnt.v_free_count) / 1024);
+ /*
+ * Set up buffers, so they can be used to read disk labels.
+ */
+ bufinit();
+ vm_pager_bufferinit();
+
#ifdef SMP
/*
* OK, enough kmem_alloc/malloc state should be up, lets get on with it!
@@ -410,12 +416,6 @@ again:
mp_start(); /* fire up the APs and APICs */
mp_announce();
#endif /* SMP */
-
- /*
- * Set up buffers, so they can be used to read disk labels.
- */
- bufinit();
- vm_pager_bufferinit();
}
int
diff --git a/sys/pc98/i386/trap.c b/sys/pc98/i386/trap.c
index 1206b76..17a24fe 100644
--- a/sys/pc98/i386/trap.c
+++ b/sys/pc98/i386/trap.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)trap.c 7.4 (Berkeley) 5/13/91
- * $Id: trap.c,v 1.31 1997/08/20 10:24:56 kato Exp $
+ * $Id: trap.c,v 1.32 1997/08/21 10:12:48 kato Exp $
*/
/*
@@ -775,6 +775,7 @@ trap_fatal(frame)
ISPL(frame->tf_cs) == SEL_UPL ? "user" : "kernel");
#ifdef SMP
printf("cpuid = %d\n", cpuid);
+ printf("lapic.id = %d\n", lapic.id);
#endif
if (type == T_PAGEFLT) {
printf("fault virtual address = 0x%x\n", eva);
@@ -819,6 +820,9 @@ trap_fatal(frame)
} else {
printf("Idle\n");
}
+#ifdef SMP
+ printf("mp_lock = %08x\n", mp_lock);
+#endif
printf("interrupt mask = ");
if ((cpl & net_imask) == net_imask)
printf("net ");
@@ -874,6 +878,7 @@ dblfault_handler()
printf("ebp = 0x%x\n", common_tss.tss_ebp);
#ifdef SMP
printf("cpuid = %d\n", cpuid);
+ printf("lapic.id = %d\n", lapic.id);
#endif
panic("double fault");
}
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c
index 36981aa..d6e4a97 100644
--- a/sys/pc98/pc98/machdep.c
+++ b/sys/pc98/pc98/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.51 1997/08/18 11:29:57 kato Exp $
+ * $Id: machdep.c,v 1.52 1997/08/21 10:12:42 kato Exp $
*/
#include "apm.h"
@@ -403,6 +403,12 @@ again:
printf("avail memory = %d (%dK bytes)\n", ptoa(cnt.v_free_count),
ptoa(cnt.v_free_count) / 1024);
+ /*
+ * Set up buffers, so they can be used to read disk labels.
+ */
+ bufinit();
+ vm_pager_bufferinit();
+
#ifdef SMP
/*
* OK, enough kmem_alloc/malloc state should be up, lets get on with it!
@@ -410,12 +416,6 @@ again:
mp_start(); /* fire up the APs and APICs */
mp_announce();
#endif /* SMP */
-
- /*
- * Set up buffers, so they can be used to read disk labels.
- */
- bufinit();
- vm_pager_bufferinit();
}
int
OpenPOWER on IntegriCloud