From a903c4f89dd12143ddb187ed8d7602d426fbaec5 Mon Sep 17 00:00:00 2001 From: Doug Gilbert Date: Mon, 7 Apr 2014 16:49:18 -0500 Subject: Sapphire OCC error handling in HBRT Change-Id: Ie55785f586da6416c3d2a46767a2f9f17fad282c RTC: 101156 Backport: release-fips810 CQ: SW256035 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/10258 Tested-by: Jenkins Server Reviewed-by: Corey V. Swenson Reviewed-by: Daniel M. Crowell Reviewed-by: A. Patrick Williams III --- src/include/runtime/interface.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/include/runtime/interface.h') diff --git a/src/include/runtime/interface.h b/src/include/runtime/interface.h index eccf39bbd..f45f58b21 100644 --- a/src/include/runtime/interface.h +++ b/src/include/runtime/interface.h @@ -133,6 +133,12 @@ typedef struct hostInterfaces */ void (*nanosleep)(uint64_t i_seconds, uint64_t i_nano_seconds); + /** + * @brief Report an error to the host + * @param[in] Failing status that identifies the nature of the fail + * @param[in] Identifier that specifies the failing part + */ + void (*report_failure)( uint64_t i_status, uint64_t i_partId ); // Reserve some space for future growth. void (*reserved[32])(void); -- cgit v1.2.3