summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2002-04-26 19:36:25 +0000
committermarcel <marcel@FreeBSD.org>2002-04-26 19:36:25 +0000
commit41525cfaff71ae48182d00d24fbd73e6b779ffb8 (patch)
tree907c0b7e2663aa56bdbf709a87507a1aad432fbc /sys/ia64
parent4a609b30589ec846482c76dcd505ee20f91d7596 (diff)
downloadFreeBSD-src-41525cfaff71ae48182d00d24fbd73e6b779ffb8.zip
FreeBSD-src-41525cfaff71ae48182d00d24fbd73e6b779ffb8.tar.gz
Initialize MCA in cpu_startup() so that it's ready before we wake-up
the application processors. This allows us to collect unconsumed AP specific error records as part of the wake-up.
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/machdep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/ia64/ia64/machdep.c b/sys/ia64/ia64/machdep.c
index 17b3fca..7d7d53f 100644
--- a/sys/ia64/ia64/machdep.c
+++ b/sys/ia64/ia64/machdep.c
@@ -72,6 +72,7 @@
#include <machine/md_var.h>
#include <machine/reg.h>
#include <machine/fpu.h>
+#include <machine/mca.h>
#include <machine/pal.h>
#include <machine/sal.h>
#include <machine/bootinfo.h>
@@ -240,6 +241,8 @@ cpu_startup(dummy)
if (!ia64_running_in_simulator())
panic("Mandatory 'device acpica' is missing");
#endif
+
+ ia64_mca_init();
}
void
OpenPOWER on IntegriCloud