oem-ibm: add readFileByType handler
Add a handler for file type 'LID', to be able to read LID files over the
LPC channel.
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Change-Id: I9db77f78b0aa4e289fb0ab940121569b431f4dfe
diff --git a/oem/ibm/libpldmresponder/file_io_type_pel.hpp b/oem/ibm/libpldmresponder/file_io_type_pel.hpp
index 4c79452..d2fb5cc 100644
--- a/oem/ibm/libpldmresponder/file_io_type_pel.hpp
+++ b/oem/ibm/libpldmresponder/file_io_type_pel.hpp
@@ -25,8 +25,9 @@
virtual int writeFromMemory(uint32_t offset, uint32_t length,
uint64_t address);
- virtual int readIntoMemory(uint32_t offset, uint32_t length,
+ virtual int readIntoMemory(uint32_t offset, uint32_t& length,
uint64_t address);
+ virtual int read(uint32_t offset, uint32_t& length, Response& response);
/** @brief method to store a pel file in tempfs and send
* d-bus notification to pel daemon that it is ready for consumption