mirror of https://github.com/acidanthera/audk.git
Remove Feature PCD PcdSupportFullConfigRoutingProtocol as EDK II sample implementation is UEFI compliant system which always produces gEfiHiiConfigRoutingProtocolGuid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7892 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
d26743215a
commit
c40aa22af0
|
@ -232,11 +232,6 @@
|
||||||
# FALSE is for size reduction.
|
# FALSE is for size reduction.
|
||||||
gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHiiImageProtocol|TRUE|BOOLEAN|0x00010100
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHiiImageProtocol|TRUE|BOOLEAN|0x00010100
|
||||||
|
|
||||||
## If TRUE, these interface in EFI_HII_CONFIG_ROUTING_PROTOCOL will be supported: ExtractConfig, ExportConfig, RouteConfig
|
|
||||||
# and GetAltCfg will be supported. Otherwise, these interfaces will return EFI_UNSUPPORTED.
|
|
||||||
# FALSE is for size reduction.
|
|
||||||
gEfiMdeModulePkgTokenSpaceGuid.PcdSupportFullConfigRoutingProtocol|TRUE|BOOLEAN|0x00010101
|
|
||||||
|
|
||||||
## If TRUE, USB KeyBoard Driver disables the default keyboard layout.
|
## If TRUE, USB KeyBoard Driver disables the default keyboard layout.
|
||||||
# The default keyboard layout serves as the backup when no keyboard layout can be retrieved
|
# The default keyboard layout serves as the backup when no keyboard layout can be retrieved
|
||||||
# from HII database.
|
# from HII database.
|
||||||
|
|
|
@ -452,15 +452,6 @@ HiiConfigRoutingExtractConfig (
|
||||||
EFI_STRING AccessResults;
|
EFI_STRING AccessResults;
|
||||||
BOOLEAN FirstElement;
|
BOOLEAN FirstElement;
|
||||||
|
|
||||||
//
|
|
||||||
// For size reduction, please define PcdSupportFullConfigRoutingProtocol
|
|
||||||
// as FALSE. But this renders the system to not 100% compliant with
|
|
||||||
// UEFI 2.1. Use this with caution.
|
|
||||||
//
|
|
||||||
if (!FeaturePcdGet (PcdSupportFullConfigRoutingProtocol)) {
|
|
||||||
return EFI_UNSUPPORTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (This == NULL || Progress == NULL || Results == NULL) {
|
if (This == NULL || Progress == NULL || Results == NULL) {
|
||||||
return EFI_INVALID_PARAMETER;
|
return EFI_INVALID_PARAMETER;
|
||||||
}
|
}
|
||||||
|
@ -660,15 +651,6 @@ HiiConfigRoutingExportConfig (
|
||||||
UINTN NumberConfigAccessHandles;
|
UINTN NumberConfigAccessHandles;
|
||||||
BOOLEAN FirstElement;
|
BOOLEAN FirstElement;
|
||||||
|
|
||||||
//
|
|
||||||
// For size reduction, please define PcdSupportFullConfigRoutingProtocol
|
|
||||||
// as FALSE. But this renders the system to not 100% compliant with
|
|
||||||
// UEFI 2.1. Use this with caution.
|
|
||||||
//
|
|
||||||
if (!FeaturePcdGet (PcdSupportFullConfigRoutingProtocol)) {
|
|
||||||
return EFI_UNSUPPORTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (This == NULL || Results == NULL) {
|
if (This == NULL || Results == NULL) {
|
||||||
return EFI_INVALID_PARAMETER;
|
return EFI_INVALID_PARAMETER;
|
||||||
}
|
}
|
||||||
|
@ -784,15 +766,6 @@ HiiConfigRoutingRouteConfig (
|
||||||
EFI_HII_CONFIG_ACCESS_PROTOCOL *ConfigAccess;
|
EFI_HII_CONFIG_ACCESS_PROTOCOL *ConfigAccess;
|
||||||
EFI_STRING AccessProgress;
|
EFI_STRING AccessProgress;
|
||||||
|
|
||||||
//
|
|
||||||
// For size reduction, please define PcdSupportFullConfigRoutingProtocol
|
|
||||||
// as FALSE. But this renders the system to not 100% compliant with
|
|
||||||
// UEFI 2.1. Use this with caution.
|
|
||||||
//
|
|
||||||
if (!FeaturePcdGet (PcdSupportFullConfigRoutingProtocol)) {
|
|
||||||
return EFI_UNSUPPORTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (This == NULL || Progress == NULL) {
|
if (This == NULL || Progress == NULL) {
|
||||||
return EFI_INVALID_PARAMETER;
|
return EFI_INVALID_PARAMETER;
|
||||||
}
|
}
|
||||||
|
@ -1490,15 +1463,6 @@ HiiGetAltCfg (
|
||||||
BOOLEAN NameFlag;
|
BOOLEAN NameFlag;
|
||||||
BOOLEAN PathFlag;
|
BOOLEAN PathFlag;
|
||||||
|
|
||||||
//
|
|
||||||
// For size reduction, please define PcdSupportFullConfigRoutingProtocol
|
|
||||||
// as FALSE. But this renders the system to not 100% compliant with
|
|
||||||
// UEFI 2.1. Use this with caution.
|
|
||||||
//
|
|
||||||
if (!FeaturePcdGet (PcdSupportFullConfigRoutingProtocol)) {
|
|
||||||
return EFI_UNSUPPORTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
HdrStart = NULL;
|
HdrStart = NULL;
|
||||||
HdrEnd = NULL;
|
HdrEnd = NULL;
|
||||||
GuidStr = NULL;
|
GuidStr = NULL;
|
||||||
|
|
|
@ -62,14 +62,13 @@
|
||||||
gEfiDevicePathProtocolGuid ## SOMETIMES_CONSUMES
|
gEfiDevicePathProtocolGuid ## SOMETIMES_CONSUMES
|
||||||
gEfiHiiStringProtocolGuid ## PRODUCES
|
gEfiHiiStringProtocolGuid ## PRODUCES
|
||||||
gEfiHiiImageProtocolGuid |PcdSupportHiiImageProtocol ## PRODUCES
|
gEfiHiiImageProtocolGuid |PcdSupportHiiImageProtocol ## PRODUCES
|
||||||
gEfiHiiConfigRoutingProtocolGuid |PcdSupportFullConfigRoutingProtocol ## PRODUCES
|
gEfiHiiConfigRoutingProtocolGuid ## PRODUCES
|
||||||
gEfiHiiDatabaseProtocolGuid ## PRODUCES
|
gEfiHiiDatabaseProtocolGuid ## PRODUCES
|
||||||
gEfiHiiFontProtocolGuid ## PRODUCES
|
gEfiHiiFontProtocolGuid ## PRODUCES
|
||||||
gEfiHiiConfigAccessProtocolGuid ## CONSUMES
|
gEfiHiiConfigAccessProtocolGuid ## CONSUMES
|
||||||
|
|
||||||
[FeaturePcd.common]
|
[FeaturePcd.common]
|
||||||
gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHiiImageProtocol
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHiiImageProtocol
|
||||||
gEfiMdeModulePkgTokenSpaceGuid.PcdSupportFullConfigRoutingProtocol
|
|
||||||
|
|
||||||
[Pcd.common]
|
[Pcd.common]
|
||||||
gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultPlatformLang
|
gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultPlatformLang
|
||||||
|
|
Loading…
Reference in New Issue