summaryrefslogtreecommitdiffstats
path: root/src/include/runtime/generic_hbrt_fsp_message.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/runtime/generic_hbrt_fsp_message.H')
-rw-r--r--src/include/runtime/generic_hbrt_fsp_message.H20
1 files changed, 16 insertions, 4 deletions
diff --git a/src/include/runtime/generic_hbrt_fsp_message.H b/src/include/runtime/generic_hbrt_fsp_message.H
index b34a98d26..5c9ca7eb0 100644
--- a/src/include/runtime/generic_hbrt_fsp_message.H
+++ b/src/include/runtime/generic_hbrt_fsp_message.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2017 */
+/* Contributors Listed Below - COPYRIGHT 2013,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -25,7 +25,7 @@
#ifndef __RUNTIME__GENERIC_HBRT_FSP_MESSAGE_H
#define __RUNTIME__GENERIC_HBRT_FSP_MESSAGE_H
-#include <builtins.h>
+#include <targeting/common/attributes.H> // TARGETING::HwasState
/** @file generic_hbrt_fsp_message.H
* @brief A generic structure for passing data
@@ -34,8 +34,6 @@
* FSP/HWSV team to send and receive data.
*/
-
-
/**
* This generates a sequence ID that the GenericFspMboxMessage_t
* consumes.
@@ -50,6 +48,19 @@ private:
static uint16_t SEQ_ID;
};
+
+/**
+ * A useful struct to pack/access the HUID and HWAS state
+ * from the GenericFspMboxMessage_t.data.
+ * The HUID will be in the first 4 bytes followed by the HWAS state.
+ */
+struct TargetDeconfigHbrtFspData_t
+{
+ uint32_t huid;
+ TARGETING::HwasState hwasState;
+} PACKED ;
+
+
/**
* A useful struct to access the PLID from GenericFspMboxMessage_t.data
* The PLID will be in the first 4 bytes followed by some other data.
@@ -107,6 +118,7 @@ struct GenericFspMboxMessage_t
MSG_TOD_BACKUP_RESET = 0x0001,
MSG_TOD_BACKUP_RESET_INFORM_PHYP = 0x0002,
MSG_TOD_TOPOLOGY_DATA = 0x0003,
+ MSG_DECONFIG_TARGET = 0x0004,
MSG_SBE_ERROR = 0x000000E1,
MSG_SBE_RECOVERY_SUCCESS = 0x000000E2,
MSG_SBE_RECOVERY_FAILED = 0x000000E3,
OpenPOWER on IntegriCloud