diff options
author | Regia König | 2022-03-10 14:51:02 +0100 |
---|---|---|
committer | Regia König | 2022-03-10 14:51:02 +0100 |
commit | e97baaaa249e922a15b586d10a340c8e1076ad6d (patch) | |
tree | 76098632d8a8bb965963cbe5675fd00318d0b3ff /efi_memtest/MemtestEfi.c | |
parent | Add stuff (diff) | |
download | memtest86-e97baaaa249e922a15b586d10a340c8e1076ad6d.tar.gz memtest86-e97baaaa249e922a15b586d10a340c8e1076ad6d.tar.xz memtest86-e97baaaa249e922a15b586d10a340c8e1076ad6d.zip |
Split build process into debug build and release build (gdb vs lto)
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: "; |