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

#include <Library/PcdLib.h>

EFI_STATUS
EFIAPI
UefiMain (
  IN EFI_HANDLE        ImageHandle,
  IN EFI_SYSTEM_TABLE  *SystemTable
  )
{
  Print(L"PcdMyVar32=%d\n", FixedPcdGet32(PcdMyVar32));
  return EFI_SUCCESS;
}