summaryrefslogtreecommitdiffstats
path: root/src/usr/vpd/cvpd.H
diff options
context:
space:
mode:
authorBill Schwartz <whs@us.ibm.com>2015-02-27 15:41:10 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-05-21 18:00:20 -0500
commit56a2bf579633fec26b0b6afaec01314a15dddb9d (patch)
treeea9806eab8006f92437e13935a5bcb79c7cdb8a6 /src/usr/vpd/cvpd.H
parent9bd763dd507380adf58bd7d20d0c030706d6e979 (diff)
downloadtalos-hostboot-56a2bf579633fec26b0b6afaec01314a15dddb9d.tar.gz
talos-hostboot-56a2bf579633fec26b0b6afaec01314a15dddb9d.zip
Add support for backplane VPD
Replace the temporary use of mem buf to access planar vpd with new planar vpd interfaces. Change-Id: I24cda4d713806330a9f61d588006d63966f92550 RTC: 118373 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16326 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/vpd/cvpd.H')
-rw-r--r--src/usr/vpd/cvpd.H22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/usr/vpd/cvpd.H b/src/usr/vpd/cvpd.H
index e7a2d9f06..9c729c389 100644
--- a/src/usr/vpd/cvpd.H
+++ b/src/usr/vpd/cvpd.H
@@ -79,7 +79,6 @@ namespace CVPD
{ OPFR, "OPFR" },
{ VNDR, "VNDR" },
{ SPDX, "SPDX" },
- { OSYS, "OSYS" },
// -------------------------------------------------------------------
// DO NOT USE!! This is for test purposes ONLY!
{ CVPD_TEST_RECORD, "TEST" },
@@ -182,5 +181,26 @@ class CvpdFacade: public IpVpdFacade
*/
CvpdFacade( );
+ private:
+
+ /**
+ * @brief This function returns a primary and an alternate list of records
+ * that should be copied to pnor. The Alternate list is optional.
+ *
+ * @param[out] o_primaryVpdRecords - Pointer to array of VPD Records to use
+ *
+ * @param[out] o_primaryRecSize - Size of o_primaryVpdRecords array
+ *
+ * @param[out] o_altVpdRecords - Pointer to array of VPD Records to use
+ *
+ * @param[out] o_altRecSize - Size of o_altVpdRecords array
+ *
+ */
+ void getRecordLists(
+ const recordInfo* & o_primaryVpdRecords,
+ uint64_t & o_primaryRecSize,
+ const recordInfo* & o_altVpdRecords,
+ uint64_t & o_altRecSize);
+
};
#endif // __CVPD_H
OpenPOWER on IntegriCloud