summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/hwp/build_winkle_images/p8_slw_build/p8_xip_customize.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/hwpf/hwp/build_winkle_images/p8_slw_build/p8_xip_customize.H')
-rw-r--r--src/usr/hwpf/hwp/build_winkle_images/p8_slw_build/p8_xip_customize.H74
1 files changed, 74 insertions, 0 deletions
diff --git a/src/usr/hwpf/hwp/build_winkle_images/p8_slw_build/p8_xip_customize.H b/src/usr/hwpf/hwp/build_winkle_images/p8_slw_build/p8_xip_customize.H
new file mode 100644
index 000000000..780513b27
--- /dev/null
+++ b/src/usr/hwpf/hwp/build_winkle_images/p8_slw_build/p8_xip_customize.H
@@ -0,0 +1,74 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/usr/hwpf/hwp/build_winkle_images/p8_slw_build/p8_xip_customize.H $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2012 */
+/* */
+/* p1 */
+/* */
+/* Object Code Only (OCO) source materials */
+/* Licensed Internal Code Source Materials */
+/* IBM HostBoot Licensed Internal Code */
+/* */
+/* The source code for this program is not published or otherwise */
+/* divested of its trade secrets, irrespective of what has been */
+/* deposited with the U.S. Copyright Office. */
+/* */
+/* Origin: 30 */
+/* */
+/* IBM_PROLOG_END_TAG */
+// $Id: p8_xip_customize.H,v 1.5 2012/12/07 18:23:01 cmolsen Exp $
+
+#include <fapi.H>
+
+typedef fapi::ReturnCode (*fapiGetMvpdField_FP_t) ( const fapi::MvpdRecord i_record,
+ const fapi::MvpdKeyword i_keyword,
+ const fapi::Target &i_procTarget,
+ uint8_t * const i_pBuffer,
+ uint32_t &io_fieldSize);
+
+typedef fapi::ReturnCode (*p8_xip_customize_FP_t) ( const fapi::Target&,
+ void*,
+ void*,
+ uint32_t&,
+ const uint8_t,
+ void*,
+ const uint32_t,
+ void*,
+ const uint32_t );
+
+extern "C"
+{
+
+//
+// Function declares.
+//
+
+ // Description:
+ // FAPI HWP entry point for p8_xip_customize().
+ // proc_xip_customize() adds VPD rings to the IPL and SLW images and updates
+ // various vectors in the images.
+ //
+ // Parameters:
+ // fapi::Target &i_target: Processor chip target.
+ // void *i_imageIn: Ptr to input IPL or SLW image.
+ // void *i_imageOut: Ptr to output IPL img. (Ignored for SLW/RAM imgs.)
+ // uint32_t &io_sizeImageOut: In: Max size of IPL/SRAM img. Out: Final size.
+ // uint8_t i_sysPhase: 0: IPL 1: SLW
+ // void *i_buf1: Temp buffer1 for dexed RS4 ring. Caller allocs/frees.
+ // uint32_t i_sizeBuf1: Size of buf1.
+ // void *i_buf2: Temp buffer2 for WF ring. Caller allocs/frees.
+ // uint32_t i_sizeBuf22 Size of buf2.
+ fapi::ReturnCode p8_xip_customize( const fapi::Target &i_target,
+ void *i_imageIn,
+ void *i_imageOut,
+ uint32_t &io_sizeImageOut,
+ const uint8_t i_sysPhase,
+ void *i_buf1,
+ const uint32_t i_sizeBuf1,
+ void *i_buf2,
+ const uint32_t i_sizeBuf2 );
+}
OpenPOWER on IntegriCloud