diff options
Diffstat (limited to 'Lessons/Lesson_25/UefiLessonsPkg')
-rw-r--r-- | Lessons/Lesson_25/UefiLessonsPkg/PCDLesson/PCDLesson.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lessons/Lesson_25/UefiLessonsPkg/PCDLesson/PCDLesson.c b/Lessons/Lesson_25/UefiLessonsPkg/PCDLesson/PCDLesson.c index 0fca03d..904404f 100644 --- a/Lessons/Lesson_25/UefiLessonsPkg/PCDLesson/PCDLesson.c +++ b/Lessons/Lesson_25/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; } |