#
ff3cd8e9 |
| 15-Sep-2021 |
Willy Tu <wltu@google.com> |
google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and o
google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
show more ...
|
#
a2056e9c |
| 10-Oct-2021 |
Willy Tu <wltu@google.com> |
Add Google Copyright 2021
Change-Id: I26020265613218d0c8df85b83772856bfc555e86 Signed-off-by: Willy Tu <wltu@google.com>
|
#
0e9aae5d |
| 13-Aug-2020 |
Patrick Venture <venture@google.com> |
split the commands out
Split the commands out to avoid conflicts in multiple definitions of IPMI_CC_OK, etc, in a different environment.
Signed-off-by: Patrick Venture <venture@google.com> Change-I
split the commands out
Split the commands out to avoid conflicts in multiple definitions of IPMI_CC_OK, etc, in a different environment.
Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I1f3a0214b4f6f6417a5649b0fc2d297119f8ad88
show more ...
|
#
eff1f2eb |
| 05-Aug-2020 |
Patrick Venture <venture@google.com> |
move implementation to ipmi file
Move the entrance point for the IPMI OEM handling to a separate file and pass in the handler pointer via binding.
Signed-off-by: Patrick Venture <venture@google.com
move implementation to ipmi file
Move the entrance point for the IPMI OEM handling to a separate file and pass in the handler pointer via binding.
Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I4371ebee1c252ab6e9d8a7ff2389583919ecc996
show more ...
|
#
45fad1bb |
| 18-Mar-2019 |
Patrick Venture <venture@google.com> |
style change: lowerCamel
Methods in openbmc are lowercamel.
Change-Id: I57567b66acdc1fc618f3ca7d237455d55783630c Signed-off-by: Patrick Venture <venture@google.com>
|
#
d2037c6a |
| 15-Mar-2019 |
Patrick Venture <venture@google.com> |
add handler logic to handle SysCableCheck
Add handler logic to handler for SysCableCheck such that it splits the true IPMI processing from the business logic.
Tested: Only ran unit-tests (added new
add handler logic to handle SysCableCheck
Add handler logic to handler for SysCableCheck such that it splits the true IPMI processing from the business logic.
Tested: Only ran unit-tests (added new ones). Change-Id: Ieec35cc8839dcd3cfb864b68ffbd1a45d1326fee Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|