Implement BlRegisterProtocol() routine
This commit is contained in:
@@ -45,7 +45,6 @@ XtLdrModuleMain(IN EFI_HANDLE ImageHandle,
|
||||
IN PEFI_SYSTEM_TABLE SystemTable)
|
||||
{
|
||||
EFI_GUID DummyGuid = XT_XTOS_BOOT_PROTOCOL_GUID;
|
||||
EFI_HANDLE Handle = NULL;
|
||||
EFI_STATUS Status;
|
||||
|
||||
/* Open the XTLDR protocol */
|
||||
@@ -63,6 +62,5 @@ XtLdrModuleMain(IN EFI_HANDLE ImageHandle,
|
||||
XtLdrProto->Boot.RegisterProtocol(L"XTOS", &DummyGuid);
|
||||
|
||||
/* Register DUMMY protocol as XTOS boot protocol */
|
||||
return SystemTable->BootServices->InstallProtocolInterface(&Handle, &DummyGuid, EFI_NATIVE_INTERFACE,
|
||||
&DummyProtocol);
|
||||
return XtLdrProto->Protocol.Register(&DummyGuid, &DummyProtocol);
|
||||
}
|
||||
|
Reference in New Issue
Block a user