Summary table: | | Fixed at build | Feature Flag | Patchable | Dynamic | DynamicEx | | --------------------- | ------------------ |--------------------|--------------------------|----------------------|------------------------| | .dec section: | [PcdsFixedAtBuild] | [PcdsFeatureFlag] | [PcdsPatchableInModule] | [PcdsDynamic] | [PcdsDynamicEx] | | .dsc section: | [PcdsFixedAtBuild]
| [PcdsFeatureFlag]
| [PcdsPatchableInModule]
| [PcdsDynamicDefault]
| [PcdsDynamicExDefault]
| |
|
|
|
| [PcdsDynamicHii]
| [PcdsDynamicExHii]
| |
|
|
|
| [PcdsDynamicVpd]
| [PcdsDynamicExVpd]
| | .inf section:
| [FixedPcd]
| [FeaturePcd]
| [PatchPcd]
| [Pcd]
| [PcdEx]
| | | [Pcd] | [Pcd] | [Pcd] | | | | Get:
| PcdGet
| PcdGetBool
| PcdGet
| PcdGet
| PcdGet
| | | FixedPcdGet | FeaturePcdGet | PatchPcdGet | | PcdGetEx | | Set:
| -
| -
| PcdSetS
| PcdSetS
| PcdSetS
| | | | | PatchPcdSet | | PcdSetExS | | Scope:
| Every module have
| Every module have
| Every module have
| Global for
| Global for
| | | its own copy | its own copy | its own copy | platfrom | platfrom | | | 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