Add DIMM dbus service for MDR V2
Add all DIMM information in smbios table and provide dbus
interface for redfish to get DIMM information.
Tested:
DC cycle the system and waiting for BIOS entring setup page.
Correct DIMM information should show in Redfish.
Signed-off-by: Cheng C Yang <cheng.c.yang@linux.intel.com>
Change-Id: I8c2678c5d40f4d1fde81292b21aa94e80b0ab586
diff --git a/include/mdrv2.hpp b/include/mdrv2.hpp
index 363a004..3dfedf5 100644
--- a/include/mdrv2.hpp
+++ b/include/mdrv2.hpp
@@ -173,7 +173,9 @@
void systemInfoUpdate(void);
int getTotalCpuSlot(void);
+ int getTotalDimmSlot(void);
std::vector<std::unique_ptr<Cpu>> cpus;
+ std::vector<std::unique_ptr<Dimm>> dimms;
};
} // namespace smbios