Refine the Secure Boot UI driver to input the GUID and varstroe name when using HiiSe...
authorFu Siyuan <siyuan.fu@intel.com>
Mon, 25 Nov 2013 06:40:34 +0000 (06:40 +0000)
committersfu5 <sfu5@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 25 Nov 2013 06:40:34 +0000 (06:40 +0000)
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

SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c

index e8af62de4af26d2b73547dce6060bc77cba74e15..09116309461b447d05541bf1659b4a76c60933b5 100644 (file)
@@ -2537,7 +2537,7 @@ SecureBootCallback (
 \r
   Status = EFI_SUCCESS;\r
 \r
-  HiiGetBrowserData (NULL, NULL, BufferSize, (UINT8 *) IfrNvData);\r
+  HiiGetBrowserData (&gSecureBootConfigFormSetGuid, mSecureBootStorageName, BufferSize, (UINT8 *) IfrNvData);\r
   \r
   if (Action == EFI_BROWSER_ACTION_CHANGING) {\r
 \r
@@ -2850,7 +2850,7 @@ SecureBootCallback (
   \r
   if (!EFI_ERROR (Status)) {\r
     BufferSize = sizeof (SECUREBOOT_CONFIGURATION);\r
-    HiiSetBrowserData (NULL, NULL, BufferSize, (UINT8*) IfrNvData, NULL);\r
+    HiiSetBrowserData (&gSecureBootConfigFormSetGuid, mSecureBootStorageName, BufferSize, (UINT8*) IfrNvData, NULL);\r
   }\r
   FreePool (IfrNvData);\r
   \r