svn commit: r192106 - in head/sys: conf pc98/include pc98/pc98

Takahashi Yoshihiro nyan at FreeBSD.org
Thu May 14 16:01:30 UTC 2009


Author: nyan
Date: Thu May 14 16:01:29 2009
New Revision: 192106
URL: http://svn.freebsd.org/changeset/base/192106

Log:
  MFi386: revision 192050
  
    Implement simple machine check support.

Added:
  head/sys/pc98/include/mca.h   (contents, props changed)
Modified:
  head/sys/conf/files.pc98
  head/sys/pc98/pc98/machdep.c

Modified: head/sys/conf/files.pc98
==============================================================================
--- head/sys/conf/files.pc98	Thu May 14 14:57:13 2009	(r192105)
+++ head/sys/conf/files.pc98	Thu May 14 16:01:29 2009	(r192106)
@@ -150,6 +150,7 @@ i386/i386/k6_mem.c		optional mem
 i386/i386/legacy.c		standard
 i386/i386/local_apic.c		optional apic
 i386/i386/locore.s		standard	no-obj
+i386/i386/mca.c			standard
 i386/i386/mem.c			optional mem
 i386/i386/minidump_machdep.c	standard
 i386/i386/mp_clock.c		optional smp

Added: head/sys/pc98/include/mca.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/pc98/include/mca.h	Thu May 14 16:01:29 2009	(r192106)
@@ -0,0 +1,6 @@
+/*-
+ * This file is in the public domain.
+ */
+/* $FreeBSD$ */
+
+#include <i386/mca.h>

Modified: head/sys/pc98/pc98/machdep.c
==============================================================================
--- head/sys/pc98/pc98/machdep.c	Thu May 14 14:57:13 2009	(r192105)
+++ head/sys/pc98/pc98/machdep.c	Thu May 14 16:01:29 2009	(r192106)
@@ -111,6 +111,7 @@ __FBSDID("$FreeBSD$");
 #include <machine/cpu.h>
 #include <machine/cputypes.h>
 #include <machine/intr_machdep.h>
+#include <machine/mca.h>
 #include <machine/md_var.h>
 #include <machine/pc/bios.h>
 #include <machine/pcb.h>
@@ -256,6 +257,8 @@ cpu_startup(dummy)
 	vm_pager_bufferinit();
 
 	cpu_setregs();
+
+	mca_init();
 }
 
 /*


More information about the svn-src-head mailing list