History log of /openbmc/libcper/include/libcper/Cper.h (Results 1 – 7 of 7)
Revision Date Author Comments
# ae8f6d9a 29-Jan-2025 Aushim Nagarkatti <anagarkatti@nvidia.com>

Remove validation bits

Discard invalid properties from json decode. JSON output should only
contain valid properties. This saves time in preventing post
processing of output for valid fields.

Ensur

Remove validation bits

Discard invalid properties from json decode. JSON output should only
contain valid properties. This saves time in preventing post
processing of output for valid fields.

Ensure round trip validity with validation bits removed and required
properties populated.

Fix bugs in json decode.

Overhaul unit tests to use valijson. Add tests with static examples
to validate against schema. Use and nlohmann for better schema
validation over intrinsic libcper validation.

Example json output before:
{
"ValidationBits": {
"LevelValid": false,
"CorrectedValid": true
},
"Level": 1,
"Corrected": true
}

After:
{
"Corrected": true
}

Change-Id: I188bdc2827a57d938c22a431238fadfcdc939ab8
Signed-off-by: Aushim Nagarkatti <anagarkatti@nvidia.com>

show more ...


# 1b923097 13-Dec-2024 Milton D. Miller II <mdmii@outlook.com>

Change bits to digits in comment

The string holds hex digits each representing 4 bits for total space for
64 bits on the prior line.

Change-Id: I31be090682d96c6c4cb178b99d7c0f43f8afafc4
Signed-off-

Change bits to digits in comment

The string holds hex digits each representing 4 bits for total space for
64 bits on the prior line.

Change-Id: I31be090682d96c6c4cb178b99d7c0f43f8afafc4
Signed-off-by: Milton Miller <mdmii@outlook.com>

show more ...


# c97c041e 04-Feb-2025 Ed Tanous <etanous@nvidia.com>

Apply tidy updates

Change-Id: I8ae5fd206723c8657547ee1edd0d2c4cc6940824
Signed-off-by: Ed Tanous <etanous@nvidia.com>


# 30cd66aa 18-Dec-2024 Patrick Williams <patrick@stwcx.xyz>

clang-format: re-format for clang-19

clang-format-19 isn't compatible with the clang-format-18 output, so we
need to reformat the code with the latest version. A few parameters
in clang-tidy have b

clang-format: re-format for clang-19

clang-format-19 isn't compatible with the clang-format-18 output, so we
need to reformat the code with the latest version. A few parameters
in clang-tidy have been deprecated, so adjust the style file
accordingly.

See Ie2f6eb3b043f2d655c9df806815afd7971fd0947 for updated style.
See I88192b41ab7a95599a90915013579608af7bc56f for clang-19 enablement.

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

show more ...


# cc367011 05-Dec-2024 Aushim Nagarkatti <anagarkatti@nvidia.com>

Include hex decode for human readable fields

Hexadecimal decode for some fields like deviceAddress
make sense to be represented in hex over decimal to make
scripting and human-usability easier.

Cha

Include hex decode for human readable fields

Hexadecimal decode for some fields like deviceAddress
make sense to be represented in hex over decimal to make
scripting and human-usability easier.

Change-Id: I7d0d100162bc681c3c6885ca01ed23020c3b5063
Signed-off-by: Aushim Nagarkatti <anagarkatti@nvidia.com>

show more ...


# c2558c64 13-Nov-2024 Thu Nguyen <thu@os.amperecomputing.com>

Arm: Move the definitions to Cper.h

As [1], the `sections/cper-section-myvendor.h` will include the
`cper_section_myvendor_to_ir` and `ir_section_myvendor_to_cper` APIs.
The other definitions will b

Arm: Move the definitions to Cper.h

As [1], the `sections/cper-section-myvendor.h` will include the
`cper_section_myvendor_to_ir` and `ir_section_myvendor_to_cper` APIs.
The other definitions will be in `Cper.h`. Move the definition in
`cper-section-arm.h` to `Cper.h` to follow [1].

[1] https://github.com/openbmc/libcper/blob/main/docs/OEMExtensions.md#creating-a-section-parser

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

show more ...


# e42fb487 15-Oct-2024 Thu Nguyen <thu@os.amperecomputing.com>

Change include style to use system includes

The libcper header files in `libcper` are installed to
`usr/include/libcper`. Use that system includes in `libcper` source
instead of using the project in

Change include style to use system includes

The libcper header files in `libcper` are installed to
`usr/include/libcper`. Use that system includes in `libcper` source
instead of using the project includes.

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

show more ...