| commit | 9deb078a720743055163f0a6fe4e8bdf37c56047 | [log] [tgz] |
|---|---|---|
| author | Aryk Ledet <arykledet@google.com> | Fri May 17 02:39:30 2024 +0000 |
| committer | Aryk Ledet <arykledet@google.com> | Tue May 21 20:16:49 2024 +0000 |
| tree | 740dc980934fe6a004c5b48a55e055e643575d80 | |
| parent | 712fb1094872753a08b8dc68c55cbbddc08b8105 [diff] |
Add timestamp helper function Adds a helper function to convert chrono time points into a UEFI CPER record header timestamp specification. Tested: Unit test Google-Bug-Id: 322561358 Change-Id: I75cbce7db4c6f348d96d028598f00360f4154e20 Signed-off-by: Aryk Ledet <arykledet@google.com>
This is a header-only library which provides a generic interface for users to write application specific UEFI CPER log encoders.
The UEFI specification for CPER logs allows for many combinations of Record Header and Section Descriptor properties based on the application. However, the underlying data structure does not change from application to application. To make it easier for gBMC applications to log faults in the CPER format the user only needs to specify the type of Record and Section type(s) that the encoder will need to create.