Correction of VPD using ECC
ECC algorithm corrects VPD data in 32:1 bit ratio in the
event of corruption.
Main Test Cases:
1) Check correction of KW in records.
2) Check correction while writing and reading VPD.
3) Check for Module VPD correction.
Signed-off-by: Giridhari Krishna <giridharikrishnan@gmail.com>
Change-Id: I48a3db18df9d3a2aecde814610ab1b357e6f310d
diff --git a/app.cpp b/app.cpp
index 07dbb45..63290de 100644
--- a/app.cpp
+++ b/app.cpp
@@ -48,7 +48,9 @@
std::istreambuf_iterator<char>());
// Parse VPD
- IpzVpdParser ipzParser(std::move(vpd), std::string{});
+ uint32_t vpdStartOffset = 0;
+ IpzVpdParser ipzParser(std::move(vpd), std::string{}, file,
+ vpdStartOffset);
auto vpdStore = std::move(std::get<Store>(ipzParser.parse()));
if (doDump)