History log of /openbmc/libpldm/include/ (Results 201 – 212 of 212)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
a8b8a81005-Apr-2023 Andrew Jeffery <andrew@aj.id.au>

utils: Reimplement ver2str() for sanity

The dense mix of print_version_field(), snprintf() with its tricky
return semantics, and the tricky POINTER_MOVE() macro are replaced by an
implementation whe

utils: Reimplement ver2str() for sanity

The dense mix of print_version_field(), snprintf() with its tricky
return semantics, and the tricky POINTER_MOVE() macro are replaced by an
implementation where each statement directly inserts one character into
the buffer while preventing buffer overflow.

While we're reworking ver2str(), change the return type to avoid
clang-tidy's bugprone-narrowing-conversion diagnostic. This is an
API/ABI break, but it's one with low impact: The test suite declares the
variable holding the return type as `auto`, while the one ver2str() call
in the entire openbmc github org, in pldmd, immediately discards the
return value (it is never assigned).

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I11708a32019a36ea0d31229f6c91c8a75f7f22d0

show more ...

0970e33212-Jan-2023 Thu Nguyen <thu@os.amperecomputing.com>

Add day/week/month/year occurrence rate

Add day/week/month/year occurrence rate enum as section
28.11 in DSP0248.1.2.2.

Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: I6aeb920001

Add day/week/month/year occurrence rate

Add day/week/month/year occurrence rate enum as section
28.11 in DSP0248.1.2.2.

Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: I6aeb920001ed2c15fff2aeae74f227c125077d49

show more ...

d2972ef412-Jan-2023 Thu Nguyen <thu@os.amperecomputing.com>

Correct the compact numeric sensor pdr struct name

Correct pldm_compact_nummeric_sensor_pdr to
pldm_compact_numeric_sensor_pdr as section 28.25 Compact Numeric
Sensor PDR in DSP0248.1.2.2.

Signed-o

Correct the compact numeric sensor pdr struct name

Correct pldm_compact_nummeric_sensor_pdr to
pldm_compact_numeric_sensor_pdr as section 28.25 Compact Numeric
Sensor PDR in DSP0248.1.2.2.

Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: Ib4e47744e164424d94119d55c4ae5cd1b3e37426

show more ...

e20b5eaa08-Feb-2023 Patel-Kamalkumar <kamalkumar.patel@ibm.com>

Adding support for new bootprogress state

Adding new bootprogress state which indicate system firmware
or BIOS is starting the operating system at the point of time.

This new bootprogress state is

Adding support for new bootprogress state

Adding new bootprogress state which indicate system firmware
or BIOS is starting the operating system at the point of time.

This new bootprogress state is taken from
PLDM stateset(DSP0249) design spec. and stateset id is 196.

Change-Id: If45428d5f8814583840b87a3c8d61a68171a39e5
Signed-off-by: Kamalkumar Patel <kamalkumar.patel@ibm.com>

show more ...

0585de9501-Nov-2022 Thu Nguyen <thu@os.amperecomputing.com>

Add effecter aux name PDR struct

Add the definition for effecter aux name PDR struct base on "28.15
Effecter Auxiliary Names PDR" section of DSP0248 1.2.1 specification.

Signed-off-by: Thu Nguyen <

Add effecter aux name PDR struct

Add the definition for effecter aux name PDR struct base on "28.15
Effecter Auxiliary Names PDR" section of DSP0248 1.2.1 specification.

Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: I3ff170f81097eef36932cd18741fef282f790959

show more ...

1bf8c87c28-Nov-2022 Dung Cao <dung@os.amperecomputing.com>

Add encode/decode for EventMessageSupported

Added encode API for EventMessageSupported command(0x0C) which
is defined in DSP0248 Version 1.2.2 sec:16.8.

Signed-off-by: Dung Cao <dung@os.amperecompu

Add encode/decode for EventMessageSupported

Added encode API for EventMessageSupported command(0x0C) which
is defined in DSP0248 Version 1.2.2 sec:16.8.

Signed-off-by: Dung Cao <dung@os.amperecomputing.com>
Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: Id19ea795d233091841b5654164b66eea59df0806

show more ...

9a8e497528-Nov-2022 Manojkiran Eda <manojkiran.eda@gmail.com>

Fix includes using iwyu tool

These changes are done by running iwyu manually under clang14.

IWYU can increase readability, make maintenance easier, and avoid errors
in some cases. See details in
``

Fix includes using iwyu tool

These changes are done by running iwyu manually under clang14.

IWYU can increase readability, make maintenance easier, and avoid errors
in some cases. See details in
```
https: //github.com/include-what-you-use/include-what-you-use/blob/master/docs/WhyIWYU.md.
```
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: Idaaeffd78c9ad7db2b41a057d40f889ade297c55

show more ...

b7c73e5009-Nov-2022 Gilbert Chen <gilbertc@nvidia.com>

Add decode GetPDRRepositoryInfo resp API

Add decode response API for GetPDRRepositoryInfo command(0x50).
DSP0248_1.2.0 Table 67

Signed-off-by: Gilbert Chen <gilbertc@nvidia.com>
Change-Id: I000be34

Add decode GetPDRRepositoryInfo resp API

Add decode response API for GetPDRRepositoryInfo command(0x50).
DSP0248_1.2.0 Table 67

Signed-off-by: Gilbert Chen <gilbertc@nvidia.com>
Change-Id: I000be34a217499340bee60dc412ccd72530a52db

