diff options
author | Regia König | 2022-08-17 10:49:27 +0200 |
---|---|---|
committer | Regia König | 2022-08-17 10:49:27 +0200 |
commit | bc78d650cfe0b759a48afba17686671ac67c9387 (patch) | |
tree | 5268a20f5a4a716a25ae0450fcb0d6635f1ac64d /GNU_efi_HelloWorld/hello.c | |
parent | Efi file outputs own image base (diff) | |
download | memtest86-bc78d650cfe0b759a48afba17686671ac67c9387.tar.gz memtest86-bc78d650cfe0b759a48afba17686671ac67c9387.tar.xz memtest86-bc78d650cfe0b759a48afba17686671ac67c9387.zip |
Expand analyzation script
Diffstat (limited to 'GNU_efi_HelloWorld/hello.c')
-rw-r--r-- | GNU_efi_HelloWorld/hello.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/GNU_efi_HelloWorld/hello.c b/GNU_efi_HelloWorld/hello.c index 171db1e..f40df6e 100644 --- a/GNU_efi_HelloWorld/hello.c +++ b/GNU_efi_HelloWorld/hello.c @@ -1,5 +1,6 @@ #include <efi.h> #include <efilib.h> +#include <efidebug.h> EFI_STATUS EFIAPI @@ -23,7 +24,9 @@ efi_main (EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable) { Print(L"Image base: 0x%lx\n", loaded_image->ImageBase); - int wait = 1; + DEBUG((D_ERROR, "AllocatePool: out of pool %x\n", status)); + + volatile int wait = 1; while(wait) { __asm__ __volatile__("pause"); } |