diff options
Diffstat (limited to 'src/include/kernel')
| -rw-r--r-- | src/include/kernel/cpumgr.H | 11 | ||||
| -rw-r--r-- | src/include/kernel/syscalls.H | 4 |
2 files changed, 13 insertions, 2 deletions
diff --git a/src/include/kernel/cpumgr.H b/src/include/kernel/cpumgr.H index f8daf5ab3..9d741cd83 100644 --- a/src/include/kernel/cpumgr.H +++ b/src/include/kernel/cpumgr.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2010,2018 */ +/* Contributors Listed Below - COPYRIGHT 2010,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -186,6 +186,15 @@ class CpuManager static void startCore(uint64_t pir,uint64_t i_threads); + /** @fn wakeupCore + * Start the core, can only be run after startCore. + * + * @param[in] pir - PIR value of first thread in core. + * @param[in] i_threads - Bitstring of threads to enable (left-justified). + */ + static void wakeupCore(uint64_t pir,uint64_t i_threads); + + /** @fn forceMemoryPeriodic() * Force the memory free / coalesce operations to be performed on the * next "periodic" interval. diff --git a/src/include/kernel/syscalls.H b/src/include/kernel/syscalls.H index c606ad771..42e1a551b 100644 --- a/src/include/kernel/syscalls.H +++ b/src/include/kernel/syscalls.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2010,2018 */ +/* Contributors Listed Below - COPYRIGHT 2010,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -99,6 +99,8 @@ namespace Systemcalls MISC_CPUNAP, /** cpu_master_winkle() */ MISC_CPUWINKLE, + /** cpu_wakeup_core() */ + MISC_CPUWAKEUPCORE, /** mm_alloc_block() */ MM_ALLOC_BLOCK, |

