]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.c
ShellPkg/DynamicCommand: Fix bug that cannot start in boot
[mirror_edk2.git] / ShellPkg / DynamicCommand / DpDynamicCommand / DpDynamicCommand.c
index 6f3997fff4063f52aa5865d12a35dd74af943f02..b10c59f49c2892db1f534ea9ef50933279ea2e79 100644 (file)
@@ -38,6 +38,7 @@ DpCommandHandler (
   )\r
 {\r
   gEfiShellParametersProtocol = ShellParameters;\r
+  gEfiShellProtocol           = Shell;\r
   return RunDp (gImageHandle, SystemTable);\r
 }\r
 \r