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:
parent
bd9e7af25e
commit
977cb83962
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=204518
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user