[Edk2 Dev] Notice to check in new designed HII library to replace original IfrSupportLib and ExtendedIfrSupportLib

Subject: [Edk2 Dev] Notice to check in new designed HII library to replace original IfrSupportLib and ExtendedIfrSupportLib

From: "Gao, Liming" <liming.gao@intel.com>

To: dev@edk2.tianocore.org

Date: 2009-04-23 18:43:33

Hi, all

 Current MdeModulePkg IfrSupportLib and ExtendedIfrSupportLib will be retired and replaced by new designed HII library in MdeModulePkg. The map table between old one and new one are listed. Most of new API interfaces are different from old one. Please be careful when you update your module by new HII APIs. If you have any problem on this change, please let me know.

 

Original IfrSupportLib APIs

New HiiLib APIs

Replaced by APIs in other library class

IfrLibCreatePopUp

None

CreatePopUp in UefiLib

IfrLibCreatePopUp2

None

CreatePopUp in UefiLib

BufInReverseOrderToHexString

Retired

UnicodeSPrint and UnicodeValueToString in PrintLib

BufToHexString

Retired

UnicodeSPrint and UnicodeValueToString in PrintLib

UnicodeToConfigString

Retired

UnicodeSPrint and UnicodeValueToString in PrintLib

HexStringToBuf

Retired

StrHexToUint64 in BaseLib

HexStringToBufInReverseOrder

Retired

StrHexToUint64 in BaseLib

ConfigStringToUnicode

Retired

StrHexToUint64 in BaseLib

ToLower

Retired

Few modules that use it can carry their implementation.

IsHexDigit

Retired

Few modules that use it can carry their implementation.

IfrLibInitUpdateData

HiiAllocateOpCodeHandle

 

IfrLibFreeUpdateData

HiiFreeOpCodeHandle

 

CreateEndOpCode

HiiCreateEndOpCode

 

CreateDefaultOpCode

HiiCreateDefaultOpCode

 

CreateActionOpCode

HiiCreateActionOpCode

 

CreateSubTitleOpCode

HiiCreateSubTitleOpCode

 

CreateGotoOpCode

HiiCreateGotoOpCode

 

CreateOneOfOptionOpCode

HiiCreateOneOfOptionOpCode

 

CreateOneOfOpCode

HiiCreateOneOfOpCode

 

CreateOrderedListOpCode

HiiCreateOrderedListOpCode

 

CreateCheckBoxOpCode

HiiCreateCheckBoxOpCode

 

CreateNumericOpCode

HiiCreateNumericOpCode

 

CreateStringOpCode

HiiCreateStringOpCode

 

CreateBannerOpCode

Retired

No module use

CreateTextOpCode

Retired

No module use

None

HiiCreateGuidOpCode (added)

 

IfrLibUpdateForm

HiiUpdateForm

 

IfrLibExtractClassFromHiiHandle

Retired

Not available in UEFI 2.1

IfrLibExtractDefault

HiiGetDefaults

 

ConstructConfigAltResp

HiiConstructConfigAltResp

 

ConstructConfigHdr

HiiConstructConfigHdr

 

IsConfigHdrMatch

HiiIsConfigHdrMatch

 

FindBlockName

Retired

No module use

GetBrowserData

HiiGetBrowserData

 

SetBrowserData

HiiSetBrowserData

 

 

Thanks

Liming