From 8fb3f52276fd37466afb34b85a1dbda3c8ee3e9f Mon Sep 17 00:00:00 2001 From: Claus Michael Olsen Date: Thu, 30 Mar 2017 20:20:23 -0500 Subject: H-code ddLevel support - Front-end hooks for user and back-end codes. xip_image.c has been renamed to xip_image.C to take advantage of C++ ability to overload function call arg list to avoid having to introduce additional skinny "xip_dd_get_section" and "xip_dd_append" functions. p9_xip_get_section() and p9_xip_append() APIs have been updated with an additional DD support arg as their last parm. P9XipSection.iv_reserved8[0] converted to iv_ddSupport to enable XIP level knowledge about ddSupport capability of XIP sections. Introduced p9_xip_dd_section_support() that queries a section's iv_ddSupport flag to tell caller true/false about a sections ddLevel support status. Added support in xip_tool.C as follows: - Updated "append" command to accept an optional arg, ddSupport, if section has ddLevel support or not. - Updated "extract" command to accept an optional arg, ddLevel, specifying which ddLevel to extract. - Updated "report" command's listing to show ddLevel support status of sections. Change-Id: I17e1e09d63e894d4f26cb7b324cf10ab784d78a4 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38666 Tested-by: PPE CI Tested-by: Hostboot CI Tested-by: Jenkins Server Reviewed-by: Jennifer A. Stofer Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38667 Tested-by: FSP CI Jenkins Reviewed-by: Sachin Gupta --- src/import/tools/imageProcs/p9_ipl_build.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/import/tools') diff --git a/src/import/tools/imageProcs/p9_ipl_build.C b/src/import/tools/imageProcs/p9_ipl_build.C index a6b13d40..4f4687e9 100644 --- a/src/import/tools/imageProcs/p9_ipl_build.C +++ b/src/import/tools/imageProcs/p9_ipl_build.C @@ -217,7 +217,8 @@ int append_ring_block_to_image( char* io_sbeImage, i_ringBlock, i_blockSize, io_sbeImageSize, - &unused_parm ); + &unused_parm, + 0 ); if(rc) { -- cgit v1.2.1