diff options
Diffstat (limited to 'src/include/usr/targeting/common/attributeTank.H')
| -rw-r--r-- | src/include/usr/targeting/common/attributeTank.H | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/include/usr/targeting/common/attributeTank.H b/src/include/usr/targeting/common/attributeTank.H index ff89ab5fc..94cb69716 100644 --- a/src/include/usr/targeting/common/attributeTank.H +++ b/src/include/usr/targeting/common/attributeTank.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,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. */ @@ -33,6 +35,7 @@ #include <list> #include <vector> #include <targeting/adapters/mutexadapter.H> +#include <targeting/common/error.H> namespace TARGETING { @@ -81,6 +84,8 @@ public: TANK_LAYER_NONE, TANK_LAYER_FAPI, TANK_LAYER_TARG, + TANK_LAYER_PERM, + TANK_LAYER_LAST = TANK_LAYER_PERM, }; /** @@ -155,6 +160,9 @@ public: uint8_t * iv_pAttributes; // Pointer to chunk of memory }; + + typedef std::vector<AttributeTank::AttributeSerializedChunk> + AttributeSerializedChunks_t; /** * @brief Default constructor */ @@ -337,6 +345,15 @@ public: */ virtual bool attributeExists(const uint32_t i_attrId) const; + /** + * @brief This function writes attributes in an AttributeTank to targeting + * + * This is called for the permanent AttributeTank in getAttrOverrides() + * + * @return errlHndl_t Error log handle. + */ + errlHndl_t writePermAttributes(); + private: // Copy constructor and assignment operator disabled AttributeTank(const AttributeTank & i_right); |

