diff options
author | Marty Gloff <mgloff@us.ibm.com> | 2017-10-17 08:23:52 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-01-08 13:23:52 -0500 |
commit | 0a1b60c34e55018e233c64b292e16c3479d2145c (patch) | |
tree | 0595baf0046a2f7391fbf772b0e231b76b3a5f2c /src/usr/targeting/attrsync.C | |
parent | 1d862697f0b1256e7f7d1d620bf124eb2504d169 (diff) | |
download | talos-hostboot-0a1b60c34e55018e233c64b292e16c3479d2145c.tar.gz talos-hostboot-0a1b60c34e55018e233c64b292e16c3479d2145c.zip |
Concurrent code update of HBRT - Update Structure
Update Hostboot targeting data in the new targeting structure from the
current targeting data. It will have the logic to save and restore values
as appropriate.
Change-Id: I7ae4a0c2e58548f6f1a6229f40b9fda833670e86
RTC: 180908
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48504
Reviewed-by: Roland Veloz <rveloz@us.ibm.com>
Reviewed-by: Matt Derksen <mderkse1@us.ibm.com>
Reviewed-by: Brian E. Bakke <bbakke@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/targeting/attrsync.C')
-rw-r--r-- | src/usr/targeting/attrsync.C | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/usr/targeting/attrsync.C b/src/usr/targeting/attrsync.C index 4201776be..b184e9abe 100644 --- a/src/usr/targeting/attrsync.C +++ b/src/usr/targeting/attrsync.C @@ -61,6 +61,7 @@ namespace TARGETING } +#ifndef __HOSTBOOT_RUNTIME ATTR_SYNC_RC AttributeSync::updateSectionData() const { TARG_INF( ENTER_MRK "AttributeSync::updateSectionData - " @@ -90,6 +91,23 @@ namespace TARGETING return l_rc; } +#else + std::vector<TARGETING::sectionRefData> AttributeSync::syncSectionFromAttrRP( + TARGETING::SECTION_TYPE i_section_to_sync) + { + iv_section_to_sync = i_section_to_sync; + + do + { + // set up the pointers to the data area + getSectionData(); + } while(0); + + return iv_pages; + } +#endif + +#ifndef __HOSTBOOT_RUNTIME errlHndl_t AttributeSync::syncSectionToFsp( TARGETING::SECTION_TYPE i_section_to_sync ) { @@ -625,6 +643,7 @@ namespace TARGETING TARG_INF( EXIT_MRK "syncAllAttributesFromFsp" ); return l_errl; } +#endif }; // end namespace |