Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: b6f07bdd2af6d28178d6c23bd1931c9baec89107
      
https://github.com/tianocore/edk2/commit/b6f07bdd2af6d28178d6c23bd1931c9baec89107
  Author: Dandan Bi <dandan...@intel.com>
  Date:   2016-10-19 (Wed, 19 Oct 2016)

  Changed paths:
    M MdeModulePkg/Universal/SetupBrowserDxe/Setup.c

  Log Message:
  -----------
  MdeModulePkg/SetupBrowser: Send discard info to driver when fail to submit

When fail to submit data and user discard the change, we should send
the discard info to driver with EFI_BROWSER_ACTION_CHANGED callback.

Cc: Liming Gao <liming....@intel.com>
Cc: Eric Dong <eric.d...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan...@intel.com>
Reviewed-by: Liming Gao <liming....@intel.com>


  Commit: a3475fe0de2e085c73733758026df010b5a6b8ad
      
https://github.com/tianocore/edk2/commit/a3475fe0de2e085c73733758026df010b5a6b8ad
  Author: Dandan Bi <dandan...@intel.com>
  Date:   2016-10-19 (Wed, 19 Oct 2016)

  Changed paths:
    M MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c
    M MdeModulePkg/Library/BootMaintenanceManagerUiLib/UpdatePage.c

  Log Message:
  -----------
  MdeModulePkg/BMMUI: Update TerminalMenu and ConsoleMenu in callback

In current codes, When user does some change related to Console or Terminal,
when saving data, it will update the content in TerminalMenu and ConsoleMenu
in BootMaintRouteConfig function. This patch moves the update action to the
BootMaintCallback function with EFI_BROWSER_ACTION_CHANGED type.
The reason for this change is: in BootMaintRouteConfig function when
Var_UpdateConsoleXXXOption() return failure and user discard the previous
change, we should re_update the content in the TerminalMenu and ConsoleMenu.
So we move the update action to the changed callback.

Cc: Laszlo Ersek <ler...@redhat.com>
Cc: Liming Gao <liming....@intel.com>
Cc: Eric Dong <eric.d...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan...@intel.com>
Reviewed-by: Eric Dong <eric.d...@intel.com>


  Commit: 9ec24f5f7322402e8ac5ba0501cd271dd17bf237
      
https://github.com/tianocore/edk2/commit/9ec24f5f7322402e8ac5ba0501cd271dd17bf237
  Author: Dandan Bi <dandan...@intel.com>
  Date:   2016-10-19 (Wed, 19 Oct 2016)

  Changed paths:
    M MdeModulePkg/Library/BootMaintenanceManagerUiLib/UpdatePage.c

  Log Message:
  -----------
  MdeModulePkg/BMMUI: Remove the incorrect and useless codes

When updating console page, the "ConsoleCheck" in BmmFakeNvData may maintain
the old uncommitted data, we should not copy it to BmmOldFakeNVData.
And in BootMaintRouteConfig function, when save data successfully,
it will copy the BmmFakeNvData to the BmmOldFakeNVData.
So we can delete the logic here.

Cc: Laszlo Ersek <ler...@redhat.com>
Cc: Liming Gao <liming....@intel.com>
Cc: Eric Dong <eric.d...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan...@intel.com>
Reviewed-by: Eric Dong <eric.d...@intel.com>


  Commit: 7880f73a8e89f482c61e181861997331baf37857
      
https://github.com/tianocore/edk2/commit/7880f73a8e89f482c61e181861997331baf37857
  Author: Dandan Bi <dandan...@intel.com>
  Date:   2016-10-19 (Wed, 19 Oct 2016)

  Changed paths:
    M MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c
    M MdeModulePkg/Library/BootMaintenanceManagerUiLib/UpdatePage.c

  Log Message:
  -----------
  MdeModulePkg/BMMUI: Make the BmmFakeNvData and BmmOldFakeNVData consistent

In BootMaintRouteConfig function, it will compare the data in BmmFakeNvData
and BmmOldFakeNVData to see whether there are some changes need to save.
In current codes when discarding changes or removing the useless changes,
it will update the related fields in BmmFakeNvData.
But also need to update related fields in BmmOldFakeNVData,
or it will result in incorrect comparison in BootMaintRouteConfig function,
then resulting in incorrect UI behaviors.

Cc: Laszlo Ersek <ler...@redhat.com>
Cc: Liming Gao <liming....@intel.com>
Cc: Eric Dong <eric.d...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan...@intel.com>
Reviewed-by: Eric Dong <eric.d...@intel.com>


  Commit: 2c30541a197b2204f941bfa47a01dc4d4d57ab5a
      
https://github.com/tianocore/edk2/commit/2c30541a197b2204f941bfa47a01dc4d4d57ab5a
  Author: Dandan Bi <dandan...@intel.com>
  Date:   2016-10-19 (Wed, 19 Oct 2016)

  Changed paths:
    M MdeModulePkg/Library/BootMaintenanceManagerUiLib/UpdatePage.c

  Log Message:
  -----------
  MdeModulePkg/BMMUI: Show "Change Boot/Driver order" page correctly

When user enter the "Change Boot Order" page, the BootOptionOrder in
BmmFakeNvData may maintain some uncommitted data which are not saved
in "BootOrder" Variable and BootOptionMenu. So we should not always get
the BootOptionOrder through the function GetBootOrder, it will
result in incorrect UI behaviors. When the BootOptionOrder has not been
saved, we should use the BootOptionOrder in current BmmFakeNvData.

Cc: Laszlo Ersek <ler...@redhat.com>
Cc: Liming Gao <liming....@intel.com>
Cc: Eric Dong <eric.d...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan...@intel.com>
Reviewed-by: Eric Dong <eric.d...@intel.com>


  Commit: 201fbce6fbc69ebb53cc5b1b263059051e561e86
      
https://github.com/tianocore/edk2/commit/201fbce6fbc69ebb53cc5b1b263059051e561e86
  Author: Dandan Bi <dandan...@intel.com>
  Date:   2016-10-19 (Wed, 19 Oct 2016)

  Changed paths:
    M MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c
    M MdeModulePkg/Library/BootMaintenanceManagerUiLib/Variable.c

  Log Message:
  -----------
  MdeModulePkg/BMMUI: Add error handling codes

The function which handles the "Boot####", "BootOrder" ...
may return failure. This patch adds the error handling codes.
return the failure info to browser.

Cc: Laszlo Ersek <ler...@redhat.com>
Cc: Liming Gao <liming....@intel.com>
Cc: Eric Dong <eric.d...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan...@intel.com>
Reviewed-by: Eric Dong <eric.d...@intel.com>


Compare: https://github.com/tianocore/edk2/compare/dff49edc2b95...201fbce6fbc6
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to