From 0d8527ec60f3f343fbdac7cf734c64693a1a0766 Mon Sep 17 00:00:00 2001 From: Dan Crowell Date: Tue, 19 Dec 2017 16:26:21 -0600 Subject: 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 Tested-by: Jenkins OP Build CI Tested-by: FSP CI Jenkins Tested-by: Jenkins OP HW Reviewed-by: William G. Hoffa --- src/include/runtime/generic_hbrt_fsp_message.H | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/include/runtime') 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 -- cgit v1.2.3