X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFrameworkPkg%2FInclude%2FProtocol%2FFrameworkHii.h;h=c6e131e922fa2e44bdc644e0cf1e7dbd774bd535;hp=6e60bebd6b1f267d270ed603cfc25aba2259087e;hb=efccebcfe0c46d92bce72e28aacf2eefbde7bc9c;hpb=69686d5669e0bc621ded618becf1529ce93ff1fd diff --git a/IntelFrameworkPkg/Include/Protocol/FrameworkHii.h b/IntelFrameworkPkg/Include/Protocol/FrameworkHii.h index 6e60bebd6b..c6e131e922 100644 --- a/IntelFrameworkPkg/Include/Protocol/FrameworkHii.h +++ b/IntelFrameworkPkg/Include/Protocol/FrameworkHii.h @@ -3,7 +3,7 @@ be used by resources which want to publish IFR/Font/String data and have it collected by the Configuration engine. - Copyright (c) 2007, Intel Corporation + Copyright (c) 2007 - 2008, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -30,11 +30,22 @@ // #include +// +// In both EDK and EDK II, incompatbile change is done to Framework HII protocol. +// This change should cause a change of GUID in both of code and HII spec. But we +// update the GUID in code in EDK and EDK II. The 0.92 spec is not updated. This +// is a known issue.. +// #define EFI_HII_PROTOCOL_GUID \ { \ 0xd7ad636e, 0xb997, 0x459b, {0xbf, 0x3f, 0x88, 0x46, 0x89, 0x79, 0x80, 0xe1} \ } +#define EFI_HII_COMPATIBILITY_PROTOCOL_GUID \ + { \ + 0x5542cce1, 0xdf5c, 0x4d1b, { 0xab, 0xca, 0x36, 0x4f, 0x77, 0xd3, 0x99, 0xfb } \ + } + // BugBug: //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // If UGA goes away we need to put this some place. I'm not sure where? @@ -49,6 +60,9 @@ //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // +typedef UINT16 STRING_REF; +typedef UINT32 RELOFST; + typedef struct _EFI_HII_PROTOCOL EFI_HII_PROTOCOL; typedef UINT16 FRAMEWORK_EFI_HII_HANDLE; @@ -78,12 +92,15 @@ typedef UINT16 FRAMEWORK_EFI_HII_HANDLE; // // The following types are currently defined: -// EFI_FROM_ID has been defined in UEFI spec. +// EFI_FORM_ID has been defined in UEFI spec. // typedef UINT16 EFI_FORM_LABEL; #pragma pack(1) +// +// The header found at the start of each package. +// typedef struct { UINT32 Length; UINT16 Type; @@ -294,7 +311,7 @@ typedef struct _EFI_HII_VARIABLE_PACK_LIST { @param This A pointer to the EFI_HII_PROTOCOL instance. @param Packages A pointer to an EFI_HII_PACKAGES package instance. - @param Handle A pointer to the FRAMEWORK_EFI_HII_HANDLE instance. + @param Handle A pointer to the FRAMEWORK_EFI_HII_HANDLE instance. @retval EFI_SUCCESS Data was extracted from Packages, the database was updated with the data, and Handle returned successfully. @@ -819,5 +836,7 @@ struct _EFI_HII_PROTOCOL { }; extern EFI_GUID gEfiHiiProtocolGuid; +extern EFI_GUID gEfiHiiCompatibilityProtocolGuid; + #endif