Loader protocol must be globally accessible
This commit is contained in:
@@ -45,7 +45,7 @@ BlInitializeBootLoader()
|
||||
if(DEBUG)
|
||||
{
|
||||
/* Attempt to open EFI LoadedImage protocol */
|
||||
Status = BlOpenXtProtocol((PVOID *)&LoadedImage, &LipGuid);
|
||||
Status = BlOpenProtocol((PVOID *)&LoadedImage, &LipGuid);
|
||||
if(Status == STATUS_EFI_SUCCESS)
|
||||
{
|
||||
/* Protocol opened successfully, print useful debug information */
|
||||
@@ -261,7 +261,7 @@ BlInvokeBootProtocol(IN PLIST_ENTRY OptionsList)
|
||||
}
|
||||
|
||||
/* Open boot protocol */
|
||||
Status = BlOpenXtProtocol((PVOID *)&BootProtocol, &BootProtocolGuid);
|
||||
Status = BlOpenProtocol((PVOID *)&BootProtocol, &BootProtocolGuid);
|
||||
if(Status != STATUS_EFI_SUCCESS)
|
||||
{
|
||||
/* Failed to open boot protocol */
|
||||
|
||||
Reference in New Issue
Block a user