show more ...

d6ae898801-Nov-2022 Dung Cao <dung@os.amperecomputing.com>

Add encode/decode for EventMessageBufferSize

Added encode API for EventMessageBufferSize command(0x0D) which
is defined in DSP02408 Version 1.2.1 sec:16.9.

Signed-off-by: Dung Cao <dung@os.ampereco

Add encode/decode for EventMessageBufferSize

Added encode API for EventMessageBufferSize command(0x0D) which
is defined in DSP02408 Version 1.2.1 sec:16.9.

Signed-off-by: Dung Cao <dung@os.amperecomputing.com>
Change-Id: Id3f00706b3d3a1871aa6491cc0ffe2ee42597258

show more ...

0247611b01-Nov-2022 Thu Nguyen <thu@os.amperecomputing.com>

Add compact numeric sensor PDR definitions

Add compact numeric sensor PDR definitions base on section "28.25
Compact Numeric Sensor PDR" in DSP0248 1.2.1 specification.

Signed-off-by: Thu Nguyen <t

Add compact numeric sensor PDR definitions

Add compact numeric sensor PDR definitions base on section "28.25
Compact Numeric Sensor PDR" in DSP0248 1.2.1 specification.

Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>
Change-Id: I7dd6143c025a3866f9f304575e8731ff2fd5fe3f

show more ...

6c9c917218-Oct-2022 Gilbert Chen <gilbertc@nvidia.com>

Added encode API for SetTID cmd

Added encode API for SetTID command(0x01) which is defined in
DSP0240 Version 1.1.0 sec:8.1.1.

Signed-off-by: Gilbert Chen <gilbertc@nvidia.com>
Change-Id: Ia2d5c76e

Added encode API for SetTID cmd

Added encode API for SetTID command(0x01) which is defined in
DSP0240 Version 1.1.0 sec:8.1.1.

Signed-off-by: Gilbert Chen <gilbertc@nvidia.com>
Change-Id: Ia2d5c76e8ad545e794c72f5963556f1f0e6357fc

show more ...

9c76679210-Aug-2022 Andrew Jeffery <andrew@aj.id.au>

libpldm: Migrate to subproject

Organize files in libpldm to make it a subproject

In the current state, libpldm is not readily consumable
as a subproject.This commit does all the necessary re-organi

libpldm: Migrate to subproject

Organize files in libpldm to make it a subproject

In the current state, libpldm is not readily consumable
as a subproject.This commit does all the necessary re-organisation
of the source code to make it work as a subproject.

There are no .c/.h files changes in this commit, only meson
changes and re-organising the code structure.

Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I20a71c0c972b1fd81fb359d604433618799102c6

show more ...


/openbmc/libpldm/.clang-format
/openbmc/libpldm/LICENSE
libpldm/base.h
libpldm/bios.h
libpldm/bios_table.h
libpldm/entity.h
libpldm/firmware_update.h
libpldm/fru.h
libpldm/meson.build
libpldm/oem/ibm/libpldm/entity_oem_ibm.h
libpldm/oem/ibm/libpldm/file_io.h
libpldm/oem/ibm/libpldm/fru_oem_ibm.h
libpldm/oem/ibm/libpldm/host.h
libpldm/oem/ibm/libpldm/platform_oem_ibm.h
libpldm/oem/ibm/libpldm/state_set_oem_ibm.h
libpldm/pdr.h
libpldm/platform.h
libpldm/pldm.h
libpldm/pldm_types.h
libpldm/requester/pldm.h
libpldm/state_set.h
libpldm/states.h
libpldm/utils.h
/openbmc/libpldm/libpldm.pc.in
/openbmc/libpldm/meson.build
/openbmc/libpldm/meson_options.txt
/openbmc/libpldm/src/base.c
/openbmc/libpldm/src/bios.c
/openbmc/libpldm/src/bios_table.c
/openbmc/libpldm/src/firmware_update.c
/openbmc/libpldm/src/fru.c
/openbmc/libpldm/src/meson.build
/openbmc/libpldm/src/oem/ibm/file_io.c
/openbmc/libpldm/src/oem/ibm/host.c
/openbmc/libpldm/src/oem/ibm/meson.build
/openbmc/libpldm/src/oem/ibm/platform.c
/openbmc/libpldm/src/pdr.c
/openbmc/libpldm/src/platform.c
/openbmc/libpldm/src/requester/meson.build
/openbmc/libpldm/src/requester/pldm.c
/openbmc/libpldm/src/utils.c
/openbmc/libpldm/subprojects/googletest.wrap
/openbmc/libpldm/tests/.clang-format
/openbmc/libpldm/tests/libpldm_base_test.cpp
/openbmc/libpldm/tests/libpldm_bios_table_test.cpp
/openbmc/libpldm/tests/libpldm_bios_test.cpp
/openbmc/libpldm/tests/libpldm_firmware_update_test.cpp
/openbmc/libpldm/tests/libpldm_fru_test.cpp
/openbmc/libpldm/tests/libpldm_pdr_test.cpp
/openbmc/libpldm/tests/libpldm_platform_test.cpp
/openbmc/libpldm/tests/libpldm_utils_test.cpp
/openbmc/libpldm/tests/meson.build
/openbmc/libpldm/tests/oem/ibm/libpldm_fileio_test.cpp
/openbmc/libpldm/tests/oem/ibm/libpldm_host_test.cpp

123456789