diff options
| author | Stephen Cprek <smcprek@us.ibm.com> | 2014-07-07 10:24:06 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-09-15 17:14:29 -0500 |
| commit | af6b57dcb79e522d6a4e140f7952f58b3419cee1 (patch) | |
| tree | 26664810494f02ff76f4ac6955d1a017f4ddc14e /src/include/usr/hwpf | |
| parent | 574d17e95e5f640054c0e11a6fb9206e61e4bc81 (diff) | |
| download | blackbird-hostboot-af6b57dcb79e522d6a4e140f7952f58b3419cee1.tar.gz blackbird-hostboot-af6b57dcb79e522d6a4e140f7952f58b3419cee1.zip | |
Add BMC Attr override support
Change-Id: I1a42fec21189c55c75e9073527867e4e95528794
RTC: 108376
CMVC-Corec: 931324
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11995
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Tested-by: Jenkins Server
Diffstat (limited to 'src/include/usr/hwpf')
| -rwxr-xr-x | src/include/usr/hwpf/plat/fapiPlatAttrOverrideSync.H | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/include/usr/hwpf/plat/fapiPlatAttrOverrideSync.H b/src/include/usr/hwpf/plat/fapiPlatAttrOverrideSync.H index 899a90d1f..fdcee3db8 100755 --- a/src/include/usr/hwpf/plat/fapiPlatAttrOverrideSync.H +++ b/src/include/usr/hwpf/plat/fapiPlatAttrOverrideSync.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -38,10 +40,18 @@ #include <mbox/mboxif.H> #include <fapiAttributeIds.H> #include <targeting/common/attributeTank.H> +#include <pnor/pnorif.H> //****************************************************************************** // Interface //****************************************************************************** +namespace TARGETING +{ + errlHndl_t getAttrOverrides(PNOR::SectionId section, + AttributeTank* io_tanks[AttributeTank::TANK_LAYER_LAST], + uint32_t i_pnorSecOffset); +} + namespace fapi { @@ -77,6 +87,13 @@ public: friend void directOverride(); /** + * @brief Allow a attribute override to directly access the override tank + */ + friend errlHndl_t TARGETING::getAttrOverrides(PNOR::SectionId section, + TARGETING::AttributeTank* io_tanks[TARGETING::AttributeTank::TANK_LAYER_LAST], + uint32_t i_pnorSecOffset); + + /** * @brief Maximum size of a direct attribute override */ static const size_t MAX_DIRECT_OVERRIDE_ATTR_SIZE_BYTES = 64; @@ -196,6 +213,7 @@ public: const fapi::Target * const i_pTarget, const uint32_t i_size, const void * i_pVal); + private: /** |

