summaryrefslogtreecommitdiffstats
path: root/src/include/runtime
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2017-12-19 16:26:21 -0600
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2017-12-21 17:01:24 -0500
commit0d8527ec60f3f343fbdac7cf734c64693a1a0766 (patch)
treef606000dc037eccd9ca6f164ed49ad95954406fe /src/include/runtime
parent6141805efc9ca2e9109ca29c837ee3f51d63b141 (diff)
downloadtalos-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.H4
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
OpenPOWER on IntegriCloud