VirtualBox

Changeset 82519 in vbox for trunk/src/VBox/Devices/EFI


Ignore:
Timestamp:
Dec 9, 2019 2:58:48 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
135372
Message:

EFI/Firmware/UefiBootManagerLib: Restore old behavior until the blessed file support is working properly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c

    r82509 r82519  
    10161016    if (!EFI_ERROR(Status))
    10171017    {
     1018#if 1
     1019# define VBOX_EFI_APPLE_MEDIA_FILE_NAME L"\\System\\Library\\CoreServices\\boot.efi"
     1020       EFI_FILE_PROTOCOL *pFile = NULL;
     1021
     1022       Status = pRoot->Open(pRoot, &pFile, VBOX_EFI_APPLE_MEDIA_FILE_NAME, EFI_FILE_MODE_READ,
     1023                            EFI_FILE_READ_ONLY | EFI_FILE_HIDDEN | EFI_FILE_SYSTEM);
     1024       if (!EFI_ERROR(Status))
     1025       {
     1026         *ppwszFileName = VBOX_EFI_APPLE_MEDIA_FILE_NAME;
     1027         pFile->Close(pFile);
     1028       }
     1029#else /* Doesn't quite work yet. */
    10181030      VBOX_FS_BLESSED_FILE *Buffer = NULL;
    10191031      UINTN BufferSize = 0;
     
    10341046        }
    10351047      }
     1048#endif
    10361049
    10371050      pRoot->Close(pRoot);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette