X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=EdkCompatibilityPkg%2FCompatibility%2FFrameworkHiiToUefiHiiThunk%2FUtility.c;h=ca5ecbf0b6134178c54fce3a8e915bd414712af0;hb=03254710db8d2de44d948787e0cb022144693cc5;hp=ca870990e18a286eac72010e1db2989367bdf218;hpb=b0dd81086156edd2bdf966813660b7224e66b407;p=mirror_edk2.git diff --git a/EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/Utility.c b/EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/Utility.c index ca870990e1..ca5ecbf0b6 100644 --- a/EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/Utility.c +++ b/EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/Utility.c @@ -392,10 +392,11 @@ DestroyThunkContext ( /** Get the FormSet's Default Varstore ID based on the rule (Descending Priority): - 1) Var Store ID of FRAMEWORK_RESERVED_VARSTORE_ID (0x01). - 2) First Var Store ID. + 1) If VarStore ID of FRAMEWORK_RESERVED_VARSTORE_ID (0x01) is found, Var Store ID is used. + 2) If VarStore ID of FRAMEWORK_RESERVED_VARSTORE_ID is not found, First Var Store ID is used + as the default Var Store ID. - @param FormSet The Form Set. + @param FormSet The Form Set. The Default Varstore ID is updated if found. **/ VOID