Skip to content

Commit

Permalink
shim: Dump load options in verbose mode
Browse files Browse the repository at this point in the history
Dump the load options before parsing them so that we can
see which things are failing to parse.
  • Loading branch information
julian-klode committed Sep 14, 2021
1 parent 7dbd0f2 commit cd610e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions load-options.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd610e4

Please sign in to comment.