svn commit: r204894 - in stable/8/sys: amd64/amd64 i386/i386
John Baldwin
jhb at FreeBSD.org
Mon Mar 8 21:36:21 UTC 2010
Author: jhb
Date: Mon Mar 8 21:36:20 2010
New Revision: 204894
URL: http://svn.freebsd.org/changeset/base/204894
Log:
MFC 204518:
Print the contents of the miscellaneous (MISC) register to the console if
it is valid along with the other register values when a machine check is
encountered.
Modified:
stable/8/sys/amd64/amd64/mca.c
stable/8/sys/i386/i386/mca.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
stable/8/sys/netinet/ (props changed)
Modified: stable/8/sys/amd64/amd64/mca.c
==============================================================================
--- stable/8/sys/amd64/amd64/mca.c Mon Mar 8 21:30:12 2010 (r204893)
+++ stable/8/sys/amd64/amd64/mca.c Mon Mar 8 21:36:20 2010 (r204894)
@@ -288,6 +288,8 @@ mca_log(const struct mca_record *rec)
printf("\n");
if (rec->mr_status & MC_STATUS_ADDRV)
printf("MCA: Address 0x%llx\n", (long long)rec->mr_addr);
+ if (rec->mr_status & MC_STATUS_MISCV)
+ printf("MCA: Misc 0x%llx\n", (long long)rec->mr_misc);
}
static int __nonnull(2)
Modified: stable/8/sys/i386/i386/mca.c
==============================================================================
--- stable/8/sys/i386/i386/mca.c Mon Mar 8 21:30:12 2010 (r204893)
+++ stable/8/sys/i386/i386/mca.c Mon Mar 8 21:36:20 2010 (r204894)
@@ -288,6 +288,8 @@ mca_log(const struct mca_record *rec)
printf("\n");
if (rec->mr_status & MC_STATUS_ADDRV)
printf("MCA: Address 0x%llx\n", (long long)rec->mr_addr);
+ if (rec->mr_status & MC_STATUS_MISCV)
+ printf("MCA: Misc 0x%llx\n", (long long)rec->mr_misc);
}
static int __nonnull(2)
More information about the svn-src-all
mailing list