diff options
author | Gowtham M <gowthamm@ami.com> | 2025-08-05 19:45:11 +0530 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-09-05 13:50:50 +0000 |
commit | cf5f907cd53f0a1e33a93179c9976de5d6b576e1 (patch) | |
tree | eff41fb373fa4c02358fb907561fd11e02e547e1 | |
parent | a46697f73532dbaa84babacc887cd5ccd8c4fdc2 (diff) | |
download | edk2-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.c | 9 | ||||
-rw-r--r-- | ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c | 1 | ||||
-rw-r--r-- | ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf | 1 |
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
|