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/vpd-parser/ipz_parser.cpp b/vpd-parser/ipz_parser.cpp
index 4f2b30e..d923aa6 100644
--- a/vpd-parser/ipz_parser.cpp
+++ b/vpd-parser/ipz_parser.cpp
@@ -15,14 +15,14 @@
std::variant<kwdVpdMap, Store> IpzVpdParser::parse()
{
- Impl p(vpd, inventoryPath);
+ Impl p(vpd, inventoryPath, vpdFilePath, vpdStartOffset);
Store s = p.run();
return s;
}
void IpzVpdParser::processHeader()
{
- Impl p(vpd, inventoryPath);
+ Impl p(vpd, inventoryPath, vpdFilePath, vpdStartOffset);
p.checkVPDHeader();
}
@@ -34,4 +34,4 @@
} // namespace parser
} // namespace ipz
} // namespace vpd
-} // namespace openpower
+} // namespace openpower
\ No newline at end of file