summaryrefslogtreecommitdiffstats
path: root/src/include/usr/hwas
diff options
context:
space:
mode:
authorBrian Horton <brianh@linux.ibm.com>2015-01-31 22:04:46 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-02-16 14:52:32 -0600
commit7ff96947e3424a8d8909f7de37c1442b6e8d7a18 (patch)
tree80092d07d0af9f6b14f5a3c9fb2203902880dfe6 /src/include/usr/hwas
parent8fcc72d4f487e90f5d9c5bc333a50a5d25703da6 (diff)
downloadtalos-hostboot-7ff96947e3424a8d8909f7de37c1442b6e8d7a18.tar.gz
talos-hostboot-7ff96947e3424a8d8909f7de37c1442b6e8d7a18.zip
error log to esel integration
Change-Id: I2f134d73b114e4177e3e285defd85fbc21153913 RTC: 117454 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15466 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/hwas')
-rw-r--r--src/include/usr/hwas/common/hwasCallout.H29
1 files changed, 20 insertions, 9 deletions
diff --git a/src/include/usr/hwas/common/hwasCallout.H b/src/include/usr/hwas/common/hwasCallout.H
index 3c6813dc7..f8611c0e8 100644
--- a/src/include/usr/hwas/common/hwasCallout.H
+++ b/src/include/usr/hwas/common/hwasCallout.H
@@ -93,6 +93,7 @@ enum epubProcedureID
// from srci/fsp/srci.H
enum callOutPriority
{
+ SRCI_PRIORITY_NONE = 0,
SRCI_PRIORITY_LOW = 1,
SRCI_PRIORITY_MEDC = 2,
SRCI_PRIORITY_MEDB = 3,
@@ -161,23 +162,37 @@ typedef struct callout_ud
// two Targets will follow
};
struct { // type == CLOCK_CALLOUT
- clockTypeEnum clockType; // uint32_t
- DeconfigEnum clkDeconfigState; // uint32_t
- GARD_ErrorType clkGardErrorType; // uint32_t
+ clockTypeEnum clockType; // uint32_t
+ DeconfigEnum clkDeconfigState; // uint32_t
+ GARD_ErrorType clkGardErrorType; // uint32_t
// one Target will follow
};
struct { // type == PART_CALLOUT
- partTypeEnum partType; // uint32_t
+ partTypeEnum partType; // uint32_t
DeconfigEnum partDeconfigState; // uint32_t
GARD_ErrorType partGardErrorType; // uint32_t
// one Target will follow
};
- };
+ }; // union
} callout_ud_t;
#ifndef PARSER
/**
+ * @brief retrieveTarget will convert the EntityPath to a Target
+ *
+ * @param[in] io_uData pointer to the userdetail data
+ * @param[in] o_pTarget target that is found
+ * @param[in] io_errl Error log handle reference
+ *
+ * @return true if error and o_pTarget data not valid,
+ * false no error, o_pTarget data valid
+ */
+bool retrieveTarget(uint8_t * & io_uData,
+ TARGETING::Target * & o_pTarget,
+ errlHndl_t i_errl);
+
+/**
* @brief processCallout process the userdetail for a callout, calling
* the deconfigure and/or GARD funcationality as appropriate
*
@@ -295,11 +310,7 @@ errlHndl_t platHandlePartCallout(
DeconfigEnum i_deconfigState = DECONFIG,
GARD_ErrorType i_gardErrorType = GARD_Fatal);
-
#endif // not PARSER
-
-
}; // end namespace
-
#endif
OpenPOWER on IntegriCloud