aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lessons/Lesson_25/README.md45
1 files changed, 45 insertions, 0 deletions
diff --git a/Lessons/Lesson_25/README.md b/Lessons/Lesson_25/README.md
index 1c8035c..c91bd67 100644
--- a/Lessons/Lesson_25/README.md
+++ b/Lessons/Lesson_25/README.md
@@ -1,3 +1,48 @@
+Here is all the PCD functions. You can find their definition in the [https://github.com/tianocore/edk2/blob/master/MdePkg/Include/Library/PcdLib.h](https://github.com/tianocore/edk2/blob/master/MdePkg/Include/Library/PcdLib.h):
+```
+FixedPcdGetBool (TokenName)
+FixedPcdGet8 (TokenName)
+FixedPcdGet16 (TokenName)
+FixedPcdGet32 (TokenName)
+FixedPcdGet64 (TokenName)
+FixedPcdGetPtr (TokenName)
+FixedPcdGetSize (TokenName)
+
+----------------------------------------------------------------------------------------------------
+
+FeaturePcdGet (TokenName)
+
+----------------------------------------------------------------------------------------------------
+
+PatchPcdGetBool (TokenName) PatchPcdSetBool (TokenName, Value)
+PatchPcdGet8 (TokenName) PatchPcdSet8 (TokenName, Value)
+PatchPcdGet16 (TokenName) PatchPcdSet16 (TokenName, Value)
+PatchPcdGet32 (TokenName) PatchPcdSet32 (TokenName, Value)
+PatchPcdGet64 (TokenName) PatchPcdSet64 (TokenName, Value)
+PatchPcdGetPtr (TokenName) PatchPcdSetPtr (TokenName, Size, Buffer)
+PatchPcdGetSize (TokenName)
+
+----------------------------------------------------------------------------------------------------
+
+PcdGetBool (TokenName) PcdSetBoolS (TokenName, Value)
+PcdGet8 (TokenName) PcdSet8S (TokenName, Value)
+PcdGet16 (TokenName) PcdSet16S (TokenName, Value)
+PcdGet32 (TokenName) PcdSet32S (TokenName, Value)
+PcdGet64 (TokenName) PcdSet64S (TokenName, Value)
+PcdGetPtr (TokenName) PcdSetPtrS (TokenName, SizeOfBuffer, Buffer)
+PcdGetSize (TokenName)
+
+----------------------------------------------------------------------------------------------------
+
+PcdGetExBool (Guid, TokenName) PcdSetExBoolS (Guid, TokenName, Value)
+PcdGetEx8 (Guid, TokenName) PcdSetEx8S (Guid, TokenName, Value)
+PcdGetEx16 (Guid, TokenName) PcdSetEx16S (Guid, TokenName, Value)
+PcdGetEx32 (Guid, TokenName) PcdSetEx32S (Guid, TokenName, Value)
+PcdGetEx64 (Guid, TokenName) PcdSetEx64S (Guid, TokenName, Value)
+PcdGetExPtr (Guid, TokenName) PcdSetExPtrS (Guid, TokenName, SizeOfBuffer, Buffer)
+PcdGetExSize (Guid, TokenName)
+```
+
Summary table:
| | Fixed at build | Feature Flag | Patchable | Dynamic | DynamicEx |