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.
This commit is contained in:
parent
44520d2930
commit
cd6f0f7554
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/8/; revision=204894
@ -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