]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/Utility.c
1) Fix a bug of DefaultVarStoreId of the Form Set should be used when Framework IfrSu...
[mirror_edk2.git] / EdkCompatibilityPkg / Compatibility / FrameworkHiiToUefiHiiThunk / Utility.c
index ca870990e18a286eac72010e1db2989367bdf218..ca5ecbf0b6134178c54fce3a8e915bd414712af0 100644 (file)
@@ -392,10 +392,11 @@ DestroyThunkContext (
 /**\r
   Get the FormSet's Default Varstore ID based on the rule (Descending Priority):\r
 \r
-  1) Var Store ID of FRAMEWORK_RESERVED_VARSTORE_ID (0x01).\r
-  2) First Var Store ID.\r
+  1) If VarStore ID of FRAMEWORK_RESERVED_VARSTORE_ID (0x01) is found, Var Store ID is used.\r
+  2) If VarStore ID of FRAMEWORK_RESERVED_VARSTORE_ID is not found, First Var Store ID is used \r
+     as the default Var Store ID.\r
 \r
-  @param FormSet The Form Set.\r
+  @param FormSet The Form Set. The Default Varstore ID is updated if found.\r
   \r
 **/\r
 VOID\r