diff options
author | Prem Shanker Jha <premjha2@in.ibm.com> | 2016-05-27 07:56:45 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-07-01 10:18:24 -0400 |
commit | 82e972c8847a3cfe63120c94b47c7e2e7842ae14 (patch) | |
tree | d0c4a239ee70efe08494ecdfa6acb3844754f238 /src/import/chips/p9/procedures/hwp/lib/p9_stop_util.H | |
parent | e0c75d46e562ced7d24dddafc833c6bb22057820 (diff) | |
download | talos-hostboot-82e972c8847a3cfe63120c94b47c7e2e7842ae14.tar.gz talos-hostboot-82e972c8847a3cfe63120c94b47c7e2e7842ae14.zip |
PM:Changing calling convention of STOP API.
Changes made in function arguments to make it suitable for C world.
This is based on feedback received from Power Mixer team.
RTC:154530
Change-Id: I402822918089df2ac05774ede1e770bd013678b3
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25143
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25144
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/lib/p9_stop_util.H')
-rwxr-xr-x | src/import/chips/p9/procedures/hwp/lib/p9_stop_util.H | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/import/chips/p9/procedures/hwp/lib/p9_stop_util.H b/src/import/chips/p9/procedures/hwp/lib/p9_stop_util.H index 69cdb233d..700609245 100755 --- a/src/import/chips/p9/procedures/hwp/lib/p9_stop_util.H +++ b/src/import/chips/p9/procedures/hwp/lib/p9_stop_util.H @@ -117,13 +117,14 @@ enum * @brief returns core id and thread id by parsing a given PIR. * @param i_pStopImage points to STOP image associated with a proc chip. * @param i_pir PIR associated with a core's thread. - * @param o_coreId core id obtained from PIR. - * @param o_threadId thread id obtained from PIR. + * @param o_coreId points to core id value obtained from PIR. + * @param o_threadId points to thread id value obtained from PIR. * @return SUCCESS if function suceeds, error code otherwise. */ StopReturnCode_t getCoreAndThread( void* const i_pStopImage, const uint64_t i_pir, - uint32_t& o_coreId, uint32_t& o_threadId ); + uint32_t* o_coreId, + uint32_t* o_threadId ); } // namespace stopImageSection ends |