summaryrefslogtreecommitdiffstats
path: root/src/import/tools/imageProcs/p9_ipl_build.H
diff options
context:
space:
mode:
authorRichard J. Knight <rjknight@us.ibm.com>2016-03-30 11:13:05 -0500
committerSachin Gupta <sgupta2m@in.ibm.com>2016-09-26 01:47:27 -0400
commit2f21c8cdb1b36b58a1f0f392a03f8d9ff42e4dbb (patch)
treee505af2e3478a96b9066b79d081593bfb5468909 /src/import/tools/imageProcs/p9_ipl_build.H
parentdc926fed0b3eb9dfa9dc8dfcb95273d3e81ea2df (diff)
downloadtalos-sbe-2f21c8cdb1b36b58a1f0f392a03f8d9ff42e4dbb.tar.gz
talos-sbe-2f21c8cdb1b36b58a1f0f392a03f8d9ff42e4dbb.zip
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 <pragupta@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30234 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/import/tools/imageProcs/p9_ipl_build.H')
-rw-r--r--src/import/tools/imageProcs/p9_ipl_build.H42
1 files changed, 42 insertions, 0 deletions
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
OpenPOWER on IntegriCloud