History log of /openbmc/libcper/subprojects/ (Results 1 – 3 of 3)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
cdadd23503-Oct-2024 Ed Tanous <etanous@nvidia.com>

update json-c

Wrap file from wrapdb

Tested: Code compiles

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


/openbmc/libcper/OWNERS
/openbmc/libcper/README.md
/openbmc/libcper/base64.h
/openbmc/libcper/cli-app/cper-convert.c
/openbmc/libcper/common-utils.h
/openbmc/libcper/cper-parse-str.h
/openbmc/libcper/cper-parse.c
/openbmc/libcper/cper-parse.h
/openbmc/libcper/cper-utils.c
/openbmc/libcper/cper-utils.h
/openbmc/libcper/docs/GeneratorExtensions.md
/openbmc/libcper/docs/OEMExtensions.md
/openbmc/libcper/edk/BaseTypes.h
/openbmc/libcper/edk/Cper.c
/openbmc/libcper/edk/Cper.h
/openbmc/libcper/generator/README.md
/openbmc/libcper/generator/cper-generate.h
/openbmc/libcper/generator/gen-utils.h
/openbmc/libcper/generator/sections/gen-section-ampere.c
/openbmc/libcper/generator/sections/gen-section-nvidia.c
/openbmc/libcper/generator/sections/gen-section.c
/openbmc/libcper/generator/sections/gen-section.h
/openbmc/libcper/ir-parse.c
/openbmc/libcper/json-schema.c
/openbmc/libcper/json-schema.h
/openbmc/libcper/meson.build
/openbmc/libcper/sections/cper-section-ampere.c
/openbmc/libcper/sections/cper-section-ampere.h
/openbmc/libcper/sections/cper-section-arm.h
/openbmc/libcper/sections/cper-section-ccix-per.h
/openbmc/libcper/sections/cper-section-cxl-component.h
/openbmc/libcper/sections/cper-section-cxl-protocol.h
/openbmc/libcper/sections/cper-section-dmar-generic.h
/openbmc/libcper/sections/cper-section-dmar-iommu.h
/openbmc/libcper/sections/cper-section-dmar-vtd.h
/openbmc/libcper/sections/cper-section-firmware.h
/openbmc/libcper/sections/cper-section-generic.c
/openbmc/libcper/sections/cper-section-generic.h
/openbmc/libcper/sections/cper-section-ia32x64.h
/openbmc/libcper/sections/cper-section-ipf.h
/openbmc/libcper/sections/cper-section-memory.h
/openbmc/libcper/sections/cper-section-nvidia.c
/openbmc/libcper/sections/cper-section-nvidia.h
/openbmc/libcper/sections/cper-section-pci-bus.h
/openbmc/libcper/sections/cper-section-pci-dev.h
/openbmc/libcper/sections/cper-section-pcie.h
/openbmc/libcper/sections/cper-section.c
/openbmc/libcper/sections/cper-section.h
/openbmc/libcper/specification/json/cper-json-full-log.json
/openbmc/libcper/specification/json/cper-json-section-log.json
/openbmc/libcper/specification/json/sections/cper-ampere.json
/openbmc/libcper/specification/json/sections/cper-nvidia.json
json-c.wrap
/openbmc/libcper/tests/base64_test.cpp
/openbmc/libcper/tests/ir-tests.cpp
/openbmc/libcper/tests/meson.build
/openbmc/libcper/tests/test-utils.cpp
a7d2cddd15-Jul-2024 Ed Tanous <etanous@nvidia.com>

Move to embedded base64

Base64 encode/decode is a relatively simple algorithm, and currently
libcper takes a dependency on libb64 for this. libb64 does not have
methods for determining the encoded

Move to embedded base64

Base64 encode/decode is a relatively simple algorithm, and currently
libcper takes a dependency on libb64 for this. libb64 does not have
methods for determining the encoded size or decoded size, and rely on
the user to provide the right buffer sizes, which libcper currently
approximates as 2X the input size (which is incorrect).

This commit removes the libb64 dependency entirely, and inlines a
libcper specific base64 encoder and decoder, using EDK2-allowed types.

The implementation itself is unique to libcper and makes the following
design decisions.
1. Malloc is performed within the base64_<> functions. This reduces the
number of malloc calls total, and removes the need for separately
determining the output size.
2. Arguments are passed in by EDK2-types under the assumption that this
will keep compatibility with EDK2 implementations.
3. Incremental parsing is not supported. CPER records are expected to
be algorithmically small, and buffered such that the entire value
fits in memory. This was already an assumption, but dropping the
support for incremental encoding significantly reduces the amount of
code to support it. It could be added back in the future if needed.

