Date: Mon, 1 Mar 2010 13:56:15 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r204518 - in head/sys: amd64/amd64 i386/i386 Message-ID: <201003011356.o21DuFVE017474@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Mon Mar 1 13:56:15 2010 New Revision: 204518 URL: http://svn.freebsd.org/changeset/base/204518 Log: 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. MFC after: 1 week Modified: head/sys/amd64/amd64/mca.c head/sys/i386/i386/mca.c Modified: head/sys/amd64/amd64/mca.c ============================================================================== --- head/sys/amd64/amd64/mca.c Mon Mar 1 13:55:28 2010 (r204517) +++ head/sys/amd64/amd64/mca.c Mon Mar 1 13:56:15 2010 (r204518) @@ -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: head/sys/i386/i386/mca.c ============================================================================== --- head/sys/i386/i386/mca.c Mon Mar 1 13:55:28 2010 (r204517) +++ head/sys/i386/i386/mca.c Mon Mar 1 13:56:15 2010 (r204518) @@ -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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003011356.o21DuFVE017474>