summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorPrachi Gupta <pragupta@us.ibm.com>2015-01-23 14:18:43 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-02-24 15:36:10 -0600
commitb908135a569ed584b12262a020664d0150e4d933 (patch)
tree695a74c1598415beefc984d27f8a7fd9713ccf2f /src/include
parentb03dc1b8e4b20a8039775e474bd9ebf2503bf48c (diff)
downloadblackbird-hostboot-b908135a569ed584b12262a020664d0150e4d933.tar.gz
blackbird-hostboot-b908135a569ed584b12262a020664d0150e4d933.zip
determine the toc locations in pnorrp and rt_pnor code
RTC: 120733 Change-Id: I5372a102ce9761a514a6f7245ca206a2226f1f3b Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15456 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/initservice/mboxRegs.H36
-rw-r--r--src/include/usr/pnor/pnor_reasoncodes.H7
2 files changed, 43 insertions, 0 deletions
diff --git a/src/include/usr/initservice/mboxRegs.H b/src/include/usr/initservice/mboxRegs.H
new file mode 100644
index 000000000..cabb4f050
--- /dev/null
+++ b/src/include/usr/initservice/mboxRegs.H
@@ -0,0 +1,36 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/include/usr/initservice/mboxRegs.H $ */
+/* */
+/* OpenPOWER HostBoot Project */
+/* */
+/* Contributors Listed Below - COPYRIGHT 2015 */
+/* [+] 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 MBOXREGS_H_
+#define MBOXREGS_H_
+
+namespace SPLESS
+{
+ const uint32_t MBOX_SCRATCH_REG0 = 0x00050038;
+ const uint32_t MBOX_SCRATCH_REG1 = 0x00050039;
+ const uint32_t MBOX_SCRATCH_REG2 = 0x0005003a;
+ const uint32_t MBOX_SCRATCH_REG3 = 0x0005003b;
+};
+
+#endif
diff --git a/src/include/usr/pnor/pnor_reasoncodes.H b/src/include/usr/pnor/pnor_reasoncodes.H
index 4857c1b2c..823f439e8 100644
--- a/src/include/usr/pnor/pnor_reasoncodes.H
+++ b/src/include/usr/pnor/pnor_reasoncodes.H
@@ -44,6 +44,7 @@ namespace PNOR
MOD_PNORRP_DIDSTARTUPFAIL = 0x09, /**< didStartupFail(rc) */
MOD_PNORRP_FLUSH = 0x0A, /**< mm_remove_pages */
MOD_PNORRP_FIXECC = 0x0B, /**< fixECC */
+ MOD_PNORRP_FINDTOC = 0x0C, /**< findTOC */
// pnorvalid.C
MOD_PNORVALID_MAIN = 0x0E, /**< validateAltMaster */
@@ -138,6 +139,12 @@ namespace PNOR
RC_NON_ECC_PROTECTED_SECTION = PNOR_COMP_ID | 0x21,
RC_WRITABLE_PERM_FAIL = PNOR_COMP_ID | 0x22,
RC_WRITE_TRACKED_PERM_FAIL = PNOR_COMP_ID | 0x23,
+ //termination_rc
+ RC_PARTITION_TABLE_NOT_FOUND = PNOR_COMP_ID | 0x24,
+ //termination_rc
+ RC_PARTITION_TABLE_CORRUPTED = PNOR_COMP_ID | 0x25,
+ //termination_rc
+ RC_FINDTOC_FAILED = PNOR_COMP_ID | 0x26,
};
enum UserDetailsTypes
OpenPOWER on IntegriCloud