Skip to content

Commit

Permalink
Patches: Fix previous patch update
Browse files Browse the repository at this point in the history
  • Loading branch information
vit9696 committed Mar 5, 2022
1 parent 578728c commit 971df72
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Subject: [PATCH] ShellPkg: Devices shell command support misaligned device
1 file changed, 27 insertions(+)

diff --git a/ShellPkg/Application/Shell/ShellProtocol.c b/ShellPkg/Application/Shell/ShellProtocol.c
index 509eb60e40..c95c18e32a 100644
index 509eb60e40..25f33166e6 100644
--- a/ShellPkg/Application/Shell/ShellProtocol.c
+++ b/ShellPkg/Application/Shell/ShellProtocol.c
@@ -598,6 +598,25 @@ EfiShellGetDevicePathFromFilePath (
Expand Down Expand Up @@ -38,7 +38,15 @@ index 509eb60e40..c95c18e32a 100644
/**
Gets the name of the device specified by the device handle.

@@ -783,7 +802,14 @@ EfiShellGetDeviceName (
@@ -655,6 +674,7 @@ EfiShellGetDeviceName (
EFI_HANDLE *ParentControllerBuffer;
UINTN ParentDriverCount;
EFI_HANDLE *ParentDriverBuffer;
+ BOOLEAN NeedsRealign;

if ((BestDeviceName == NULL) ||
(DeviceHandle == NULL)
@@ -783,7 +803,14 @@ EfiShellGetDeviceName (
//
if (DeviceNameToReturn != NULL) {
ASSERT (BestDeviceName != NULL);
Expand Down

0 comments on commit 971df72

Please sign in to comment.