From cd610e4d06765f99a5b2efecf00f3f49c82d130d Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 30 Jul 2021 12:48:36 +0200 Subject: [PATCH] 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. --- load-options.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/load-options.c b/load-options.c index e34aa3811..c6bb74276 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