diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2012-07-16 21:47:53 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-07-18 14:08:32 -0500 |
commit | 49c2bbaf5fb75d534a2f08ef0a4e9fafcf847ebe (patch) | |
tree | c4bc27fb09541f3228c90bcb98a326245fd9ae2d /src/include/sys | |
parent | 6f6561babb56d891e88dbcd07646c23af2563ddd (diff) | |
download | talos-hostboot-49c2bbaf5fb75d534a2f08ef0a4e9fafcf847ebe.tar.gz talos-hostboot-49c2bbaf5fb75d534a2f08ef0a4e9fafcf847ebe.zip |
Stub function for master winkle.
Task 45250
Change-Id: Icb27948fa68a58cf9ec79816c5ac76afc5b74e2a
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1379
Tested-by: Jenkins Server
Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
Reviewed-by: Mark W. Wenning <wenning@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/sys')
-rw-r--r-- | src/include/sys/misc.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/sys/misc.h b/src/include/sys/misc.h index e1f8e42a7..1ffd8e6a7 100644 --- a/src/include/sys/misc.h +++ b/src/include/sys/misc.h @@ -133,6 +133,18 @@ enum CpuSprNames */ uint64_t cpu_spr_value(CpuSprNames spr); +/** @fn cpu_master_winkle + * @brief Winkle the master core so runtime SLW image can be applied. + * + * This requires that the master core is the only one executing instructions. + * Will execute the winkle instruction on all running threads and return when + * an IPI is receieved on the master thread of the core. + * + * @retval 0 - Success + * @retval -EDEADLK - Cores other than the master are already running. + */ +int cpu_master_winkle(); + #ifdef __cplusplus } #endif |