diff mbox series

[1/1] efi_loader: efidebug display RNG protocol

Message ID 20200927130625.51893-1-xypron.glpk@gmx.de
State Accepted, archived
Commit 796933510f84c1a29b1ef104d0962db6c0b7589c
Delegated to: Heinrich Schuchardt
Headers show
Series [1/1] efi_loader: efidebug display RNG protocol | expand

Commit Message

Heinrich Schuchardt Sept. 27, 2020, 1:06 p.m. UTC
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 | 5 +++++
 1 file changed, 5 insertions(+)

--
2.28.0
diff mbox series

Patch

diff --git a/cmd/efidebug.c b/cmd/efidebug.c
index 9874838b00..5288b9920b 100644
--- a/cmd/efidebug.c
+++ b/cmd/efidebug.c
@@ -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>
@@ -248,6 +249,10 @@  static const struct {
 		"Load File2",
 		EFI_LOAD_FILE2_PROTOCOL_GUID,
 	},
+	{
+		"Random Number Generator",
+		EFI_RNG_PROTOCOL_GUID,
+	},
 	{
 		"Simple Network",
 		EFI_SIMPLE_NETWORK_PROTOCOL_GUID,