diff options
Diffstat (limited to 'efi_memtest/MemtestEfi.c')
-rw-r--r-- | efi_memtest/MemtestEfi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/efi_memtest/MemtestEfi.c b/efi_memtest/MemtestEfi.c index c2ed3de..03143b3 100644 --- a/efi_memtest/MemtestEfi.c +++ b/efi_memtest/MemtestEfi.c @@ -3,6 +3,7 @@ #include "Library/UefiApplicationEntryPoint.h" #include "Guid/FileSystemInfo.h" #include "Protocol/LoadedImage.h" +#include "Library/DebugLib.h" #include "main.h" // TODO move into main dir #include "memtest86+/logger.h" @@ -32,6 +33,7 @@ UefiMain ( IN EFI_SYSTEM_TABLE *SystemTable ) { + DEBUG ((EFI_D_INFO, "My Entry point: 0x%08x\r\n", (CHAR16*)UefiMain)); SystemTable->ConOut->ClearScreen(SystemTable->ConOut); SystemTable->ConOut->SetCursorPosition(SystemTable->ConOut, 0, 0); @@ -45,6 +47,7 @@ UefiMain ( print_log(msg, sizeof(msg) - 1); } + // TODO remove. Just for debugging /* if (logflag) { char log[41] = "Address of UefiMain: "; |