aboutsummaryrefslogtreecommitdiffstats
path: root/Lesson_08/UefiLessonsPkg/HelloWorld/HelloWorld.c
blob: 1f058998f4cc742656d2a0bffd78825965cb05b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiLib.h>

EFI_STATUS
EFIAPI
UefiMain (
  IN EFI_HANDLE        ImageHandle,
  IN EFI_SYSTEM_TABLE  *SystemTable
  )
{
  SystemTable->ConOut->OutputString(SystemTable->ConOut, L"Hello World!\n");
  gST->ConOut->OutputString(gST->ConOut, L"Hello again!\n");
  Print(L"Bye!\n");
  return EFI_SUCCESS;
}