Summary table:
| | Fixed at build | Feature Flag | Patchable | Dynamic | DynamicEx |
|---------------|-----------------------------------|-----------------------------------|------------------------------------|--------------------------------------------------------------|--------------------------------------------------------------------|
| .dec section: | [PcdsFixedAtBuild] | [PcdsFeatureFlag] | [PcdsPatchableInModule] | [PcdsDynamic] | [PcdsDynamicEx] |
| .dsc section: | [PcdsFixedAtBuild] | [PcdsFeatureFlag] | [PcdsPatchableInModule] | [PcdsDynamicDefault]
[PcdsDynamicHii]
[PcdsDynamicVpd] | [PcdsDynamicExDefault]
[PcdsDynamicExHii]
[PcdsDynamicExVpd] |
| .inf section: | [FixedPcd]
[Pcd] | [FeaturePcd]
[Pcd] | [PatchPcd]
[Pcd] | [Pcd] | [PcdEx] |
| Get: | PcdGet
FixedPcdGet | PcdGetBool
FeaturePcdGet | PcdGet
PatchPcdGet | PcdGet | PcdGet
PcdGetEx |
| Set: | - | - | PcdSetS
PatchPcdSet | PcdSetS | PcdSetS
PcdSetExS |
| Scope: | Every module have
its own copy | Every module have
its own copy | Every module have
its own copy | Global for
platform | Global for
platform |
\ = 8|16|32|64|Bool|Ptr