efi_loader: efidebug display RNG protocol
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 27 Sep 2020 12:50:25 +0000 (14:50 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 27 Sep 2020 14:10:45 +0000 (16:10 +0200)
Add the Random Number Generator (RNG) protocol to the GUIDs that the
'efidebug dh' protocol can replace by a text.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
cmd/efidebug.c

index 9874838..5288b99 100644 (file)
@@ -9,6 +9,7 @@
 #include <common.h>
 #include <command.h>
 #include <efi_loader.h>
+#include <efi_rng.h>
 #include <exports.h>
 #include <hexdump.h>
 #include <log.h>
@@ -249,6 +250,10 @@ static const struct {
                EFI_LOAD_FILE2_PROTOCOL_GUID,
        },
        {
+               "Random Number Generator",
+               EFI_RNG_PROTOCOL_GUID,
+       },
+       {
                "Simple Network",
                EFI_SIMPLE_NETWORK_PROTOCOL_GUID,
        },