The protocol is used by bootloaders to obtain timestamps from
the firmware to measure boot delays (and where they originate from).

This has been tested with on the corresponding efibootguard series [1].
The corresponding EDK2 implementation has already been merged [2].

[1] https://groups.google.com/g/efibootguard-dev/c/U0SED_2Kaok
[2] https://github.com/tianocore/edk2/pull/13343

Best regards,
Felix Moessbauer
Siemens AG

Felix Moessbauer (3):
  efi_loader: implement EFI_TIMESTAMP_PROTOCOL
  efi_selftest: add test for EFI_TIMESTAMP_PROTOCOL
  doc: uefi: describe EFI_TIMESTAMP_PROTOCOL

 doc/develop/uefi/uefi.rst                 | 13 +++
 include/efi_api.h                         |  4 +
 include/efi_loader.h                      |  4 +
 include/efi_timestamp.h                   | 35 ++++++++
 lib/efi_loader/Kconfig                    |  8 ++
 lib/efi_loader/Makefile                   |  1 +
 lib/efi_loader/efi_setup.c                |  7 ++
 lib/efi_loader/efi_timestamp.c            | 79 ++++++++++++++++++
 lib/efi_selftest/Makefile                 |  1 +
 lib/efi_selftest/efi_selftest_timestamp.c | 99 +++++++++++++++++++++++
 lib/uuid.c                                |  4 +
 11 files changed, 255 insertions(+)
 create mode 100644 include/efi_timestamp.h
 create mode 100644 lib/efi_loader/efi_timestamp.c
 create mode 100644 lib/efi_selftest/efi_selftest_timestamp.c

-- 
2.55.0

Reply via email to