Change-Id: Idb010db105067ea317dbee05c2663511ab3c6611
Signed-off-by: Ed Tanous <ed@tanous.net>

show more ...


/openbmc/libcper/.clang-format
/openbmc/libcper/.clang-tidy
/openbmc/libcper/.gitignore
/openbmc/libcper/OWNERS
/openbmc/libcper/README.md
/openbmc/libcper/base64.c
/openbmc/libcper/base64.h
/openbmc/libcper/cli-app/cper-convert.c
/openbmc/libcper/common-utils.c
/openbmc/libcper/common-utils.h
/openbmc/libcper/cper-parse.c
/openbmc/libcper/cper-parse.h
/openbmc/libcper/cper-parse.i
/openbmc/libcper/cper-utils.c
/openbmc/libcper/cper-utils.h
/openbmc/libcper/docs/GeneratorExtensions.md
/openbmc/libcper/docs/OEMExtensions.md
/openbmc/libcper/edk/BaseTypes.h
/openbmc/libcper/edk/Cper.c
/openbmc/libcper/edk/Cper.h
/openbmc/libcper/generator/README.md
/openbmc/libcper/generator/cper-generate-cli.c
/openbmc/libcper/generator/cper-generate.c
/openbmc/libcper/generator/cper-generate.h
/openbmc/libcper/generator/gen-utils.c
/openbmc/libcper/generator/gen-utils.h
/openbmc/libcper/generator/sections/gen-section-arm.c
/openbmc/libcper/generator/sections/gen-section-ccix-per.c
/openbmc/libcper/generator/sections/gen-section-cxl-component.c
/openbmc/libcper/generator/sections/gen-section-cxl-protocol.c
/openbmc/libcper/generator/sections/gen-section-dmar.c
/openbmc/libcper/generator/sections/gen-section-firmware.c
/openbmc/libcper/generator/sections/gen-section-generic.c
/openbmc/libcper/generator/sections/gen-section-ia32x64.c
/openbmc/libcper/generator/sections/gen-section-memory.c
/openbmc/libcper/generator/sections/gen-section-pci-bus.c
/openbmc/libcper/generator/sections/gen-section-pci-dev.c
/openbmc/libcper/generator/sections/gen-section-pcie.c
/openbmc/libcper/generator/sections/gen-section.c
/openbmc/libcper/generator/sections/gen-section.h
/openbmc/libcper/ir-parse.c
/openbmc/libcper/json-schema.c
/openbmc/libcper/json-schema.h
/openbmc/libcper/meson.build
/openbmc/libcper/meson.options
/openbmc/libcper/sections/cper-section-arm.c
/openbmc/libcper/sections/cper-section-arm.h
/openbmc/libcper/sections/cper-section-ccix-per.c
/openbmc/libcper/sections/cper-section-ccix-per.h
/openbmc/libcper/sections/cper-section-cxl-component.c
/openbmc/libcper/sections/cper-section-cxl-component.h
/openbmc/libcper/sections/cper-section-cxl-protocol.c
/openbmc/libcper/sections/cper-section-cxl-protocol.h
/openbmc/libcper/sections/cper-section-dmar-generic.c
/openbmc/libcper/sections/cper-section-dmar-generic.h
/openbmc/libcper/sections/cper-section-dmar-iommu.c
/openbmc/libcper/sections/cper-section-dmar-iommu.h
/openbmc/libcper/sections/cper-section-dmar-vtd.c
/openbmc/libcper/sections/cper-section-dmar-vtd.h
/openbmc/libcper/sections/cper-section-firmware.c
/openbmc/libcper/sections/cper-section-firmware.h
/openbmc/libcper/sections/cper-section-generic.c
/openbmc/libcper/sections/cper-section-generic.h
/openbmc/libcper/sections/cper-section-ia32x64.c
/openbmc/libcper/sections/cper-section-ia32x64.h
/openbmc/libcper/sections/cper-section-ipf.c
/openbmc/libcper/sections/cper-section-ipf.h
/openbmc/libcper/sections/cper-section-memory.c
/openbmc/libcper/sections/cper-section-memory.h
/openbmc/libcper/sections/cper-section-pci-bus.c
/openbmc/libcper/sections/cper-section-pci-bus.h
/openbmc/libcper/sections/cper-section-pci-dev.c
/openbmc/libcper/sections/cper-section-pci-dev.h
/openbmc/libcper/sections/cper-section-pcie.c
/openbmc/libcper/sections/cper-section-pcie.h
/openbmc/libcper/sections/cper-section.c
/openbmc/libcper/sections/cper-section.h
/openbmc/libcper/specification/json/common/cper-json-error-status.json
/openbmc/libcper/specification/json/common/cper-json-nvp.json
/openbmc/libcper/specification/json/cper-json-full-log.json
/openbmc/libcper/specification/json/cper-json-header.json
/openbmc/libcper/specification/json/cper-json-section-descriptor.json
/openbmc/libcper/specification/json/cper-json-section-log.json
/openbmc/libcper/specification/json/cper-json.json
/openbmc/libcper/specification/json/sections/cper-arm-processor.json
/openbmc/libcper/specification/json/sections/cper-ccix-per.json
/openbmc/libcper/specification/json/sections/cper-cxl-component.json
/openbmc/libcper/specification/json/sections/cper-cxl-protocol.json
/openbmc/libcper/specification/json/sections/cper-firmware.json
/openbmc/libcper/specification/json/sections/cper-generic-dmar.json
/openbmc/libcper/specification/json/sections/cper-generic-processor.json
/openbmc/libcper/specification/json/sections/cper-ia32x64-processor.json
/openbmc/libcper/specification/json/sections/cper-iommu-dmar.json
/openbmc/libcper/specification/json/sections/cper-memory.json
/openbmc/libcper/specification/json/sections/cper-memory2.json
/openbmc/libcper/specification/json/sections/cper-pci-bus.json
/openbmc/libcper/specification/json/sections/cper-pci-component.json
/openbmc/libcper/specification/json/sections/cper-pcie.json
/openbmc/libcper/specification/json/sections/cper-unknown.json
/openbmc/libcper/specification/json/sections/cper-vtd-dmar.json
/openbmc/libcper/tests/base64_test.cpp
/openbmc/libcper/tests/ir-tests.cpp
/openbmc/libcper/tests/meson.build
/openbmc/libcper/tests/test-utils.cpp
/openbmc/libcper/tests/test-utils.hpp
197ea12003-May-2024 John Chung <john.chung@arm.com>

