]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/Bds/Bds.c
ArmPlatformPkg: Print arguments for EFI Application
[mirror_edk2.git] / ArmPlatformPkg / Bds / Bds.c
index 2888843058afc4f06765eb82eaa45c615ba9dfcb..fa9dfbafc429d6839aff6ebf950e17cac8872683 100644 (file)
@@ -321,8 +321,8 @@ DefineDefaultBootEntries (
 \r
         OptionalData = (UINT8*)BootArguments;\r
       } else {\r
-        OptionalData = NULL;\r
-        OptionalDataSize = 0;\r
+        OptionalData = (UINT8*)DefaultBootArgument;\r
+        OptionalDataSize = CmdLineSize;\r
       }\r
 \r
       BootOptionCreate (LOAD_OPTION_ACTIVE | LOAD_OPTION_CATEGORY_BOOT,\r