History log of /openbmc/phosphor-ipmi-blobs/utils.cpp (Results 1 – 11 of 11)
Revision Date Author Comments
# f1161dd0 19-Dec-2024 Jayanth Othayoth <ojayanth@gmail.com>

clang-tidy: Replace NULL with nullptr

Replaced all instances of NULL with nullptr to improve type safety
and clarity, as nullptr is the modern C++ standard for null pointers.

Tested: Build verified

clang-tidy: Replace NULL with nullptr

Replaced all instances of NULL with nullptr to improve type safety
and clarity, as nullptr is the modern C++ standard for null pointers.

Tested: Build verified

Change-Id: Ib39f49b2a1239082eeac355234a65d7257031f10
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>

show more ...


# 52509572 10-May-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

Change-Id: I86d194886a4dcd325364041d4c7745f4ea22fd65
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# 3ccee07b 15-Jun-2021 William A. Kennington III <wak@google.com>

utils: Make loader more lenient

Loaded modules tend to be unversioned, so we shouldn't enforce that they
have a version suffix.

Change-Id: I9e7a02ea841b7c0634c84718c46707f087ee86ae
Signed-off-by: W

utils: Make loader more lenient

Loaded modules tend to be unversioned, so we shouldn't enforce that they
have a version suffix.

Change-Id: I9e7a02ea841b7c0634c84718c46707f087ee86ae
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


# 766beb3f 16-Jun-2021 William A. Kennington III <wak@google.com>

utils: Deduplicate library loading

This prevents us from accidentally initializing a blob module twice.

Change-Id: Iee4dea66962f3a5a376a72ae22f3fca69b33264f
Signed-off-by: William A. Kennington III

utils: Deduplicate library loading

This prevents us from accidentally initializing a blob module twice.

Change-Id: Iee4dea66962f3a5a376a72ae22f3fca69b33264f
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


# c7c941d9 08-Dec-2020 Patrick Venture <venture@google.com>

continue loading libraries if factory excepts

If one of the blob handler factories throws an exception, it would stop
processing. If the first one it tried failed, then none would load.
This change

continue loading libraries if factory excepts

If one of the blob handler factories throws an exception, it would stop
processing. If the first one it tried failed, then none would load.
This changes that behavior such that such errors are logged. If a
platform is using a blob handler for firmware updates and the firmware
update breaks the ability for future updates by breaking a library that
loads before it, that is now avoided.

Tested: Ran on qemu with broken blob handler factory and before no blobs
were listed, and now all the other blobs were listed.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Ief2999a200708cfab0442aacb5a9056f3aa07260

show more ...


# cd8dab49 15-Jan-2019 Patrick Venture <venture@google.com>

stop installing manager header

Stop installing the manager header as it is no longer meant to be
exported, but rather used only internally within this repository.

Change-Id: I2ab21a31fd745e1b3e36fc

stop installing manager header

Stop installing the manager header as it is no longer meant to be
exported, but rather used only internally within this repository.

Change-Id: I2ab21a31fd745e1b3e36fc39ffea5e26d373ff51
Signed-off-by: Patrick Venture <venture@google.com>

show more ...


# c18e2b64 21-Nov-2018 Patrick Venture <venture@google.com>

add dynamic library interface to enable testing

Add interface defining the methods for dynamic linking to enable
testing.

Change-Id: If4d090d3cedc019b426435a1f651191803bfc1a9
Signed-off-by: Patrick

add dynamic library interface to enable testing

Add interface defining the methods for dynamic linking to enable
testing.

Change-Id: If4d090d3cedc019b426435a1f651191803bfc1a9
Signed-off-by: Patrick Venture <venture@google.com>

show more ...


# c0fe5cd1 21-Nov-2018 Patrick Venture <venture@google.com>

copyright: add missing copyright headers

Add missing copyright headers to the source files. Originally, left
off. Reviewing other new sources acted as a reminder.

Change-Id: I7ac612fbea731885b93c

copyright: add missing copyright headers

Add missing copyright headers to the source files. Originally, left
off. Reviewing other new sources acted as a reminder.

Change-Id: I7ac612fbea731885b93cb13346afcddda54bdec3
Signed-off-by: Patrick Venture <venture@google.com>

show more ...


# 6c415c67 14-Nov-2018 Patrick Venture <venture@google.com>

bugfix: load handlers and use factory symbol

Use a predefined factory symbol to build each handler after loading the
library.

Change-Id: I0369c6e46a57c2e8533409d8b06eb74a3962434c
Signed-off-by: Pat

bugfix: load handlers and use factory symbol

Use a predefined factory symbol to build each handler after loading the
library.

Change-Id: I0369c6e46a57c2e8533409d8b06eb74a3962434c
Signed-off-by: Patrick Venture <venture@google.com>

show more ...


# 1d5cccb5 13-Nov-2018 Patrick Venture <venture@google.com>

bugfix: flip library search logic

Fix library search logic to load libraries installed of the format:
libname.so.? versus libname.so because the recipe creates a symlink of
the form libname.so.? onl

bugfix: flip library search logic

Fix library search logic to load libraries installed of the format:
libname.so.? versus libname.so because the recipe creates a symlink of
the form libname.so.? only.

Tested: Now it finds and loads the handlers.
Change-Id: Ie7280f41a678bf78db226bb458c02396e352da56
Signed-off-by: Patrick Venture <venture@google.com>

show more ...


# 4dc584db 27-Sep-2018 Patrick Venture <venture@google.com>

utils: add methods for finding and loading handlers

This module provides a couple basic methods for enumerating and then
loading handlers.

Change-Id: I4f58be313190c48de25c2b9578b7c622afefc656
Signe

utils: add methods for finding and loading handlers

This module provides a couple basic methods for enumerating and then
loading handlers.

Change-Id: I4f58be313190c48de25c2b9578b7c622afefc656
Signed-off-by: Patrick Venture <venture@google.com>

show more ...