#
56a2273f |
| 23-Oct-2020 |
Jason Ling <jasonling@google.com> |
extend file_handler to support reads Problem: the upcomming version handler will need to read from files. Currently file hander (image handler) does not support reads. Solution:
extend file_handler to support reads Problem: the upcomming version handler will need to read from files. Currently file hander (image handler) does not support reads. Solution: Add read support by providing an optional mode parameter. Tests added: FileHanderTest added to - Test out open for reads - Test out reading out bytes and verifying size and content - Test out trying to read beyond EOF - Test out offset reads that go beyond EOF Tested: Existing unit tests pass New unit tests for reading all pass Signed-off-by: Jason Ling <jasonling@google.com> Change-Id: Ie416a6b4b452d8d04fa158bd55989d07a891896f
show more ...
|
#
ded66d0f |
| 23-Oct-2020 |
Jason Ling <jasonling@google.com> |
move files around to create a common convenience library Problem: plan is to add another blob handler into ipmi-flash (ipmi-flash-version). This new handler will re-use much of the i
move files around to create a common convenience library Problem: plan is to add another blob handler into ipmi-flash (ipmi-flash-version). This new handler will re-use much of the ipmi-flash (firmware-handler) code. The common code should be presented as a convenience library to reduce code duplication. Solution: move anticipated firmware-handler specific code into the subdirectory bmc/firmware-handler and leave common code in bmc/. The end goal is to have version-handler re-use as much code as possible. Tested: rebuilt everything and ran unit tests. Signed-off-by: Jason Ling <jasonling@google.com> Change-Id: I2128da629b0ddf27b89f1faee358d1941f1dff38
show more ...
|
#
9b37b095 |
| 28-May-2020 |
Patrick Venture <venture@google.com> |
update gcc10 and clang-format10 Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I72239b884615d26b2c4311c49a26e2eced0a1fb0
|
#
d4e20de6 |
| 18-Jul-2019 |
Patrick Venture <venture@google.com> |
bmc: move from data section objs to owned Move from objects created ahead of purpose to owned objects. This is a step towards integrating with the json support. Signed-off-by:
bmc: move from data section objs to owned Move from objects created ahead of purpose to owned objects. This is a step towards integrating with the json support. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I738a5edd40724f17245911af1080c350f029fef1
show more ...
|
#
f0c71df2 |
| 26-Jun-2019 |
Patrick Venture <venture@google.com> |
move bmc code into bmc folder Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I2407359461a1a2f0e733ff8cd0cb1744b6304c32
|