summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/targeting/common/util.H11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/include/usr/targeting/common/util.H b/src/include/usr/targeting/common/util.H
index 69f302df8..4ea2ab8de 100644
--- a/src/include/usr/targeting/common/util.H
+++ b/src/include/usr/targeting/common/util.H
@@ -30,7 +30,7 @@
* @brief Targeting utility functions
*/
-#include <attributeenums.H>
+#include <targeting/common/attributes.H>
namespace TARGETING
{
@@ -82,6 +82,15 @@ void update_hwas_changed_mask(Target * i_target);
*/
void clear_hwas_changed_bit(Target * i_target, const HWAS_CHANGED_BIT i_bit);
+/**
+ * @brief Checks if we are loading a PHYP payload
+ * @description Looks at both ATTR_PAYLOAD_KIND and the MNFG flags
+ * to determine if we are really loading and starting PHYP
+ * @param[out] Current value of PAYLOAD_KIND
+ * @return True if PHYP will be loaded and started
+ */
+bool is_phyp_load( ATTR_PAYLOAD_KIND_type* o_type = NULL );
+
}
#endif // __TARGETING_COMMON_UTIL_H
OpenPOWER on IntegriCloud