summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGowtham M <gowthamm@ami.com>2025-08-05 19:45:11 +0530
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-09-05 13:50:50 +0000
commitcf5f907cd53f0a1e33a93179c9976de5d6b576e1 (patch)
treeeff41fb373fa4c02358fb907561fd11e02e547e1
parenta46697f73532dbaa84babacc887cd5ccd8c4fdc2 (diff)
downloadedk2-cf5f907cd53f0a1e33a93179c9976de5d6b576e1.zip
edk2-cf5f907cd53f0a1e33a93179c9976de5d6b576e1.tar.gz
edk2-cf5f907cd53f0a1e33a93179c9976de5d6b576e1.tar.bz2
ShellPkg: Deprecate EFI_UNICODE_COLLATION_PROTOCOL_GUID
As EFI_UNICODE_COLLATION_PROTOCOL_GUID is being deprecated. Remove the instances used in ShellPkg. Cc: Sachin Ganesh <sachinganesh@ami.com> Signed-off-by: Gowtham M <gowthamm@ami.com>
-rw-r--r--ShellPkg/Application/Shell/Shell.c9
-rw-r--r--ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c1
-rw-r--r--ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf1
3 files changed, 1 insertions, 10 deletions
diff --git a/ShellPkg/Application/Shell/Shell.c b/ShellPkg/Application/Shell/Shell.c
index ae3e943..206fd7f 100644
--- a/ShellPkg/Application/Shell/Shell.c
+++ b/ShellPkg/Application/Shell/Shell.c
@@ -971,14 +971,7 @@ ProcessCommandLine (
(VOID **)&UnicodeCollation
);
if (EFI_ERROR (Status)) {
- Status = gBS->LocateProtocol (
- &gEfiUnicodeCollationProtocolGuid,
- NULL,
- (VOID **)&UnicodeCollation
- );
- if (EFI_ERROR (Status)) {
- return Status;
- }
+ return Status;
}
// Set default options
diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
index e2409f9..ea018f5 100644
--- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
+++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
@@ -2249,7 +2249,6 @@ STATIC CONST GUID_INFO_BLOCK mGuidStringList[] = {
{ STRING_TOKEN (STR_TAPE_IO), &gEfiTapeIoProtocolGuid, NULL },
{ STRING_TOKEN (STR_DISK_IO), &gEfiDiskIoProtocolGuid, NULL },
{ STRING_TOKEN (STR_BLK_IO), &gEfiBlockIoProtocolGuid, BlockIoProtocolDumpInformation },
- { STRING_TOKEN (STR_UC), &gEfiUnicodeCollationProtocolGuid, NULL },
{ STRING_TOKEN (STR_UC2), &gEfiUnicodeCollation2ProtocolGuid, NULL },
{ STRING_TOKEN (STR_PCIRB_IO), &gEfiPciRootBridgeIoProtocolGuid, PciRootBridgeIoDumpInformation },
{ STRING_TOKEN (STR_PCI_IO), &gEfiPciIoProtocolGuid, PciIoProtocolDumpInformation },
diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
index 708bde0..60898da 100644
--- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
+++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
@@ -82,7 +82,6 @@
gEfiTapeIoProtocolGuid ## UNDEFINED
gEfiDiskIoProtocolGuid ## UNDEFINED
gEfiBlockIoProtocolGuid ## UNDEFINED
- gEfiUnicodeCollationProtocolGuid ## UNDEFINED
gEfiPciRootBridgeIoProtocolGuid ## UNDEFINED
gEfiPciIoProtocolGuid ## UNDEFINED
gEfiScsiPassThruProtocolGuid ## UNDEFINED