]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/BDS: Do not pass unnecessary option to boot option
authorRuiyu Ni <ruiyu.ni@intel.com>
Mon, 30 Nov 2015 03:08:49 +0000 (03:08 +0000)
committerniruiyu <niruiyu@Edk2>
Mon, 30 Nov 2015 03:08:49 +0000 (03:08 +0000)
commit404bd44294da1222bd9a00658456af5f9ea5dd7f
tree46e949dafe275948bfd3b39ec67dfac3cd675a18
parent81438fe8d0fc63f9bc9fcee0113baf6bd395f29c
MdeModulePkg/BDS: Do not pass unnecessary option to boot option

BDS puts a special GUID in boot option optional data for
auto-discovered boot option. But when launching that boot
option, the BDS core unconditionally pass the special GUID
to the executable.

A good written application/OS loader can ignore the unexpected
parameters, but BDS core should still avoid passing the
unnecessary GUID.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19007 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c