commands/efi: Add a command to dump all UEFI runtime variables
PATCH v7 1/1 commands/efi: Add a command to dump all UEFI runtime variables
From: Khalid Ali <[email protected]>
This command is intended to print or dump all UEFI runtime services. The structure will look like efivar tool, since visually most people are familiar with it. All uefi variables are dumped as hex no matter what data type is.
Signed-off-by Khalid Ali <[email protected]>
--- grub-core/Makefile.core.def | 6 ++ grub-core/commands/efi/lsefivar.c | 137 ++++++++++++++++++++++++++++++ 2 files changed, 143 insertions(+) create mode 100644 grub-core/commands/efi/lsefivar.c
grub-core/Makefile.core.def +6 -0
@@ -828,6 +828,12 @@ module = { enable = efi; }; +module = { + name = lsefivar; + common = commands/efi/lsefivar.c; + enable = efi; +}; + module = { name = efifwsetup; efi = commands/efi/efifwsetup.c;
grub-core/commands/efi/lsefivar.c new file +137 -0
137 lines not on this page · raw message
Signature · 7 lines
2.49.0 _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel