Rename XtLdrProtocol variable
All checks were successful
Builds / ExectOS (amd64) (push) Successful in 27s
Builds / ExectOS (i686) (push) Successful in 29s

This commit is contained in:
2024-01-23 15:17:39 +01:00
parent f2ab4894a5
commit f2887dba1f
6 changed files with 10 additions and 10 deletions

View File

@@ -51,7 +51,7 @@ XtLdrModuleMain(IN EFI_HANDLE ImageHandle,
EFI_STATUS Status;
/* Open the XTLDR protocol */
Status = BlGetXtLdrProtocol(SystemTable, ImageHandle, &XtLdrProto);
Status = BlGetXtLdrProtocol(SystemTable, ImageHandle, &XtLdrProtocol);
if(Status != STATUS_EFI_SUCCESS)
{
/* Failed to open the protocol, return error */
@@ -62,8 +62,8 @@ XtLdrModuleMain(IN EFI_HANDLE ImageHandle,
BlpDummyProtocol.BootSystem = BlBootDummyOS;
/* Register XTOS boot protocol */
XtLdrProto->Boot.RegisterProtocol(L"XTOS", &DummyGuid);
XtLdrProtocol->Boot.RegisterProtocol(L"XTOS", &DummyGuid);
/* Register DUMMY protocol as XTOS boot protocol */
return XtLdrProto->Protocol.Install(&BlpDummyProtocol, &DummyGuid);
return XtLdrProtocol->Protocol.Install(&BlpDummyProtocol, &DummyGuid);
}

View File

@@ -10,7 +10,7 @@
/* XTLDR protocol handler */
PXTBL_LOADER_PROTOCOL XtLdrProto;
PXTBL_LOADER_PROTOCOL XtLdrProtocol;
/* Dummy Boot Protocol handler */
XTBL_BOOT_PROTOCOL BlpDummyProtocol;

View File

@@ -13,7 +13,7 @@
/* XTLDR protocol handler */
EXTERN PXTBL_LOADER_PROTOCOL XtLdrProto;
EXTERN PXTBL_LOADER_PROTOCOL XtLdrProtocol;
/* Dummy Boot Protocol handler */
EXTERN XTBL_BOOT_PROTOCOL BlpDummyProtocol;