diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/syscall_misc.C | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/syscall_misc.C b/src/lib/syscall_misc.C index dff702ddd..a2b4ab1e4 100644 --- a/src/lib/syscall_misc.C +++ b/src/lib/syscall_misc.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2017 */ +/* Contributors Listed Below - COPYRIGHT 2011,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -137,3 +137,11 @@ void cpu_crit_assert(uint64_t i_failAddr) { _syscall1(MISC_CRITASSERT, reinterpret_cast<void*>(i_failAddr)); } + + +void set_mchk_data(uint64_t i_xstopAddr, uint64_t i_xstopData) +{ + _syscall2(MISC_SETMCHKDATA, + reinterpret_cast<void*>(i_xstopAddr), + reinterpret_cast<void*>(i_xstopData)); +} |