diff options
Diffstat (limited to 'src/include/usr/hwas/hwasPlatDeconfigGard.H')
-rw-r--r-- | src/include/usr/hwas/hwasPlatDeconfigGard.H | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/include/usr/hwas/hwasPlatDeconfigGard.H b/src/include/usr/hwas/hwasPlatDeconfigGard.H index 4b89353fd..c439a4215 100644 --- a/src/include/usr/hwas/hwasPlatDeconfigGard.H +++ b/src/include/usr/hwas/hwasPlatDeconfigGard.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2015 */ +/* [+] 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. */ @@ -30,6 +32,8 @@ #ifndef HWASPLATDECONFIGGARD_H_ #define HWASPLATDECONFIGGARD_H_ +#include <pnor/pnorif.H> + /** * @brief Adapt common singleton declaration to specific platform * @@ -64,6 +68,19 @@ struct HBDeconfigGard void *iv_pGardRecords; // Pointer to the GARD Records in PNOR }; +/** + * @brief Gets iv_gardSectionInfo and sets it if first time called. + * Sets o_sectionInfo based on iv_gardSectionInfo for the caller + * + * @param[out] Guard PNOR section info + * + * @return errlHndl_t Error log handle, depending on config options will + * ignore error because no Guard section exists in PNOR + * (e.g. CONFIG_GOLDEN_PNOR_SIDE_SUPPORT) + * + */ +errlHndl_t getGardSectionInfo(PNOR::SectionInfo_t& o_sectionInfo); + } // namespace HWAS #endif // HWASPLATDECONFIGGARD_H_ |