summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2012-04-10 13:50:41 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-04-20 13:41:38 -0500
commit032380ea485888ab88e9b5fb55d7af8e04b8259b (patch)
tree9fc7b5c4cf9bd8421213794e2c7ed776ff94cc7d /src/include/usr
parent990e50add4572619d663a1c850dd47ad274c129f (diff)
downloadtalos-hostboot-032380ea485888ab88e9b5fb55d7af8e04b8259b.tar.gz
talos-hostboot-032380ea485888ab88e9b5fb55d7af8e04b8259b.zip
Do not init FSI slave
Added a new attribute SP_FUNCTIONS to control some of the functionality that the FSP may or may not be handling. Updated FSI code to key off of new attribute instead of looking for VPO mode Migrated over to using HUID for tracing/logging and added a utility function for other code to use. Change-Id: Ide410d088b24a15004236d39b3e4bde784248a52 RTC: 39704 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/877 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/targeting/util.H7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/usr/targeting/util.H b/src/include/usr/targeting/util.H
index d2bce8c66..4af5500a5 100644
--- a/src/include/usr/targeting/util.H
+++ b/src/include/usr/targeting/util.H
@@ -29,6 +29,7 @@
namespace TARGETING
{
+class Target;
/**
* @brief Checks to see if we are running in a hardware simulation
@@ -38,6 +39,12 @@ namespace TARGETING
*/
bool is_vpo( void );
+/**
+ * @brief Safely fetch the HUID of a Target
+ * @param[in] Pointer to a Target
+ * @return HUID of Target, Zero if NULL, 0xFFFFFFFF if Sentinel
+ */
+uint32_t get_huid( const Target* i_target );
}
OpenPOWER on IntegriCloud