summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/HiiDatabase.h
diff options
context:
space:
mode:
Diffstat (limited to 'EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/HiiDatabase.h')
-rw-r--r--EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/HiiDatabase.h21
1 files changed, 7 insertions, 14 deletions
diff --git a/EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/HiiDatabase.h b/EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/HiiDatabase.h
index 662f8b04e8..4ad9856141 100644
--- a/EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/HiiDatabase.h
+++ b/EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/HiiDatabase.h
@@ -46,18 +46,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Library/HiiLib.h>
#include <Library/ExtendedHiiLib.h>
-//
-// There are some type redefinitions between Framework Ifr Support Library and
-// UEFI HII Ifr Support Library. We undefine the duplicated Framework definition here
-// so that the duplicated definitions in UEFI HII Ifr can be defined.
-// In this Thunk Module, we will access all Framework definition with "FRAMEWORK_" prefix.
-//
-#undef IFR_OPTION
-#undef EFI_HII_UPDATE_DATA
-
#include <Library/IfrSupportLib.h>
#include <Library/ExtendedIfrSupportLib.h>
+#include <MdeModuleHii.h>
+
//
// Macros
//
@@ -147,11 +140,11 @@ typedef struct {
//
// Extern Variables
//
-extern CONST EFI_HII_DATABASE_PROTOCOL *mUefiHiiDatabaseProtocol;
-extern CONST EFI_HII_FONT_PROTOCOL *mUefiHiiFontProtocol;
-extern CONST EFI_HII_IMAGE_PROTOCOL *mUefiHiiImageProtocol;
-extern CONST EFI_HII_STRING_PROTOCOL *mUefiStringProtocol;
-extern CONST EFI_HII_CONFIG_ROUTING_PROTOCOL *mUefiConfigRoutingProtocol;
+extern CONST EFI_HII_DATABASE_PROTOCOL *mHiiDatabase;
+extern CONST EFI_HII_FONT_PROTOCOL *mHiiFontProtocol;
+extern CONST EFI_HII_IMAGE_PROTOCOL *mHiiImageProtocol;
+extern CONST EFI_HII_STRING_PROTOCOL *mHiiStringProtocol;
+extern CONST EFI_HII_CONFIG_ROUTING_PROTOCOL *mHiiConfigRoutingProtocol;
//
// Prototypes