diff options
Diffstat (limited to 'memtestEDK/Memtest/GraphicsOutput/TextOutput.c')
-rw-r--r-- | memtestEDK/Memtest/GraphicsOutput/TextOutput.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/memtestEDK/Memtest/GraphicsOutput/TextOutput.c b/memtestEDK/Memtest/GraphicsOutput/TextOutput.c new file mode 100644 index 0000000..2438786 --- /dev/null +++ b/memtestEDK/Memtest/GraphicsOutput/TextOutput.c @@ -0,0 +1,21 @@ +#include <stdio.h> + +#include <stdint.h> +#include <Uefi.h> +#include <Library/UefiLib.h> +#include <Library/UefiApplicationEntryPoint.h> + +EFI_STATUS +EFIAPI +UefiMain ( + IN EFI_HANDLE ImageHandle, + IN EFI_SYSTEM_TABLE *SystemTable + ) +{ + + EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *Console = SystemTable->ConOut; + Console->ClearScreen(Console); + while(1) {} + return EFI_SUCCESS; + +}
\ No newline at end of file |