Skip to content

Commit

Permalink
UefiBootManagerLib: enable Apple bootloader path fix extension
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Yaroshchuk <yaroshchuk2000@gmail.com>
  • Loading branch information
shchuko committed Mar 29, 2021
1 parent 6f2e4cb commit f0afada
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Library/UefiBootManagerLib/BmBoot.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
**/

#include "InternalBm.h"
#include "InternalBmAppleFix.h"

EFI_RAM_DISK_PROTOCOL *mRamDisk = NULL;

Expand Down Expand Up @@ -1912,7 +1913,7 @@ EfiBootManagerBoot (
Status = EFI_NOT_FOUND;
FilePath = NULL;
EfiBootManagerConnectDevicePath (BootOption->FilePath, NULL);
FileBuffer = BmGetNextLoadOptionBuffer (LoadOptionTypeBoot, BootOption->FilePath, &FilePath, &FileSize);
FileBuffer = BmGetNextLoadOptionBufferWithAppleFix (LoadOptionTypeBoot, BootOption->FilePath, &FilePath, &FileSize);
if (FileBuffer != NULL) {
RamDiskDevicePath = BmGetRamDiskDevicePath (FilePath);

Expand Down

0 comments on commit f0afada

Please sign in to comment.