|
@@ -769,8 +769,8 @@ static EFI_GUID efi_hii_config_access_protocol_guid
|
769
|
769
|
static EFI_HII_DATABASE_PROTOCOL *efihii;
|
770
|
770
|
EFI_REQUIRE_PROTOCOL ( EFI_HII_DATABASE_PROTOCOL, &efihii );
|
771
|
771
|
|
772
|
|
-/** Local GUID used for our EFI SNP formset */
|
773
|
|
-#define EFI_SNP_FORMSET_GUID \
|
|
772
|
+/** Local base GUID used for our EFI SNP formset */
|
|
773
|
+#define EFI_SNP_FORMSET_GUID_BASE \
|
774
|
774
|
{ 0xc4f84019, 0x6dfd, 0x4a27, \
|
775
|
775
|
{ 0x9b, 0x94, 0xb7, 0x2e, 0x1f, 0xbc, 0xad, 0xca } }
|
776
|
776
|
|
|
@@ -815,7 +815,7 @@ struct efi_snp_formset {
|
815
|
815
|
.Length = sizeof ( efi_snp_formset ),
|
816
|
816
|
.Type = EFI_HII_PACKAGE_FORMS,
|
817
|
817
|
},
|
818
|
|
- .FormSet = EFI_IFR_FORM_SET ( EFI_SNP_FORMSET_GUID,
|
|
818
|
+ .FormSet = EFI_IFR_FORM_SET ( EFI_SNP_FORMSET_GUID_BASE,
|
819
|
819
|
EFI_SNP_FORMSET_TITLE,
|
820
|
820
|
EFI_SNP_FORMSET_HELP,
|
821
|
821
|
typeof ( efi_snp_formset.FormSet ),
|
|
@@ -992,6 +992,9 @@ efi_snp_package_list ( struct efi_snp_device *snpdev ) {
|
992
|
992
|
if ( ! package_list )
|
993
|
993
|
return NULL;
|
994
|
994
|
|
|
995
|
+ /* Create a unique GUID for this package list and formset */
|
|
996
|
+ efi_snp_formset.FormSet.FormSet.Guid.Data1++;
|
|
997
|
+
|
995
|
998
|
/* Populate package list */
|
996
|
999
|
memcpy ( &package_list->header.PackageListGuid,
|
997
|
1000
|
&efi_snp_formset.FormSet.FormSet.Guid,
|