diff options
Diffstat (limited to 'src/include/sys')
| -rw-r--r-- | src/include/sys/misc.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/include/sys/misc.h b/src/include/sys/misc.h index 6b57e7e4e..af44d7ce8 100644 --- a/src/include/sys/misc.h +++ b/src/include/sys/misc.h @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2017 */ +/* Contributors Listed Below - COPYRIGHT 2011,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -248,6 +248,16 @@ int cpu_all_winkle(); */ void cpu_crit_assert(uint64_t i_failAddr); +/** @fn set_mchk_data + * @brief Tells the kernel how to force a checkstop for unrecoverable + * machine checks + * @param[in] i_xstopAddr - XSCOM MMIO address of FIR to write + * @param[in] i_xstopData - Data to write into FIR to trigger xstop + * + * @return none + */ +void set_mchk_data(uint64_t i_xstopAddr, uint64_t i_xstopData); + #ifdef __cplusplus } #endif |

