diff options
author | Elizabeth Liner <eliner@us.ibm.com> | 2017-07-12 16:11:39 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-08-04 09:52:27 -0400 |
commit | 8a8925f6eeb973ebc46a1bac8ae1f3923cbee991 (patch) | |
tree | 335a76b2808ce8f4ea1c908d8716b2e30115578f /src/usr/vpd/ipvpd.H | |
parent | 842ef4363d9821d61803358c0f9f57e560728806 (diff) | |
download | talos-hostboot-8a8925f6eeb973ebc46a1bac8ae1f3923cbee991.tar.gz talos-hostboot-8a8925f6eeb973ebc46a1bac8ae1f3923cbee991.zip |
MEMD base commit - initial infrastructure for MEMD
Change-Id: Ib8f6b15bfef51ed29529eec957d5352f5f3295fd
RTC:175158
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43507
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/vpd/ipvpd.H')
-rw-r--r-- | src/usr/vpd/ipvpd.H | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/src/usr/vpd/ipvpd.H b/src/usr/vpd/ipvpd.H index e4c416238..299233eac 100644 --- a/src/usr/vpd/ipvpd.H +++ b/src/usr/vpd/ipvpd.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2013,2015 */ +/* Contributors Listed Below - COPYRIGHT 2013,2017 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -378,7 +378,7 @@ class IpVpdFacade * * @return bool - True if the record is found, False otherwise. */ - bool recordPresent( const char * i_record, + virtual bool recordPresent( const char * i_record, uint16_t & offset, TARGETING::Target * i_target, VPD::vpdCmdTarget i_location ); @@ -719,6 +719,24 @@ class IpVpdFacade const recordInfo* iv_vpdRecords; /** + * @brief Returns the cached pnor address + * + */ + inline static uint64_t getPnorAddr(const IpVpdFacade& x) + { + return x.iv_cachePnorAddr; + } + + /** + * @brief Set the cached pnor address to the given value + * + */ + inline void setPnorAddr(uint64_t i_pnorAddr) + { + this->iv_cachePnorAddr = i_pnorAddr; + } + + /** * @brief Number of VPD Records for current chip * */ |