summaryrefslogtreecommitdiffstats
path: root/src/include/runtime/interface.h
diff options
context:
space:
mode:
authorRoland Veloz <rveloz@us.ibm.com>2017-08-23 10:29:57 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-10-06 14:22:35 -0400
commit2a1cc4f4045ddfb247a7be1a18593a9836db8412 (patch)
tree880c73ec0af9e7ffb14df3686a8a5502cdfad8cd /src/include/runtime/interface.h
parent7e787acb321e220f9ba0f4a17a408e06b5b4cef0 (diff)
downloadblackbird-hostboot-2a1cc4f4045ddfb247a7be1a18593a9836db8412.tar.gz
blackbird-hostboot-2a1cc4f4045ddfb247a7be1a18593a9836db8412.zip
Updated VPD from HBRT on FSP systems
Created a generic message type that is used as a mailbox message that is passed from HBRT to FSP. The new generic message type is used to make a VPD write call. Change-Id: I21240d19909f786d525e2a98878000af4aea6e9f RTC:171488 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45048 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/runtime/interface.h')
-rw-r--r--src/include/runtime/interface.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/include/runtime/interface.h b/src/include/runtime/interface.h
index 7fe940a99..e436cc699 100644
--- a/src/include/runtime/interface.h
+++ b/src/include/runtime/interface.h
@@ -46,6 +46,7 @@
#include <stdint.h>
#include <time.h>
#include <limits.h>
+#include "generic_hbrt_fsp_message.H"
/** Memory error types defined for memory_error() interface. */
enum MemoryError_t
@@ -504,6 +505,7 @@ typedef struct hostInterfaces
HBRT_FW_MSG_TYPE_REQ_HCODE_UPDATE = 3,
HBRT_FW_MSG_HBRT_FSP = 4,
HBRT_FW_MSG_TYPE_ERROR_LOG = 5,
+ HBRT_FW_MSG_HBRT_FSP_RESP = 6,
};
struct hbrt_fw_msg // define struct hbrt_fw_msg
@@ -546,9 +548,19 @@ typedef struct hostInterfaces
// uint8_t *myData =
// (uint8_t*)&l_req_fw_msg->error_log.i_data;
} __attribute__ ((packed)) error_log;
- };
- };
+ // This struct is sent from HBRT with
+ // io_type set to HBRT_FW_MSG_HBRT_FSP
+ // This struct sends an MBox message to the FSP
+ struct GenericFspMboxMessage_t generic_message;
+
+ // This struct is sent from FSP with
+ // io_type set to HBRT_FW_MSG_HBRT_FSP_RESP
+ // This struct receives a message from the FSP
+ struct GenericFspRspMessage_t generic_message_resp;
+
+ }; // end union
+ }; // end struct hbrt_fw_msg
// Created a static constexpr to return the base size of hbrt_fw_msg
// Can't do #define - sizeof not allowed to be used in #defines
OpenPOWER on IntegriCloud