aboutsummaryrefslogtreecommitdiffstats
path: root/Lesson_21/UefiLessonsPkg/PCDLesson/PCDLesson.c
blob: 3c88a9bf65d74f3d40aba6711dd150b99aa37f2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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));
  Print(L"PcdMyVar32_1=%d\n", FixedPcdGet32(PcdMyVar32_1));
  Print(L"PcdMyVar32_2=%d\n", FixedPcdGet32(PcdMyVar32_2));
  return EFI_SUCCESS;
}