Refactor code and fix loader protocol support
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
2022-10-12 23:09:19 +02:00
parent 09e58d0b67
commit 3fa2ec90aa
4 changed files with 17 additions and 29 deletions

View File

@@ -7,6 +7,7 @@
*/
#include <xtbl.h>
#include <blmod.h>
/* EFI Image Handle */
@@ -40,7 +41,7 @@ BlXtLoaderModuleMain(EFI_HANDLE ImageHandle,
EfiSystemTable = SystemTable;
/* Open the XTLDR protocol */
BlGetXtLoaderProtocol(ImageHandle, SystemTable, &EfiXtLdrProtocol);
BlGetXtLoaderProtocol();
/* Print message and return success */
EfiXtLdrProtocol->EfiPrint(L"XTLDR dummy module initialized\n");