diff options
Diffstat (limited to 'src/lib/syscall_misc.C')
-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 ad6b204a6..29c075baf 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,2018 */ +/* Contributors Listed Below - COPYRIGHT 2011,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -139,6 +139,14 @@ int cpu_all_winkle() return rc; } +int cpu_wakeup_core(uint64_t pir,uint64_t i_threads) +{ + return reinterpret_cast<int64_t>( + _syscall2(MISC_CPUWAKEUPCORE, + reinterpret_cast<void*>(pir), + reinterpret_cast<void*>(i_threads))); +} + void cpu_crit_assert(uint64_t i_failAddr) { |