6 Commits
Author SHA1 Message Date
Laszlo Ersek 5e30d3e8f2 MdeModulePkg: BootManagerMenuApp: remove set but unused variables
Cc: Feng Tian <[email protected]>
Cc: Star Zeng <[email protected]>
Cc: Ruiyu Ni <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Star Zeng <[email protected]>
Reviewed-by: Feng Tian <[email protected]>
Reviewed-by: Jeff Fan <[email protected]>
(cherry picked from commit c1df8b889d)
2016-07-14 15:51:27 +08:00
Eric Dong cefcac86ca MdeModulePkg: Use PcdSet##S to replace PcdSet##
PcdSet## has no error status returned, then the caller has no idea about whether the set operation is successful or not.
PcdSet##S were added to return error status and PcdSet## APIs were put in ifndef DISABLE_NEW_DEPRECATED_INTERFACES condition.
To adopt PcdSet##S and further code development with DISABLE_NEW_DEPRECATED_INTERFACES defined, we need to Replace PcdSet## usage with PcdSet##S.

Normally, DynamicDefault PCD set is expected to be success, but DynamicHii PCD set failure is a legal case.
So for DynamicDefault, we add assert when set failure. For DynamicHii, we add logic to handle it.

Cc: Star Zeng <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <[email protected]>
Reviewed-by: Star Zeng <[email protected]>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18603 6f19259b-4bc3-4df7-8a09-765794883524
(cherry picked from commit 377680ae64)
2016-03-03 14:10:52 +08:00
Ruiyu Ni 17bcd74b03 MdeModulePkg/BootManagerMenu: Fix bug that boots to undesired option
(Sync patch r19542 from main trunk.)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <[email protected]>
Reviewed-by: Eric Dong <[email protected]>

git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@19543 6f19259b-4bc3-4df7-8a09-765794883524
2015-12-25 02:57:52 +00:00
Ruiyu Ni 25c087fae6 MdeModulePkg: Update BootManagerMenuApp to not display itself
(Sync patch r18656 from main trunk.)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <[email protected]>
Reviewed-by: Jiewen Yao <[email protected]>

git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@18804 6f19259b-4bc3-4df7-8a09-765794883524
2015-11-16 08:02:59 +00:00
Ruiyu Ni 7b3f471f9d MdeModulePkg: Add UNI files for BootManagerMenuApp application.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <[email protected]>
Reviewed-by: Liming Gao <[email protected]>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17454 6f19259b-4bc3-4df7-8a09-765794883524
2015-05-15 08:47:03 +00:00
Ruiyu Ni a382952f82 MdeModulePkg: Add BootManagerMenuApp.
BootManagerMenuApp only provides a very simple UI showing all the boot options
recorded by "BootOrder" and user can select any of them to boot.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <[email protected]>
Reviewed-by: Eric Dong <[email protected]>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17329 6f19259b-4bc3-4df7-8a09-765794883524
2015-05-06 04:49:30 +00:00