]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c
MdeModulePkg: Make boot option description unique
authorRuiyu Ni <ruiyu.ni@intel.com>
Sun, 26 Jul 2015 08:07:15 +0000 (08:07 +0000)
committerjljusten <jljusten@Edk2>
Sun, 26 Jul 2015 08:07:15 +0000 (08:07 +0000)
commitd948fe96a570b610383111df87076e75188694d4
treea1e7e2146f592d91927003ec3ba37cb15e034a34
parent1999fb3180054c98a1bb2e7c9823106c4e1da83e
MdeModulePkg: Make boot option description unique

When there are multiple network boot options, user will see multiple
"UEFI Network" boot options. It's hard to distinguish them using the
description.
The patch enhances the boot option generation logic to append " 2"
/" 3"/" 4"/... number suffix to the non-first network boot options.
So the 2nd one becomes "UEFI Network 2".

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