summaryrefslogtreecommitdiffstats
path: root/sys/x86/include/mca.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2012-04-02 15:07:22 +0000
committerjhb <jhb@FreeBSD.org>2012-04-02 15:07:22 +0000
commite14923e42ffe180ed7774dafaf9010345a12e068 (patch)
tree7f7eb6a9bb253e012a5e839837563443a04c354a /sys/x86/include/mca.h
parentf9eb81a65100ad1d0570fca44c65be34721b17cb (diff)
downloadFreeBSD-src-e14923e42ffe180ed7774dafaf9010345a12e068.zip
FreeBSD-src-e14923e42ffe180ed7774dafaf9010345a12e068.tar.gz
Make machine check exception logging more readable. On newer Intel systems,
an uncorrected ECC error tends to fire on all CPUs in a package simultaneously and the current printf hacks are not sufficient to make the messages legible. Instead, use the existing mca_lock spinlock to serialize calls to mca_log() and change the machine check code to panic directly when an unrecoverable error is encoutered rather than falling back to a trap_fatal() call in trap() (which adds nearly a screen-full of logging messages that aren't useful for machine checks). MFC after: 2 weeks
Diffstat (limited to 'sys/x86/include/mca.h')
-rw-r--r--sys/x86/include/mca.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/x86/include/mca.h b/sys/x86/include/mca.h
index 9322737..29728b9 100644
--- a/sys/x86/include/mca.h
+++ b/sys/x86/include/mca.h
@@ -48,7 +48,7 @@ struct mca_record {
void cmc_intr(void);
void mca_init(void);
-int mca_intr(void);
+void mca_intr(void);
void mca_resume(void);
#endif
OpenPOWER on IntegriCloud