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
This commit is contained in:
John Baldwin 2010-03-01 13:56:15 +00:00
parent bd9e7af25e
commit 977cb83962
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=204518
2 changed files with 4 additions and 0 deletions

View File

@ -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)

View File

@ -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)