PLDM: System specific BIOS attributes
This commit adds code to populate BIOS attributes
based on the system type that is the platform.
The BIOS Jsons are installed based on the platform/
system type. The system type is populated by entity
manager.
TESTED on hardware across different platform/system type.
On systems where the compatible system interface is not
implemented or entity manager not running, then the BIOS
Jsons with default values are installed.
Signed-off-by: Sagar Srinivas <sagar.srinivas@ibm.com>
Change-Id: I179dad34537ed0d1fb263584d687a1b8cb64c335
diff --git a/common/test/mocked_utils.hpp b/common/test/mocked_utils.hpp
index f8f3665..71bc6e7 100644
--- a/common/test/mocked_utils.hpp
+++ b/common/test/mocked_utils.hpp
@@ -7,7 +7,6 @@
{
namespace utils
{
-
/** @brief helper function for parameter matching
* @param[in] lhs - left-hand side value
* @param[in] rhs - right-hand side value
@@ -36,4 +35,8 @@
MOCK_METHOD(pldm::utils::PropertyValue, getDbusPropertyVariant,
(const char*, const char*, const char*), (const override));
+
+ MOCK_METHOD(pldm::utils::GetSubTreeResponse, getSubtree,
+ (const std::string&, int, const std::vector<std::string>&),
+ (const override));
};