mirror of https://github.com/acidanthera/audk.git
Add in Macro named SUPPORT_DEPRECATED_IFRSUPPORTLIB_API to comment out the functions that will be not be supported by EdkCompatibilityPka's FrameworkHiiToUefiHiiThunk module. We choose not to support these function as they are not commonly used by modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5084 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
6d9a6cf062
commit
76a21f7ce8
|
@ -78,6 +78,7 @@ Returns:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef SUPPORT_DEPRECATED_IFRSUPPORTLIB_API
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
AddString (
|
AddString (
|
||||||
IN VOID *StringBuffer,
|
IN VOID *StringBuffer,
|
||||||
|
@ -412,6 +413,7 @@ Returns:
|
||||||
gBS->FreePool (NewBuffer);
|
gBS->FreePool (NewBuffer);
|
||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -484,6 +486,8 @@ Returns:
|
||||||
|
|
||||||
--*/
|
--*/
|
||||||
{
|
{
|
||||||
|
#ifdef SUPPORT_DEPRECATED_IFRSUPPORTLIB_API
|
||||||
|
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
EFI_HII_PROTOCOL *Hii;
|
EFI_HII_PROTOCOL *Hii;
|
||||||
UINTN DataLength;
|
UINTN DataLength;
|
||||||
|
@ -624,6 +628,13 @@ Returns:
|
||||||
gBS->FreePool (OldData);
|
gBS->FreePool (OldData);
|
||||||
|
|
||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
|
#else
|
||||||
|
//
|
||||||
|
// The implementation will be added later.
|
||||||
|
//
|
||||||
|
ASSERT (FALSE);
|
||||||
|
return EFI_UNSUPPORTED;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -649,6 +660,7 @@ Returns:
|
||||||
|
|
||||||
--*/
|
--*/
|
||||||
{
|
{
|
||||||
|
#ifdef SUPPORT_DEPRECATED_IFRSUPPORTLIB_API
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
|
|
||||||
EFI_HII_HANDLE *HiiHandleBuffer;
|
EFI_HII_HANDLE *HiiHandleBuffer;
|
||||||
|
@ -740,9 +752,16 @@ Returns:
|
||||||
lbl_exit:
|
lbl_exit:
|
||||||
gBS->FreePool (HiiHandleBuffer);
|
gBS->FreePool (HiiHandleBuffer);
|
||||||
return HiiHandle;
|
return HiiHandle;
|
||||||
|
#else
|
||||||
|
//
|
||||||
|
// The implementation will be added later.
|
||||||
|
//
|
||||||
|
ASSERT (FALSE);
|
||||||
|
return (EFI_HII_HANDLE) 0;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef SUPPORT_DEPRECATED_IFRSUPPORTLIB_API
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
ValidateDataFromHiiHandle (
|
ValidateDataFromHiiHandle (
|
||||||
IN EFI_HII_HANDLE HiiHandle,
|
IN EFI_HII_HANDLE HiiHandle,
|
||||||
|
@ -981,6 +1000,7 @@ Returns:
|
||||||
|
|
||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
EFI_HII_PACKAGES *
|
EFI_HII_PACKAGES *
|
||||||
PreparePackages (
|
PreparePackages (
|
||||||
|
|
|
@ -61,6 +61,7 @@ Returns:
|
||||||
--*/
|
--*/
|
||||||
;
|
;
|
||||||
|
|
||||||
|
#ifdef SUPPORT_DEPRECATED_IFRSUPPORTLIB_API
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
AddString (
|
AddString (
|
||||||
IN VOID *StringBuffer,
|
IN VOID *StringBuffer,
|
||||||
|
@ -515,6 +516,7 @@ Returns:
|
||||||
|
|
||||||
--*/
|
--*/
|
||||||
;
|
;
|
||||||
|
#endif
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
ExtractDataFromHiiHandle (
|
ExtractDataFromHiiHandle (
|
||||||
|
@ -920,6 +922,7 @@ Returns:
|
||||||
--*/
|
--*/
|
||||||
;
|
;
|
||||||
|
|
||||||
|
#ifdef SUPPORT_DEPRECATED_IFRSUPPORTLIB_API
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
ValidateDataFromHiiHandle (
|
ValidateDataFromHiiHandle (
|
||||||
IN EFI_HII_HANDLE HiiHandle,
|
IN EFI_HII_HANDLE HiiHandle,
|
||||||
|
@ -948,6 +951,7 @@ Returns:
|
||||||
EFI_SUCCESS - Data successfully validated
|
EFI_SUCCESS - Data successfully validated
|
||||||
--*/
|
--*/
|
||||||
;
|
;
|
||||||
|
#endif
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
CreateBannerOpCode (
|
CreateBannerOpCode (
|
||||||
|
|
|
@ -21,6 +21,8 @@ Revision History:
|
||||||
|
|
||||||
#include "IfrLibrary.h"
|
#include "IfrLibrary.h"
|
||||||
|
|
||||||
|
#ifdef SUPPORT_DEPRECATED_IFRSUPPORTLIB_API
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
CreateFormSet (
|
CreateFormSet (
|
||||||
IN CHAR16 *FormSetTitle,
|
IN CHAR16 *FormSetTitle,
|
||||||
|
@ -972,3 +974,6 @@ Returns:
|
||||||
|
|
||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue