From b3e465c18f383f5415862ad7680ab2290b24f773 Mon Sep 17 00:00:00 2001 From: Konstantin Aladyshev Date: Mon, 8 Aug 2022 11:59:44 +0300 Subject: PCD_DYNAMIC_AS_DYNAMICEX/PCD_INFO_GENERATION/DumpDynPcd Signed-off-by: Konstantin Aladyshev --- UefiLessonsPkg/PCDLesson/PCDLesson.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'UefiLessonsPkg') diff --git a/UefiLessonsPkg/PCDLesson/PCDLesson.c b/UefiLessonsPkg/PCDLesson/PCDLesson.c index 0fca03d..904404f 100644 --- a/UefiLessonsPkg/PCDLesson/PCDLesson.c +++ b/UefiLessonsPkg/PCDLesson/PCDLesson.c @@ -64,5 +64,9 @@ UefiMain ( Print(L"PcdDynamicExInt32=%x\n", PcdGetEx32(&gUefiLessonsPkgTokenSpaceGuid, PcdDynamicExInt32)); PcdSetEx32S(&gUefiLessonsPkgTokenSpaceGuid, PcdDynamicExInt32, 0x77777777); Print(L"PcdDynamicExInt32=%x\n", PcdGetEx32(&gUefiLessonsPkgTokenSpaceGuid, PcdDynamicExInt32)); + + Print(L"PcdDynamicExInt32=%x\n", PcdGet32(PcdDynamicExInt32)); + PcdSet32S(PcdDynamicExInt32, 0x88888888); + Print(L"PcdDynamicExInt32=%x\n", PcdGet32(PcdDynamicExInt32)); return EFI_SUCCESS; } -- cgit v1.2.3-18-g5258