diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2017-12-19 16:26:21 -0600 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2017-12-21 17:01:24 -0500 |
commit | 0d8527ec60f3f343fbdac7cf734c64693a1a0766 (patch) | |
tree | f606000dc037eccd9ca6f164ed49ad95954406fe /src/include/runtime | |
parent | 6141805efc9ca2e9109ca29c837ee3f51d63b141 (diff) | |
download | talos-hostboot-0d8527ec60f3f343fbdac7cf734c64693a1a0766.tar.gz talos-hostboot-0d8527ec60f3f343fbdac7cf734c64693a1a0766.zip |
Fixes for Runtime VPD Write messages
Need to pass the keyword/record/zie as the first two words of
the data payload.
Change-Id: I5c94ac9509483a11e3f703c4748c251bc846d8cb
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51141
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: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include/runtime')
-rw-r--r-- | src/include/runtime/generic_hbrt_fsp_message.H | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/runtime/generic_hbrt_fsp_message.H b/src/include/runtime/generic_hbrt_fsp_message.H index 6fa9ae9cb..b34a98d26 100644 --- a/src/include/runtime/generic_hbrt_fsp_message.H +++ b/src/include/runtime/generic_hbrt_fsp_message.H @@ -158,4 +158,8 @@ struct GenericFspMboxMessage_t }; } PACKED ; +// Handy macro that computes the size of the message minus the data portion +#define GENERIC_FSP_MBOX_MESSAGE_BASE_SIZE \ + (sizeof(GenericFspMboxMessage_t)-sizeof(GenericFspMboxMessage_t::data)) + #endif // __RUNTIME__GENERIC_HBRT_FSP_MESSAGE_H |