From 56a2bf579633fec26b0b6afaec01314a15dddb9d Mon Sep 17 00:00:00 2001 From: Bill Schwartz Date: Fri, 27 Feb 2015 15:41:10 -0600 Subject: 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 --- src/usr/vpd/cvpd.H | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'src/usr/vpd/cvpd.H') 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 -- cgit v1.2.1