commit | 44e66844e1d38fa9afe2e13f2993ceb03f3dcee5 | [log] [tgz] |
---|---|---|
author | Unive Tien <unive.tien.wiwynn@gmail.com> | Fri Jul 25 09:15:34 2025 +0000 |
committer | Unive Tien <unive.tien.wiwynn@gmail.com> | Fri Jul 25 09:16:10 2025 +0000 |
tree | 0057896f9e665fb7e913f941cf87d1d04448278e | |
parent | 16eeccc01c7e24a964292cee8d844f6628b14e5e [diff] |
abi: Re-generate gcc.dump for gcc-15 This commit re-generated the `gcc.dump` file due to gcc version migration. Change-Id: Ia686e4c1000ce830b82870111113f2c2addce506 Signed-off-by: Unive Tien <unive.tien.wiwynn@gmail.com>
This is a library which deals with the encoding and decoding of PLDM messages. It should be possible to use this library by projects other than OpenBMC, and hence certain constraints apply to it:
Source files are named according to the PLDM Type, for eg base.[h/c], fru.[h/c], etc.
Given a PLDM command "foo", the library will provide the following API: For the Requester function:
encode_foo_req() - encode a foo request decode_foo_resp() - decode a response to foo
For the Responder function:
decode_foo_req() - decode a foo request encode_foo_resp() - encode a response to foo
The library also provides API to pack and unpack PLDM headers.
libpldm
is configured and built using meson
. Python's pip
or pipx
can be used to install a recent version on your machine:
pipx install meson
Once meson
is installed:
meson setup build && meson compile -C build
meson test -C build
libpldm
Components of the library ABI[^1] (loosely, functions) are separated into three categories:
[^1]: "library API + compiler ABI = library ABI"
Applications depending on libpldm
should aim to only use functions from the stable category. However, this may not always be possible. What to do when required functions fall into the deprecated or testing categories is discussed in CONTRIBUTING.