History log of /openbmc/bios-bmc-smm-error-logger/include/data_interface.hpp (Results 1 – 2 of 2)
Revision Date Author Comments
# 35d4335e 16-Jun-2022 Brandon Kim <brandonkim@google.com>

buffer: bugfix (v2) consolidate the offset and readptr

- It didn't make sense to make the user keep count of the different
types of read pointers, instead do the relative calculation at the
lowe

buffer: bugfix (v2) consolidate the offset and readptr

- It didn't make sense to make the user keep count of the different
types of read pointers, instead do the relative calculation at the
lowest level (wraparoundRead)
- Added further tests to prove out that readPtr is being updated
properly in wraparoundRead)
- Fixed wraparoundRead, as it was relying on the dataInterface->read to
read until the "end". The "end" was fixed in the bugfix #1 to be the
end of the queue instead of the mmaped buffer.
- took out addtionalBoundaryCheck from wraparoundRead, as it was no
longer needed

Tested: Unit tested

Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I101360223597d197362dc1dbe4a27601da09933f

show more ...


# 1d0c3566 06-Jun-2022 Brandon Kim <brandonkim@google.com>

Split DataInterface from pci_handler.hpp

In case we add more data interface in the future, we should be
separating out the DataInterface class from the pci_handler.hpp

Signed-off-by: Brandon Kim <b

Split DataInterface from pci_handler.hpp

In case we add more data interface in the future, we should be
separating out the DataInterface class from the pci_handler.hpp

Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I220b293a3daf1f7aa0ef2daf07c2ef48026be8c0

show more ...