Rename Protocol->Register() to Protocol->Install()
Some checks failed
Builds / ExectOS (amd64) (push) Failing after 16s
Builds / ExectOS (i686) (push) Failing after 14s

This commit is contained in:
2024-01-07 20:54:59 +01:00
parent 5106ed7bdc
commit 7fd5273476
7 changed files with 17 additions and 17 deletions

View File

@@ -56,5 +56,5 @@ XtLdrModuleMain(IN EFI_HANDLE ImageHandle,
XtLdrProto->Boot.RegisterProtocol(L"XTOS", &DummyGuid);
/* Register DUMMY protocol as XTOS boot protocol */
return XtLdrProto->Protocol.Register(&DummyGuid, &BlpDummyProtocol);
return XtLdrProto->Protocol.Install(&DummyGuid, &BlpDummyProtocol);
}

View File

@@ -251,5 +251,5 @@ XtLdrModuleMain(IN EFI_HANDLE ImageHandle,
XtFramebufferProtocol.PrintDisplayInformation = FbPrintDisplayInformation;
/* Register XTOS boot protocol */
return XtLdrProtocol->Protocol.Register(&Guid, &XtFramebufferProtocol);
return XtLdrProtocol->Protocol.Install(&Guid, &XtFramebufferProtocol);
}

View File

@@ -603,5 +603,5 @@ XtLdrModuleMain(IN EFI_HANDLE ImageHandle,
XtPeCoffProtocol.RelocateImage = PeRelocateImage;
/* Register PE/COFF protocol */
return XtLdrProtocol->Protocol.Register(&Guid, &XtPeCoffProtocol);
return XtLdrProtocol->Protocol.Install(&Guid, &XtPeCoffProtocol);
}

View File

@@ -542,5 +542,5 @@ XtLdrModuleMain(IN EFI_HANDLE ImageHandle,
XtLdrProtocol->Boot.RegisterProtocol(L"XTOS", &Guid);
/* Install XTOS protocol */
return XtLdrProtocol->Protocol.Register(&Guid, &XtBootProtocol);
return XtLdrProtocol->Protocol.Install(&Guid, &XtBootProtocol);
}