summaryrefslogtreecommitdiffstats
path: root/src/include/runtime/interface.h
diff options
context:
space:
mode:
authorPrachi Gupta <pragupta@us.ibm.com>2014-09-23 16:12:05 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-11-12 13:44:53 -0600
commit85a60a8998a743e65660a8282bc758b3e3ed0056 (patch)
treef7463f8f4dcc2374c7d4a1de2e2cdb045c6d1ab6 /src/include/runtime/interface.h
parent6313118b632d0f985d9595dfad54e942a6ed02cf (diff)
downloadtalos-hostboot-85a60a8998a743e65660a8282bc758b3e3ed0056.tar.gz
talos-hostboot-85a60a8998a743e65660a8282bc758b3e3ed0056.zip
added activateOCC during IPL and occ_error during runtime
Change-Id: Icdba24cc9d8fadc597bd79b8bea60f1c358d636e RTC: 114906 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13551 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/runtime/interface.h')
-rw-r--r--src/include/runtime/interface.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/include/runtime/interface.h b/src/include/runtime/interface.h
index 910e83c3b..dcc7523b3 100644
--- a/src/include/runtime/interface.h
+++ b/src/include/runtime/interface.h
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2013,2014 */
+/* Contributors Listed Below - COPYRIGHT 2013,2014 */
+/* [+] International Business Machines Corp. */
+/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
@@ -174,7 +176,7 @@ typedef struct runtimeInterfaces
* @param[in] i_chip - XSCOM chip id of processor based on devtree defn
* @return 0 on success else return code
*/
- int(*loadOCC)(uint64_t i_homer_addr_phys,
+ int(*occ_load)(uint64_t i_homer_addr_phys,
uint64_t i_homer_addr_va,
uint64_t i_common_addr_phys,
uint64_t i_common_addr_va,
@@ -188,7 +190,7 @@ typedef struct runtimeInterfaces
* @param[in] i_num_chips - Number of chips in the array
* @return 0 on success else return code
*/
- int (*startOCCs)(uint64_t* i_chip,
+ int (*occ_start)(uint64_t* i_chip,
size_t i_num_chips);
/** Stop OCC hold OCCs in reset
@@ -199,9 +201,14 @@ typedef struct runtimeInterfaces
* @param[in] i_num_chips - Number of chips in the array
* @return 0 on success else return code
*/
- int (*stopOCCs)(uint64_t* i_chip,
+ int (*occ_stop)(uint64_t* i_chip,
size_t i_num_chips);
+ /** Reset OCC upon failure
+ * @param [in]: i_chipId: Id of processor with failing OCC
+ * @return NONE
+ */
+ void (*occ_error) (uint64_t i_chipId);
// Reserve some space for future growth.
void (*reserved[32])(void);
OpenPOWER on IntegriCloud