From 2f21c8cdb1b36b58a1f0f392a03f8d9ff42e4dbb Mon Sep 17 00:00:00 2001 From: "Richard J. Knight" Date: Wed, 30 Mar 2016 11:13:05 -0500 Subject: Implementation of p9_ipl_build tool Change-Id: I778c3525e639cf1ce631ae327cf65b8bda14e1a4 RTC:150314 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22745 Tested-by: Jenkins Server Reviewed-by: Prachi Gupta Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30234 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta --- src/import/tools/imageProcs/p9_ipl_build.H | 42 ++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/import/tools/imageProcs/p9_ipl_build.H (limited to 'src/import/tools/imageProcs/p9_ipl_build.H') diff --git a/src/import/tools/imageProcs/p9_ipl_build.H b/src/import/tools/imageProcs/p9_ipl_build.H new file mode 100644 index 00000000..a0726f76 --- /dev/null +++ b/src/import/tools/imageProcs/p9_ipl_build.H @@ -0,0 +1,42 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/import/tools/imageProcs/p9_ipl_build.H $ */ +/* */ +/* OpenPOWER sbe Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2016 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ + +#ifndef __P9_IMAGE_BLD_H +#define __P9_IMAGE_BLD_H + +// $TODO - these are currently defined in p9_ring_apply.H - but I cant include +// that file due to other issues - added here till we sort it out. +#define IMGBUILD_SUCCESS 0 // Successful img build. +#define IMGBUILD_ERR_FILE_ACCESS 2 // Unable to access/open file. +#define IMGBUILD_MEM_MAP_FAILED 3 // Failed to map image to memory location +#define IMGBUILD_NO_RINGS_FOUND 5 // Successful img build but no rings found. +#define IMGBUILD_ERR_MEMORY 7 // Memory allocation error. +#define IMGBUILD_INVALID_IMAGE 10 // Invalid image. +#define IMGBUILD_ERR_RING_SEARCH 33 // Err assoc w/ring retrieval. +#define IMGBUILD_ERR_GET_SECTION 49 // Err assoc w/getting section ID. +#define IMGBUILD_ERR_APPEND 51 // Err assoc w/appending to ELF section. +#define IMGBUILD_ERR_SECTION_SIZING 48 // Err assoc w/section sizing. + +#endif -- cgit v1.2.1