diff options
author | Konstantin Aladyshev <aladyshev22@gmail.com> | 2022-08-08 11:59:44 +0300 |
---|---|---|
committer | Konstantin Aladyshev <aladyshev22@gmail.com> | 2022-08-08 11:59:44 +0300 |
commit | b3e465c18f383f5415862ad7680ab2290b24f773 (patch) | |
tree | 89c8fb39e27e4fc4c16d58800b9e5561d47471dc /UefiLessonsPkg | |
parent | 087ef974cbacf30c9ee4745ab00377c2ee5c7425 (diff) | |
download | UEFI-Lessons-b3e465c18f383f5415862ad7680ab2290b24f773.tar.gz UEFI-Lessons-b3e465c18f383f5415862ad7680ab2290b24f773.tar.bz2 UEFI-Lessons-b3e465c18f383f5415862ad7680ab2290b24f773.zip |
PCD_DYNAMIC_AS_DYNAMICEX/PCD_INFO_GENERATION/DumpDynPcd
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Diffstat (limited to 'UefiLessonsPkg')
-rw-r--r-- | UefiLessonsPkg/PCDLesson/PCDLesson.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |