summaryrefslogtreecommitdiffstats
path: root/src/include/usr/vpd
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/vpd')
-rw-r--r--src/include/usr/vpd/vpd_if.H35
-rw-r--r--src/include/usr/vpd/vpdreasoncodes.H13
2 files changed, 48 insertions, 0 deletions
diff --git a/src/include/usr/vpd/vpd_if.H b/src/include/usr/vpd/vpd_if.H
new file mode 100644
index 000000000..184d84d40
--- /dev/null
+++ b/src/include/usr/vpd/vpd_if.H
@@ -0,0 +1,35 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/include/usr/vpd/vpd_if.H $ */
+/* */
+/* IBM CONFIDENTIAL */
+/* */
+/* COPYRIGHT International Business Machines Corp. 2013 */
+/* */
+/* 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 */
+#if !defined(__VPD_IF_H)
+#define __VPD_IF_H
+
+namespace VPD
+{
+ /**
+ * Load the runtime VPD image into memory
+ * @param[out] The physical address of the VPD image
+ * @return error handle if there was an error
+ */
+ errlHndl_t vpd_load_rt_image(uint64_t & o_vpd_addr);
+};
+#endif
diff --git a/src/include/usr/vpd/vpdreasoncodes.H b/src/include/usr/vpd/vpdreasoncodes.H
index 20be0e0f6..ac1b13c56 100644
--- a/src/include/usr/vpd/vpdreasoncodes.H
+++ b/src/include/usr/vpd/vpdreasoncodes.H
@@ -70,6 +70,12 @@ enum vpdModuleId
// Centaur FRU VPD
+ // Runtime VPD
+ VPD_RT_GET_ADDR = 0x80,
+ VPD_RT_WRITE_PNOR = 0x81,
+ VPD_BLD_RT_IMAGE = 0x82,
+ VPD_SEND_MBOX_WRITE_MESSAGE = 0x83,
+
};
/**
@@ -102,6 +108,13 @@ enum vpdReasonCode
VPD_INVALID_WRITE_METHOD = VPD_COMP_ID | 0x13,
VPD_NULL_ENTRY = VPD_COMP_ID | 0x14,
VPD_UNSUPPORTED_WRITE = VPD_COMP_ID | 0x15,
+ VPD_RT_INVALID_TYPE = VPD_COMP_ID | 0x16,
+ VPD_RT_CALL_TO_HYPR_FAILED = VPD_COMP_ID | 0x17,
+ VPD_RT_WRITE_NOT_SUPPORTED = VPD_COMP_ID | 0x18,
+ VPD_RT_NOT_INITIALIZED = VPD_COMP_ID | 0x19,
+ VPD_RT_NULL_VPD_PTR = VPD_COMP_ID | 0x1a,
+ VPD_INSUFFICIENT_SPACE_FOR_IMAGE = VPD_COMP_ID | 0x1b,
+ VPD_MBOX_NOT_SUPPORTED_RT = VPD_COMP_ID | 0x1c,
};
}; // end MVPD
OpenPOWER on IntegriCloud