History log of /openbmc/phosphor-power/names_values.hpp (Results 1 – 5 of 5)
Revision Date Author Comments
# 8c324c9c 31-May-2023 Patrick Williams <patrick@stwcx.xyz>

add cstdint include

GCC 13 adjusts the include structure such that cstdint does not end up
being included by default in many cases. Add the include whenever the
`uint*` class types are used to prev

add cstdint include

GCC 13 adjusts the include structure such that cstdint does not end up
being included by default in many cases. Add the include whenever the
`uint*` class types are used to prevent a compile failure.

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

show more ...


# ab093328 09-Oct-2019 Lei YU <mine260309@gmail.com>

Refactor: rename namespace witherspoon to phosphor

This repo now becomes phosphor-power, rename namespace witherspoon to
phosphor to make it generic.

Signed-off-by: Lei YU <mine260309@gmail.com>
Ch

Refactor: rename namespace witherspoon to phosphor

This repo now becomes phosphor-power, rename namespace witherspoon to
phosphor to make it generic.

Signed-off-by: Lei YU <mine260309@gmail.com>
Change-Id: Icb9f8a7c33065add99f2bf42ed55745a28fa0424

show more ...


# f0f02b9a 25-Oct-2018 Matt Spinler <spinler@us.ibm.com>

Start using .clang-format

Used the one from docs/style/cpp.

Change-Id: I3bdc2b353bf18a437266b362d8205b8463a9ce2b
Signed-off-by: Matt Spinler <spinler@us.ibm.com>


# 83abbd6f 25-Sep-2017 Brandon Wyman <bjwyman@gmail.com>

Add missing pragma once to top of header file

While starting to work on code that uses NamesValues I ran into a class
redefinition compile failure due to this missing line.

Change-Id: Ic8fe28a47af4

Add missing pragma once to top of header file

While starting to work on code that uses NamesValues I ran into a class
redefinition compile failure due to this missing line.

Change-Id: Ic8fe28a47af4cdefe277f2c03e78a26ab3b83c1b
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>

show more ...


# 3b090d14 08-Sep-2017 Matt Spinler <spinler@us.ibm.com>

Add helper class to handle PMBus metadata

Add a NamesValues class to help when adding multiple
PMBus registers to a single metadata entry.

It allows one to add multiple name/value pairs to
the obje

Add helper class to handle PMBus metadata

Add a NamesValues class to help when adding multiple
PMBus registers to a single metadata entry.

It allows one to add multiple name/value pairs to
the object, and provides a get() method to return them
all concatenated.

It currently supports numeric values, up to a uint64_t,
but more types could be added if ever necessary.

The resulting string will look like:
"name1=value1|name2=value2|etc"

Change-Id: I4def8ac313882a0b9efc7cb33488f19ad33f1727
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...