Revision: 14897
          http://sourceforge.net/p/edk2/code/14897
Author:   sfu5
Date:     2013-11-25 06:40:34 +0000 (Mon, 25 Nov 2013)
Log Message:
-----------
Refine the Secure Boot UI driver to input the GUID and varstroe name when using 
HiiSetBrowserData/HiiGetBrowserData.

Signed-off-by: Fu Siyuan <[email protected]>
Reviewed-by: Dong, Eric <[email protected]>
Reviewed-by: Dong, Guo <[email protected]>

Modified Paths:
--------------
    
trunk/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c

Modified: 
trunk/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c
===================================================================
--- 
trunk/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c
     2013-11-25 06:20:18 UTC (rev 14896)
+++ 
trunk/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c
     2013-11-25 06:40:34 UTC (rev 14897)
@@ -2537,7 +2537,7 @@
 
   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 @@
   
   if (!EFI_ERROR (Status)) {
     BufferSize = sizeof (SECUREBOOT_CONFIGURATION);
-    HiiSetBrowserData (NULL, NULL, BufferSize, (UINT8*) IfrNvData, NULL);
+    HiiSetBrowserData (&gSecureBootConfigFormSetGuid, mSecureBootStorageName, 
BufferSize, (UINT8*) IfrNvData, NULL);
   }
   FreePool (IfrNvData);
   

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to