An EFI binary dmidump.efi is provided that can be used to check the SMBIOS
table for consistency and to dump it as a file.

As a prerequisite remove superfluous include from smbios.h.

v2:
        remove dm/ofnode.h from smbios.h
        fix a wrong variable usage on dmidump.efi

Heinrich Schuchardt (2):
  smbios: smbios.h should not import ofnode.h
  efi_loader: provide tool to dump SMBIOS table

 include/smbios.h            |   6 +-
 lib/efi_loader/Makefile     |   7 +
 lib/efi_loader/dmidump.c    | 595 ++++++++++++++++++++++++++++++++++++
 lib/efi_loader/efi_smbios.c |   3 +
 lib/smbios-parser.c         |   3 +
 5 files changed, 609 insertions(+), 5 deletions(-)
 create mode 100644 lib/efi_loader/dmidump.c

-- 
2.43.0

Reply via email to