summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/utils/stopreg/p9_stop_api.H
diff options
context:
space:
mode:
authorPrem Shanker Jha <premjha2@in.ibm.com>2016-05-27 07:56:45 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-07-01 10:18:24 -0400
commit82e972c8847a3cfe63120c94b47c7e2e7842ae14 (patch)
treed0c4a239ee70efe08494ecdfa6acb3844754f238 /src/import/chips/p9/procedures/utils/stopreg/p9_stop_api.H
parente0c75d46e562ced7d24dddafc833c6bb22057820 (diff)
downloadtalos-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/utils/stopreg/p9_stop_api.H')
-rwxr-xr-xsrc/import/chips/p9/procedures/utils/stopreg/p9_stop_api.H7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/import/chips/p9/procedures/utils/stopreg/p9_stop_api.H b/src/import/chips/p9/procedures/utils/stopreg/p9_stop_api.H
index b597e3ed7..26278fd9d 100755
--- a/src/import/chips/p9/procedures/utils/stopreg/p9_stop_api.H
+++ b/src/import/chips/p9/procedures/utils/stopreg/p9_stop_api.H
@@ -7,7 +7,7 @@
/* */
/* EKB Project */
/* */
-/* COPYRIGHT 2015 */
+/* COPYRIGHT 2015,2016 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -31,8 +31,10 @@
// *HWP Level : 2
// *HWP Consumed by : HB:HYP
+#ifdef __cplusplus
namespace stopImageSection
{
+#endif
/**
* @brief all SPRs and MSR for which register restore is to be supported.
@@ -143,8 +145,7 @@ StopReturnCode_t p9_stop_save_scom( void* const i_pImage,
#ifdef __cplusplus
} // extern "C"
-#endif
}; // namespace stopImageSection ends
-
+#endif //__cplusplus
#endif //__P9_STOP_IMAGE_API_
OpenPOWER on IntegriCloud