diff options
author | Chris Phan <cphan@us.ibm.com> | 2014-09-23 12:46:05 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-12-03 11:12:47 -0600 |
commit | fbb82d303f1deefd65e87d850dc77a74a6102bf5 (patch) | |
tree | 5be62aa9fd86919e9fea95bd3e5c4bfb4797c574 /src/include/runtime | |
parent | 605137529b178862bf2c28ea3c3da4fb48394991 (diff) | |
download | talos-hostboot-fbb82d303f1deefd65e87d850dc77a74a6102bf5.tar.gz talos-hostboot-fbb82d303f1deefd65e87d850dc77a74a6102bf5.zip |
ATTN: add stub runtime interfaces
Change-Id: I758ffe46770297a28be1087bc9f9b8379e4c2fa9
RTC: 110949
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13546
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/runtime')
-rw-r--r-- | src/include/runtime/interface.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/include/runtime/interface.h b/src/include/runtime/interface.h index dcc7523b3..69696cfc0 100644 --- a/src/include/runtime/interface.h +++ b/src/include/runtime/interface.h @@ -210,6 +210,30 @@ typedef struct runtimeInterfaces */ void (*occ_error) (uint64_t i_chipId); + /** Enable chip attentions + * + * @return 0 on success else return code + */ + int (*enable_attns)(void); + + /** Disable chip attentions + * + * @return 0 on success else return code + */ + int (*disable_attns)(void); + + /** brief handle chip attentions + * + * @param[in] i_proc - processor chip id at attention + * XSCOM chip id based on devtree defn + * @param[in] i_ipollStatus - processor chip Ipoll status + * @param[in] i_ipollMask - processor chip Ipoll mask + * @return 0 on success else return code + */ + int (*handle_attns)(uint64_t i_proc, + uint64_t i_ipollStatus, + uint64_t i_ipollMask); + // Reserve some space for future growth. void (*reserved[32])(void); |