summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2021-07-30 12:48:36 +0200
committerPeter Jones <pjones@redhat.com>2021-09-14 11:19:58 -0400
commite54e5858844242d2900a036af07cef9e3bff8d02 (patch)
treeb9b7406e1210b182d4728eeb23b87f74adee8b75
parent50732ee914f23df541c77ffd83c3c1921249130d (diff)
downloadefi-boot-shim-e54e5858844242d2900a036af07cef9e3bff8d02.tar.gz
efi-boot-shim-e54e5858844242d2900a036af07cef9e3bff8d02.zip
shim: Dump load options in verbose mode
Dump the load options before parsing them so that we can see which things are failing to parse.
-rw-r--r--load-options.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/load-options.c b/load-options.c
index e34aa381..c6bb7427 100644
--- a/load-options.c
+++ b/load-options.c
@@ -310,6 +310,9 @@ parse_load_options(EFI_LOADED_IMAGE *li)
UINT32 remaining_size;
CHAR16 *loader_str = NULL;
+ dprint(L"full load options:\n");
+ dhexdumpat(li->LoadOptions, li->LoadOptionsSize, 0);
+
/*
* Sanity check since we make several assumptions about the length
* Some firmware feeds the following load option when booting from