mirror of https://github.com/acidanthera/audk.git
Refine the Secure Boot UI driver to input the GUID and varstroe name when using HiiSetBrowserData/HiiGetBrowserData.
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Dong, Eric <eric.dong@intel.com> Reviewed-by: Dong, Guo <guo.dong@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14897 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
59cc677cf3
commit
742d9b3a38
|
@ -2537,7 +2537,7 @@ SecureBootCallback (
|
|||
|
||||
Status = EFI_SUCCESS;
|
||||
|
||||
HiiGetBrowserData (NULL, NULL, BufferSize, (UINT8 *) IfrNvData);
|
||||
HiiGetBrowserData (&gSecureBootConfigFormSetGuid, mSecureBootStorageName, BufferSize, (UINT8 *) IfrNvData);
|
||||
|
||||
if (Action == EFI_BROWSER_ACTION_CHANGING) {
|
||||
|
||||
|
@ -2850,7 +2850,7 @@ SecureBootCallback (
|
|||
|
||||
if (!EFI_ERROR (Status)) {
|
||||
BufferSize = sizeof (SECUREBOOT_CONFIGURATION);
|
||||
HiiSetBrowserData (NULL, NULL, BufferSize, (UINT8*) IfrNvData, NULL);
|
||||
HiiSetBrowserData (&gSecureBootConfigFormSetGuid, mSecureBootStorageName, BufferSize, (UINT8*) IfrNvData, NULL);
|
||||
}
|
||||
FreePool (IfrNvData);
|
||||
|
||||
|
|
Loading…
Reference in New Issue