Browse Source

[efi] Mark SNP formset compliant with IBM's Unified Configuration Manager

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 12 years ago
parent
commit
bab0a4c1ce
2 changed files with 8 additions and 2 deletions
  1. 5
    0
      src/include/ipxe/efi/efi_hii.h
  2. 3
    2
      src/interface/efi/efi_snp.c

+ 5
- 0
src/include/ipxe/efi/efi_hii.h View File

@@ -137,4 +137,9 @@ FILE_LICENCE ( GPL2_OR_LATER );
137 137
 	},								   \
138 138
 	}
139 139
 
140
+/** GUID indicating formset compliance for IBM Unified Configuration Manager */
141
+#define EFI_HII_IBM_UCM_COMPLIANT_FORMSET_GUID				   \
142
+	{ 0x5c8e9746, 0xa5f7, 0x4593,					   \
143
+	  { 0xaf, 0x1f, 0x66, 0xa8, 0x2a, 0xa1, 0x9c, 0xb1 } }
144
+
140 145
 #endif /* _IPXE_EFI_HII_H */

+ 3
- 2
src/interface/efi/efi_snp.c View File

@@ -805,7 +805,7 @@ enum efi_snp_hii_string_id {
805 805
 /** EFI SNP formset */
806 806
 struct efi_snp_formset {
807 807
 	EFI_HII_PACKAGE_HEADER Header;
808
-	EFI_IFR_FORM_SET_TYPE(1) FormSet;
808
+	EFI_IFR_FORM_SET_TYPE(2) FormSet;
809 809
 	EFI_IFR_GUID_CLASS Class;
810 810
 	EFI_IFR_GUID_SUBCLASS SubClass;
811 811
 	EFI_IFR_FORM Form;
@@ -824,7 +824,8 @@ struct efi_snp_formset {
824 824
 				      EFI_SNP_FORMSET_TITLE,
825 825
 				      EFI_SNP_FORMSET_HELP,
826 826
 				      typeof ( efi_snp_formset.FormSet ),
827
-				      EFI_HII_PLATFORM_SETUP_FORMSET_GUID ),
827
+				      EFI_HII_PLATFORM_SETUP_FORMSET_GUID,
828
+				      EFI_HII_IBM_UCM_COMPLIANT_FORMSET_GUID ),
828 829
 	.Class = EFI_IFR_GUID_CLASS ( EFI_NETWORK_DEVICE_CLASS ),
829 830
 	.SubClass = EFI_IFR_GUID_SUBCLASS ( 0x03 ),
830 831
 	.Form = EFI_IFR_FORM ( EFI_SNP_FORM, EFI_SNP_FORMSET_TITLE ),

Loading…
Cancel
Save