diff options
author | Roland Veloz <rveloz@us.ibm.com> | 2017-08-30 17:32:48 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-09-18 15:33:08 -0400 |
commit | 0ab063c088f59890c409b7d00e0bf6afcf07dc16 (patch) | |
tree | aed9b66e9b0873d86e5a3ae6f26869123327d0cd /src/include/runtime | |
parent | 7c816980c3829cce89f7a18a65dc70c1876ad813 (diff) | |
download | talos-hostboot-0ab063c088f59890c409b7d00e0bf6afcf07dc16.tar.gz talos-hostboot-0ab063c088f59890c409b7d00e0bf6afcf07dc16.zip |
Added code to send an Error Log to FSP via the firmware_request
Change-Id: I6ce94d9cbf62fa7d2afe53b83b6bc5588a39a5d6
RTC:178947
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45442
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/runtime')
-rw-r--r-- | src/include/runtime/interface.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/src/include/runtime/interface.h b/src/include/runtime/interface.h index f3d67f69a..7fa1e86fb 100644 --- a/src/include/runtime/interface.h +++ b/src/include/runtime/interface.h @@ -502,6 +502,8 @@ typedef struct hostInterfaces HBRT_FW_MSG_TYPE_RESP_NOP = 1, HBRT_FW_MSG_TYPE_RESP_GENERIC = 2, HBRT_FW_MSG_TYPE_REQ_HCODE_UPDATE = 3, + HBRT_FW_MSG_HBRT_FSP = 4, + HBRT_FW_MSG_TYPE_ERROR_LOG = 5, }; struct hbrt_fw_msg // define struct hbrt_fw_msg @@ -524,14 +526,26 @@ typedef struct hostInterfaces struct { uint64_t i_chipId; // processor chip ID plus ID type, - // always proc (0x0) + // always proc (0x0) uint32_t i_section; // runtime section to update - // (passthru to pore_gen_scom) + // (passthru to pore_gen_scom) uint32_t i_operation; // type of operation to perform - // (passthru to pore_gen_scom) + // (passthru to pore_gen_scom) uint64_t i_scomAddr; // fully qualified scom address uint64_t i_scomData; // data for operation } req_hcode_update; + + // This struct is sent from HBRT with + // io_type set to HBRT_FW_MSG_TYPE_ERR_LOG + // Send an error log to FSP + struct + { + uint32_t i_plid; // platform log identifier + uint32_t i_errlSize; // data size in bytes + uint8_t i_data; // the error log data + // uint8_t *myData = + // (uint8_t*)&l_req_fw_msg->error_log.i_data; + } __attribute__ ((packed)) error_log; }; }; |