Refactor code and fix loader protocol support

このコミットが含まれているのは:
2022-10-12 23:09:19 +02:00
コミット 3fa2ec90aa
4個のファイルの変更17行の追加29行の削除

ファイルの表示

@@ -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");