Reviewed-by: Ray Ni <[email protected]>

> -----Original Message-----
> From: Zhang, Shenglei
> Sent: Thursday, April 25, 2019 8:02 PM
> To: [email protected]
> Cc: Carsey, Jaben <[email protected]>; Ni, Ray <[email protected]>
> Subject: [PATCH v2 3/4] ShellPkg/UefiHandleParsingLib: Remove some
> unused Guids
> 
> ExtendedSalBootService.h, ExtendedSalServiceClasses.h and McaInitPmi.h
> will be deleted. So remove the Guids defined in these Protocols. And also
> remove strings in uni file.
> https://bugzilla.tianocore.org/show_bug.cgi?id=1560
> 
> Cc: Jaben Carsey <[email protected]>
> Cc: Ray Ni <[email protected]>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Shenglei Zhang <[email protected]>
> Reviewed-by: Jaben Carsey <[email protected]>
> Reviewed-by: Ray Ni <[email protected]>
> ---
>  .../UefiHandleParsingLib/UefiHandleParsingLib.c | 17 -----------------
>  .../UefiHandleParsingLib.inf                    | 17 -----------------
>  .../UefiHandleParsingLib.uni                    | 17 -----------------
>  3 files changed, 51 deletions(-)
> 
> diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
> b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
> index 8e8fa13285..f179c41092 100644
> --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
> +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
> @@ -2315,23 +2315,6 @@ STATIC CONST GUID_INFO_BLOCK
> mGuidStringList[] = {
>    {STRING_TOKEN(STR_FVB2),
> &gEfiFirmwareVolumeBlock2ProtocolGuid,            NULL},
>    {STRING_TOKEN(STR_CPUIO2),                &gEfiCpuIo2ProtocolGuid,
> NULL},
>    {STRING_TOKEN(STR_LEGACY_R2),             &gEfiLegacyRegion2ProtocolGuid,
> NULL},
> -  {STRING_TOKEN(STR_SAL_MIP),               &gEfiSalMcaInitPmiProtocolGuid,
> NULL},
> -  {STRING_TOKEN(STR_ES_BS),
> &gEfiExtendedSalBootServiceProtocolGuid,          NULL},
> -  {STRING_TOKEN(STR_ES_BIO),
> &gEfiExtendedSalBaseIoServicesProtocolGuid,       NULL},
> -  {STRING_TOKEN(STR_ES_STALL),
> &gEfiExtendedSalStallServicesProtocolGuid,        NULL},
> -  {STRING_TOKEN(STR_ES_RTC),
> &gEfiExtendedSalRtcServicesProtocolGuid,          NULL},
> -  {STRING_TOKEN(STR_ES_VS),
> &gEfiExtendedSalVariableServicesProtocolGuid,     NULL},
> -  {STRING_TOKEN(STR_ES_MTC),
> &gEfiExtendedSalMtcServicesProtocolGuid,          NULL},
> -  {STRING_TOKEN(STR_ES_RESET),
> &gEfiExtendedSalResetServicesProtocolGuid,        NULL},
> -  {STRING_TOKEN(STR_ES_SC),
> &gEfiExtendedSalStatusCodeServicesProtocolGuid,   NULL},
> -  {STRING_TOKEN(STR_ES_FBS),
> &gEfiExtendedSalFvBlockServicesProtocolGuid,      NULL},
> -  {STRING_TOKEN(STR_ES_MP),
> &gEfiExtendedSalMpServicesProtocolGuid,           NULL},
> -  {STRING_TOKEN(STR_ES_PAL),
> &gEfiExtendedSalPalServicesProtocolGuid,          NULL},
> -  {STRING_TOKEN(STR_ES_BASE),
> &gEfiExtendedSalBaseServicesProtocolGuid,         NULL},
> -  {STRING_TOKEN(STR_ES_MCA),
> &gEfiExtendedSalMcaServicesProtocolGuid,          NULL},
> -  {STRING_TOKEN(STR_ES_PCI),
> &gEfiExtendedSalPciServicesProtocolGuid,          NULL},
> -  {STRING_TOKEN(STR_ES_CACHE),
> &gEfiExtendedSalCacheServicesProtocolGuid,        NULL},
> -  {STRING_TOKEN(STR_ES_MCA_LOG),
> &gEfiExtendedSalMcaLogServicesProtocolGuid,       NULL},
>    {STRING_TOKEN(STR_S2ARCH),                &gEfiSecurity2ArchProtocolGuid,
> NULL},
>    {STRING_TOKEN(STR_EODXE),                 &gEfiSmmEndOfDxeProtocolGuid,
> NULL},
>    {STRING_TOKEN(STR_ISAHC),                 &gEfiIsaHcProtocolGuid,
> NULL},
> diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
> b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
> index 2a54529901..93b69cd8e9 100644
> --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
> +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
> @@ -229,23 +229,6 @@
>    gEfiFirmwareVolumeBlock2ProtocolGuid                    ## UNDEFINED
>    gEfiCpuIo2ProtocolGuid                                  ## UNDEFINED
>    gEfiLegacyRegion2ProtocolGuid                           ## UNDEFINED
> -  gEfiSalMcaInitPmiProtocolGuid                           ## UNDEFINED
> -  gEfiExtendedSalBootServiceProtocolGuid                  ## UNDEFINED
> -  gEfiExtendedSalBaseIoServicesProtocolGuid               ## UNDEFINED
> -  gEfiExtendedSalStallServicesProtocolGuid                ## UNDEFINED
> -  gEfiExtendedSalRtcServicesProtocolGuid                  ## UNDEFINED
> -  gEfiExtendedSalVariableServicesProtocolGuid             ## UNDEFINED
> -  gEfiExtendedSalMtcServicesProtocolGuid                  ## UNDEFINED
> -  gEfiExtendedSalResetServicesProtocolGuid                ## UNDEFINED
> -  gEfiExtendedSalStatusCodeServicesProtocolGuid           ## UNDEFINED
> -  gEfiExtendedSalFvBlockServicesProtocolGuid              ## UNDEFINED
> -  gEfiExtendedSalMpServicesProtocolGuid                   ## UNDEFINED
> -  gEfiExtendedSalPalServicesProtocolGuid                  ## UNDEFINED
> -  gEfiExtendedSalBaseServicesProtocolGuid                 ## UNDEFINED
> -  gEfiExtendedSalMcaServicesProtocolGuid                  ## UNDEFINED
> -  gEfiExtendedSalPciServicesProtocolGuid                  ## UNDEFINED
> -  gEfiExtendedSalCacheServicesProtocolGuid                ## UNDEFINED
> -  gEfiExtendedSalMcaLogServicesProtocolGuid               ## UNDEFINED
>    gEfiSecurity2ArchProtocolGuid                           ## UNDEFINED
>    gEfiSmmEndOfDxeProtocolGuid                             ## UNDEFINED
>    gEfiIsaHcProtocolGuid                                   ## UNDEFINED
> diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni
> b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni
> index 15a270620f..9c8028d0d5 100644
> --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni
> +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni
> @@ -268,23 +268,6 @@
>  #string STR_FVB2                  #language en-US "FirmwareVolumeBlock2"
>  #string STR_CPUIO2                #language en-US "CpuIo2"
>  #string STR_LEGACY_R2             #language en-US "LegacyRegion2"
> -#string STR_SAL_MIP               #language en-US "SalMcaInitPmi"
> -#string STR_ES_BS                 #language en-US "ExtendedSalBootService"
> -#string STR_ES_BIO                #language en-US "ExtendedSalBaseIoServices"
> -#string STR_ES_STALL              #language en-US "ExtendedSalStallServices"
> -#string STR_ES_RTC                #language en-US "ExtendedSalRtcServices"
> -#string STR_ES_VS                 #language en-US 
> "ExtendedSalVariableServices"
> -#string STR_ES_MTC                #language en-US "ExtendedSalMtcServices"
> -#string STR_ES_RESET              #language en-US "ExtendedSalResetServices"
> -#string STR_ES_SC                 #language en-US
> "ExtendedSalStatusCodeServices"
> -#string STR_ES_FBS                #language en-US 
> "ExtendedSalFvBlockServices"
> -#string STR_ES_MP                 #language en-US "ExtendedSalMpServices"
> -#string STR_ES_PAL                #language en-US "ExtendedSalPalServices"
> -#string STR_ES_BASE               #language en-US "ExtendedSalBaseServices"
> -#string STR_ES_MCA                #language en-US "ExtendedSalMcaServices"
> -#string STR_ES_PCI                #language en-US "ExtendedSalPciServices"
> -#string STR_ES_CACHE              #language en-US "ExtendedSalCacheServices"
> -#string STR_ES_MCA_LOG            #language en-US
> "ExtendedSalMcaLogServices"
>  #string STR_S2ARCH                #language en-US "Security2Arch"
>  #string STR_EODXE                 #language en-US "SmmEndOfDxe"
>  #string STR_ISAHC                 #language en-US "IsaHc"
> --
> 2.18.0.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#39626): https://edk2.groups.io/g/devel/message/39626
Mute This Topic: https://groups.io/mt/31349518/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to