diff options
author | Mark Wenning <wenning@us.ibm.com> | 2012-09-21 17:43:08 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-11-10 15:25:10 -0600 |
commit | 1c4aa5e662b6bc4b834d5ab7dc05b8d2572fc210 (patch) | |
tree | d4d72025b4a8cb284c8341a77b75d393f7bf28fa /src/usr/hwpf/hwp/slave_sbe/proc_check_slave_sbe_seeprom_complete/proc_extract_sbe_rc.H | |
parent | e7dd783e147db6078a88a87c96723b8a5c9d218e (diff) | |
download | talos-hostboot-1c4aa5e662b6bc4b834d5ab7dc05b8d2572fc210.tar.gz talos-hostboot-1c4aa5e662b6bc4b834d5ab7dc05b8d2572fc210.zip |
proc_check_slave_sbe_seeprom_complete
Change-Id: I38ab55e90bd1bec8b258106c9215138904672847
RTC: 41384
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1863
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/slave_sbe/proc_check_slave_sbe_seeprom_complete/proc_extract_sbe_rc.H')
-rw-r--r-- | src/usr/hwpf/hwp/slave_sbe/proc_check_slave_sbe_seeprom_complete/proc_extract_sbe_rc.H | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/src/usr/hwpf/hwp/slave_sbe/proc_check_slave_sbe_seeprom_complete/proc_extract_sbe_rc.H b/src/usr/hwpf/hwp/slave_sbe/proc_check_slave_sbe_seeprom_complete/proc_extract_sbe_rc.H new file mode 100644 index 000000000..73805f4c7 --- /dev/null +++ b/src/usr/hwpf/hwp/slave_sbe/proc_check_slave_sbe_seeprom_complete/proc_extract_sbe_rc.H @@ -0,0 +1,79 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/hwpf/hwp/slave_sbe/proc_check_slave_sbe_seeprom_complete/proc_extract_sbe_rc.H $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* COPYRIGHT International Business Machines Corp. 2012 */ +/* */ +/* p1 */ +/* */ +/* Object Code Only (OCO) source materials */ +/* Licensed Internal Code Source Materials */ +/* IBM HostBoot Licensed Internal Code */ +/* */ +/* The source code for this program is not published or otherwise */ +/* divested of its trade secrets, irrespective of what has been */ +/* deposited with the U.S. Copyright Office. */ +/* */ +/* Origin: 30 */ +/* */ +/* IBM_PROLOG_END_TAG */ +// $Id: proc_extract_sbe_rc.H,v 1.2 2012/10/18 19:19:03 jeshua Exp $ +// $Source: /afs/awd/projects/eclipz/KnowledgeBase/.cvsroot/eclipz/chips/p8/working/procedures/ipl/fapi/proc_extract_sbe_rc.H,v $ +//------------------------------------------------------------------------------ +// *| +// *! (C) Copyright International Business Machines Corp. 2012 +// *! All Rights Reserved -- Property of IBM +// *! *** IBM Confidential *** +// *| +// *! TITLE : proc_extract_sbe_rc.H +// *! DESCRIPTION : Create a return code for an SBE error. Will NEVER return +// *! with SUCCESS. +// *! +// *! OWNER NAME : Jeshua Smith Email: jeshua@us.ibm.com +// *! +//------------------------------------------------------------------------------ + +#ifndef _PROC_EXTRACT_SBE_RC_H_ +#define _PROC_EXTRACT_SBE_RC_H_ + +//------------------------------------------------------------------------------ +// Includes +//------------------------------------------------------------------------------ + +#include <fapi.H> + +//------------------------------------------------------------------------------ +// Structure definitions +//------------------------------------------------------------------------------ + +// function pointer typedef definition for HWP call support +typedef fapi::ReturnCode (*proc_extract_sbe_rc_FP_t)(const fapi::Target &); + +//------------------------------------------------------------------------------ +// Constant definitions +//------------------------------------------------------------------------------ + +//------------------------------------------------------------------------------ +// Function prototypes +//------------------------------------------------------------------------------ + + +extern "C" +{ + +/** + * @brief Create a return code based off the current SBE RC. + * + * @param[in] i_target Reference to processor target containing the SBE + * + * @return ReturnCode The error code at the SBE PC, or an error + * while trying to extract the SBE PC + */ + fapi::ReturnCode proc_extract_sbe_rc(const fapi::Target & i_target); + +} // extern "C" + +#endif // _PROC_EXTRACT_SBE_RC_H_ |