Move to meson build configuration

cmake is Deprecated

Signed-off-by: John Chung <john.chung@arm.com>
Change-Id: I9d08b087828aa5a16f601785dcb7868704ec73a3


/openbmc/libcper/.clang-format
/openbmc/libcper/.gitignore
/openbmc/libcper/LICENSE
/openbmc/libcper/README.md
/openbmc/libcper/cli-app/cper-convert.c
/openbmc/libcper/common-utils.c
/openbmc/libcper/common-utils.h
/openbmc/libcper/cper-parse.c
/openbmc/libcper/cper-parse.h
/openbmc/libcper/cper-parse.i
/openbmc/libcper/cper-utils.c
/openbmc/libcper/cper-utils.h
/openbmc/libcper/docs/GeneratorExtensions.md
/openbmc/libcper/docs/OEMExtensions.md
/openbmc/libcper/edk/BaseTypes.h
/openbmc/libcper/edk/Cper.c
/openbmc/libcper/edk/Cper.h
/openbmc/libcper/generator/README.md
/openbmc/libcper/generator/cper-generate-cli.c
/openbmc/libcper/generator/cper-generate.c
/openbmc/libcper/generator/cper-generate.h
/openbmc/libcper/generator/gen-utils.c
/openbmc/libcper/generator/gen-utils.h
/openbmc/libcper/generator/sections/gen-section-arm.c
/openbmc/libcper/generator/sections/gen-section-ccix-per.c
/openbmc/libcper/generator/sections/gen-section-cxl-component.c
/openbmc/libcper/generator/sections/gen-section-cxl-protocol.c
/openbmc/libcper/generator/sections/gen-section-dmar.c
/openbmc/libcper/generator/sections/gen-section-firmware.c
/openbmc/libcper/generator/sections/gen-section-generic.c
/openbmc/libcper/generator/sections/gen-section-ia32x64.c
/openbmc/libcper/generator/sections/gen-section-memory.c
/openbmc/libcper/generator/sections/gen-section-pci-bus.c
/openbmc/libcper/generator/sections/gen-section-pci-dev.c
/openbmc/libcper/generator/sections/gen-section-pcie.c
/openbmc/libcper/generator/sections/gen-section.c
/openbmc/libcper/generator/sections/gen-section.h
/openbmc/libcper/ir-parse.c
/openbmc/libcper/json-schema.c
/openbmc/libcper/json-schema.h
/openbmc/libcper/meson.build
/openbmc/libcper/meson.options
/openbmc/libcper/sections/cper-section-arm.c
/openbmc/libcper/sections/cper-section-arm.h
/openbmc/libcper/sections/cper-section-ccix-per.c
/openbmc/libcper/sections/cper-section-ccix-per.h
/openbmc/libcper/sections/cper-section-cxl-component.c
/openbmc/libcper/sections/cper-section-cxl-component.h
/openbmc/libcper/sections/cper-section-cxl-protocol.c
/openbmc/libcper/sections/cper-section-cxl-protocol.h
/openbmc/libcper/sections/cper-section-dmar-generic.c
/openbmc/libcper/sections/cper-section-dmar-generic.h
/openbmc/libcper/sections/cper-section-dmar-iommu.c
/openbmc/libcper/sections/cper-section-dmar-iommu.h
/openbmc/libcper/sections/cper-section-dmar-vtd.c
/openbmc/libcper/sections/cper-section-dmar-vtd.h
/openbmc/libcper/sections/cper-section-firmware.c
/openbmc/libcper/sections/cper-section-firmware.h
/openbmc/libcper/sections/cper-section-generic.c
/openbmc/libcper/sections/cper-section-generic.h
/openbmc/libcper/sections/cper-section-ia32x64.c
/openbmc/libcper/sections/cper-section-ia32x64.h
/openbmc/libcper/sections/cper-section-ipf.c
/openbmc/libcper/sections/cper-section-ipf.h
/openbmc/libcper/sections/cper-section-memory.c
/openbmc/libcper/sections/cper-section-memory.h
/openbmc/libcper/sections/cper-section-pci-bus.c
/openbmc/libcper/sections/cper-section-pci-bus.h
/openbmc/libcper/sections/cper-section-pci-dev.c
/openbmc/libcper/sections/cper-section-pci-dev.h
/openbmc/libcper/sections/cper-section-pcie.c
/openbmc/libcper/sections/cper-section-pcie.h
/openbmc/libcper/sections/cper-section.c
/openbmc/libcper/sections/cper-section.h
/openbmc/libcper/specification/document/cper-json-specification.tex
/openbmc/libcper/specification/json/common/cper-json-error-status.json
/openbmc/libcper/specification/json/common/cper-json-nvp.json
/openbmc/libcper/specification/json/cper-json-full-log.json
/openbmc/libcper/specification/json/cper-json-header.json
/openbmc/libcper/specification/json/cper-json-section-descriptor.json
/openbmc/libcper/specification/json/cper-json-section-log.json
/openbmc/libcper/specification/json/cper-json.json
/openbmc/libcper/specification/json/sections/cper-arm-processor.json
/openbmc/libcper/specification/json/sections/cper-ccix-per.json
/openbmc/libcper/specification/json/sections/cper-cxl-component.json
/openbmc/libcper/specification/json/sections/cper-cxl-protocol.json
/openbmc/libcper/specification/json/sections/cper-firmware.json
/openbmc/libcper/specification/json/sections/cper-generic-dmar.json
/openbmc/libcper/specification/json/sections/cper-generic-processor.json
/openbmc/libcper/specification/json/sections/cper-ia32x64-processor.json
/openbmc/libcper/specification/json/sections/cper-iommu-dmar.json
/openbmc/libcper/specification/json/sections/cper-memory.json
/openbmc/libcper/specification/json/sections/cper-memory2.json
/openbmc/libcper/specification/json/sections/cper-pci-bus.json
/openbmc/libcper/specification/json/sections/cper-pci-component.json
/openbmc/libcper/specification/json/sections/cper-pcie.json
/openbmc/libcper/specification/json/sections/cper-unknown.json
/openbmc/libcper/specification/json/sections/cper-vtd-dmar.json
googletest.wrap
json-c.wrap
libb64.wrap
/openbmc/libcper/tests/ir-tests.cpp
/openbmc/libcper/tests/meson.build
/openbmc/libcper/tests/test-utils.cpp
/openbmc/libcper/tests/test-utils.hpp