diff options
26 files changed, 177 insertions, 302 deletions
diff --git a/EdkModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.msa b/EdkModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.msa index 3c086d2..ae72860 100644 --- a/EdkModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.msa +++ b/EdkModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.msa @@ -60,11 +60,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <Constructor>DxeCorePerformanceLibConstructor</Constructor>
</Extern>
</Externs>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdPerformanceLibraryPropertyMask</C_Name>
- <Token>0x00000001</Token>
- <DatumType>UINT8</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</LibraryModuleSurfaceArea>
diff --git a/EdkModulePkg/Library/EdkDxeDebugLibReportStatusCode/EdkDxeDebugLibReportStatusCode.msa b/EdkModulePkg/Library/EdkDxeDebugLibReportStatusCode/EdkDxeDebugLibReportStatusCode.msa index d7dbda6..85d9d1c 100644 --- a/EdkModulePkg/Library/EdkDxeDebugLibReportStatusCode/EdkDxeDebugLibReportStatusCode.msa +++ b/EdkModulePkg/Library/EdkDxeDebugLibReportStatusCode/EdkDxeDebugLibReportStatusCode.msa @@ -54,16 +54,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <Constructor>DebugLibConstructor</Constructor>
</Extern>
</Externs>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdDebugPropertyMask</C_Name>
- <Token>0x00000005</Token>
- <DatumType>UINT8</DatumType>
- </PcdData>
- <PcdData ItemType="PATCHABLE_IN_MODULE">
+ </PcdEntry>
+ <PcdEntry PcdItemType="PATCHABLE_IN_MODULE">
<C_Name>PcdDebugPrintErrorLevel</C_Name>
- <Token>0x00000006</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</LibraryModuleSurfaceArea>
diff --git a/EdkModulePkg/Library/EdkDxePerformanceLib/EdkDxePerformanceLib.msa b/EdkModulePkg/Library/EdkDxePerformanceLib/EdkDxePerformanceLib.msa index 5fe5bd6..a0dd07c 100644 --- a/EdkModulePkg/Library/EdkDxePerformanceLib/EdkDxePerformanceLib.msa +++ b/EdkModulePkg/Library/EdkDxePerformanceLib/EdkDxePerformanceLib.msa @@ -52,11 +52,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <Constructor>PerformanceLibConstructor</Constructor>
</Extern>
</Externs>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdPerformanceLibraryPropertyMask</C_Name>
- <Token>0x00000001</Token>
- <DatumType>UINT8</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</LibraryModuleSurfaceArea>
diff --git a/EdkModulePkg/Library/EdkPeiPerformanceLib/EdkPeiPerformanceLib.msa b/EdkModulePkg/Library/EdkPeiPerformanceLib/EdkPeiPerformanceLib.msa index e3d21cf..9bf43a3 100644 --- a/EdkModulePkg/Library/EdkPeiPerformanceLib/EdkPeiPerformanceLib.msa +++ b/EdkModulePkg/Library/EdkPeiPerformanceLib/EdkPeiPerformanceLib.msa @@ -51,11 +51,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <C_Name>PeiPerformanceHob</C_Name>
</GuidEntry>
</Guids>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdPerformanceLibraryPropertyMask</C_Name>
- <Token>0x00000001</Token>
- <DatumType>UINT8</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</LibraryModuleSurfaceArea>
diff --git a/EdkModulePkg/Library/EdkUefiDebugLibConOut/EdkUefiDebugLibConOut.msa b/EdkModulePkg/Library/EdkUefiDebugLibConOut/EdkUefiDebugLibConOut.msa index dd724d0..615b771 100644 --- a/EdkModulePkg/Library/EdkUefiDebugLibConOut/EdkUefiDebugLibConOut.msa +++ b/EdkModulePkg/Library/EdkUefiDebugLibConOut/EdkUefiDebugLibConOut.msa @@ -54,16 +54,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <Constructor>DebugLibConstructor</Constructor>
</Extern>
</Externs>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdDebugPropertyMask</C_Name>
- <Token>0x00000005</Token>
- <DatumType>UINT8</DatumType>
- </PcdData>
- <PcdData ItemType="PATCHABLE_IN_MODULE">
+ </PcdEntry>
+ <PcdEntry PcdItemType="PATCHABLE_IN_MODULE">
<C_Name>PcdDebugPrintErrorLevel</C_Name>
- <Token>0x00000006</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</LibraryModuleSurfaceArea>
diff --git a/EdkModulePkg/Library/EdkUefiDebugLibStdErr/EdkUefiDebugLibStdErr.msa b/EdkModulePkg/Library/EdkUefiDebugLibStdErr/EdkUefiDebugLibStdErr.msa index fcfa3fb..d7a13ed 100644 --- a/EdkModulePkg/Library/EdkUefiDebugLibStdErr/EdkUefiDebugLibStdErr.msa +++ b/EdkModulePkg/Library/EdkUefiDebugLibStdErr/EdkUefiDebugLibStdErr.msa @@ -54,16 +54,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <Constructor>DebugLibConstructor</Constructor>
</Extern>
</Externs>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdDebugPropertyMask</C_Name>
- <Token>0x00000005</Token>
- <DatumType>UINT8</DatumType>
- </PcdData>
- <PcdData ItemType="PATCHABLE_IN_MODULE">
+ </PcdEntry>
+ <PcdEntry PcdItemType="PATCHABLE_IN_MODULE">
<C_Name>PcdDebugPrintErrorLevel</C_Name>
- <Token>0x00000006</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</LibraryModuleSurfaceArea>
diff --git a/EdkModulePkg/Universal/PCD/Dxe/Pcd.msa b/EdkModulePkg/Universal/PCD/Dxe/Pcd.msa index ee84d83..3765b53 100644 --- a/EdkModulePkg/Universal/PCD/Dxe/Pcd.msa +++ b/EdkModulePkg/Universal/PCD/Dxe/Pcd.msa @@ -74,16 +74,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <ModuleEntryPoint>PcdDxeInit</ModuleEntryPoint>
</Extern>
</Externs>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdMaxPeiPcdCallBackNumberPerPcdEntry</C_Name>
- <Token>0x0001000f</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- <PcdData ItemType="FIXED_AT_BUILD">
+ </PcdEntry>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdVpdBaseAddress</C_Name>
- <Token>0x00010010</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</ModuleSurfaceArea>
diff --git a/EdkModulePkg/Universal/PCD/Pei/Pcd.msa b/EdkModulePkg/Universal/PCD/Pei/Pcd.msa index d9d1bae..85eadda 100644 --- a/EdkModulePkg/Universal/PCD/Pei/Pcd.msa +++ b/EdkModulePkg/Universal/PCD/Pei/Pcd.msa @@ -80,16 +80,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <ModuleEntryPoint>PcdPeimInit</ModuleEntryPoint>
</Extern>
</Externs>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdMaxPeiPcdCallBackNumberPerPcdEntry</C_Name>
- <Token>0x0001000f</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- <PcdData ItemType="FIXED_AT_BUILD">
+ </PcdEntry>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdVpdBaseAddress</C_Name>
- <Token>0x00010010</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</ModuleSurfaceArea>
diff --git a/EdkModulePkg/Universal/PCD/Test/PeiPcdTest.msa b/EdkModulePkg/Universal/PCD/Test/PeiPcdTest.msa index b772e83..9c57713 100644 --- a/EdkModulePkg/Universal/PCD/Test/PeiPcdTest.msa +++ b/EdkModulePkg/Universal/PCD/Test/PeiPcdTest.msa @@ -68,36 +68,24 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <ModuleEntryPoint>PcdTestPeimInit</ModuleEntryPoint>
</Extern>
</Externs>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdMaxPeiPcdCallBackNumberPerPcdEntry</C_Name>
- <Token>0x0001000f</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- <PcdData ItemType="DYNAMIC">
+ </PcdEntry>
+ <PcdEntry PcdItemType="DYNAMIC">
<C_Name>PcdTestDynamicUint8</C_Name>
- <Token>0x00011000</Token>
- <DatumType>UINT8</DatumType>
- </PcdData>
- <PcdData ItemType="DYNAMIC">
+ </PcdEntry>
+ <PcdEntry PcdItemType="DYNAMIC">
<C_Name>PcdTestDynamicUint16</C_Name>
- <Token>0x00011001</Token>
- <DatumType>UINT16</DatumType>
- </PcdData>
- <PcdData ItemType="DYNAMIC">
+ </PcdEntry>
+ <PcdEntry PcdItemType="DYNAMIC">
<C_Name>PcdTestDynamicUint32</C_Name>
- <Token>0x00011002</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- <PcdData ItemType="DYNAMIC">
+ </PcdEntry>
+ <PcdEntry PcdItemType="DYNAMIC">
<C_Name>PcdTestDynamicUint64</C_Name>
- <Token>0x00011003</Token>
- <DatumType>UINT64</DatumType>
- </PcdData>
- <PcdData ItemType="DYNAMIC">
+ </PcdEntry>
+ <PcdEntry PcdItemType="DYNAMIC">
<C_Name>PcdTestDynamicBoolean</C_Name>
- <Token>0x00011004</Token>
- <DatumType>BOOLEAN</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</ModuleSurfaceArea>
diff --git a/EdkNt32Pkg/Dxe/WinNtThunk/Bus/WinNtBusDriver/WinNtBusDriver.msa b/EdkNt32Pkg/Dxe/WinNtThunk/Bus/WinNtBusDriver/WinNtBusDriver.msa index 093a18c..0d17e11 100644 --- a/EdkNt32Pkg/Dxe/WinNtThunk/Bus/WinNtBusDriver/WinNtBusDriver.msa +++ b/EdkNt32Pkg/Dxe/WinNtThunk/Bus/WinNtBusDriver/WinNtBusDriver.msa @@ -97,71 +97,45 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <ComponentName>gWinNtBusDriverComponentName</ComponentName>
</Extern>
</Externs>
- <PCDs>
- <PcdData ItemType="DYNAMIC">
+ <PcdCoded>
+ <PcdEntry PcdItemType="DYNAMIC">
<C_Name>PcdWinNtConsole</C_Name>
- <Token>0x0000100a</Token>
- <DatumType>VOID*</DatumType>
- </PcdData>
- <PcdData ItemType="DYNAMIC">
+ </PcdEntry>
+ <PcdEntry PcdItemType="DYNAMIC">
<C_Name>PcdWinNtUga</C_Name>
- <Token>0x00001003</Token>
- <DatumType>VOID*</DatumType>
- </PcdData>
- <PcdData ItemType="DYNAMIC">
+ </PcdEntry>
+ <PcdEntry PcdItemType="DYNAMIC">
<C_Name>PcdWinNtSerialPort</C_Name>
- <Token>0x00001002</Token>
- <DatumType>VOID*</DatumType>
- </PcdData>
- <PcdData ItemType="DYNAMIC">
+ </PcdEntry>
+ <PcdEntry PcdItemType="DYNAMIC">
<C_Name>PcdWinNtFileSystem</C_Name>
- <Token>0x00001004</Token>
- <DatumType>VOID*</DatumType>
- </PcdData>
- <PcdData ItemType="DYNAMIC">
+ </PcdEntry>
+ <PcdEntry PcdItemType="DYNAMIC">
<C_Name>PcdWinNtVirtualDisk</C_Name>
- <Token>0x00001001</Token>
- <DatumType>VOID*</DatumType>
- </PcdData>
- <PcdData ItemType="DYNAMIC">
+ </PcdEntry>
+ <PcdEntry PcdItemType="DYNAMIC">
<C_Name>PcdWinNtPhysicalDisk</C_Name>
- <Token>0x00001000</Token>
- <DatumType>VOID*</DatumType>
- </PcdData>
- <PcdData ItemType="DYNAMIC">
+ </PcdEntry>
+ <PcdEntry PcdItemType="DYNAMIC">
<C_Name>PcdWinNtCpuModel</C_Name>
- <Token>0x00001007</Token>
- <DatumType>VOID*</DatumType>
- </PcdData>
- <PcdData ItemType="DYNAMIC">
+ </PcdEntry>
+ <PcdEntry PcdItemType="DYNAMIC">
<C_Name>PcdWinNtCpuSpeed</C_Name>
- <Token>0x00001008</Token>
- <DatumType>VOID*</DatumType>
- </PcdData>
- <PcdData ItemType="DYNAMIC">
+ </PcdEntry>
+ <PcdEntry PcdItemType="DYNAMIC">
<C_Name>PcdWinNtMemorySize</C_Name>
- <Token>0x00001005</Token>
- <DatumType>VOID*</DatumType>
- </PcdData>
- <PcdData ItemType="PATCHABLE_IN_MODULE">
+ </PcdEntry>
+ <PcdEntry PcdItemType="PATCHABLE_IN_MODULE">
<C_Name>PcdWinNtBinaryPatch1</C_Name>
- <Token>0x0001000b</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- <PcdData ItemType="PATCHABLE_IN_MODULE">
+ </PcdEntry>
+ <PcdEntry PcdItemType="PATCHABLE_IN_MODULE">
<C_Name>PcdWinNtBinaryPatch2</C_Name>
- <Token>0x0001000c</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- <PcdData ItemType="FEATURE_FLAG">
+ </PcdEntry>
+ <PcdEntry PcdItemType="FEATURE_FLAG">
<C_Name>PcdWinNtFeatureFlag1</C_Name>
- <Token>0x0001000d</Token>
- <DatumType>BOOLEAN</DatumType>
- </PcdData>
- <PcdData ItemType="DYNAMIC">
+ </PcdEntry>
+ <PcdEntry PcdItemType="DYNAMIC">
<C_Name>PcdWinNtDynamicUINT32</C_Name>
- <Token>0x0001000e</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</ModuleSurfaceArea>
diff --git a/EdkNt32Pkg/Sec/SecMain.msa b/EdkNt32Pkg/Sec/SecMain.msa index 158b75b..73e74eb 100644 --- a/EdkNt32Pkg/Sec/SecMain.msa +++ b/EdkNt32Pkg/Sec/SecMain.msa @@ -68,23 +68,17 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <ModuleEntryPoint></ModuleEntryPoint>
</Extern>
</Externs>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdWinNtMemorySizeForSecMain</C_Name>
- <Token>0x00001005</Token>
- <DatumType>VOID*</DatumType>
- </PcdData>
- <PcdData ItemType="FIXED_AT_BUILD">
+ </PcdEntry>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdWinNtFirmwareVolume</C_Name>
- <Token>0x00001009</Token>
- <DatumType>VOID*</DatumType>
- </PcdData>
- <PcdData ItemType="FIXED_AT_BUILD">
+ </PcdEntry>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdWinNtBootMode</C_Name>
- <Token>0x00001006</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
<BuildOptions>
<Option>BUILD_TYPE=CUSTOM_BUILD</Option>
</BuildOptions>
diff --git a/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.msa b/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.msa index 24e2a16..f29102c 100644 --- a/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.msa +++ b/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.msa @@ -44,21 +44,15 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <Includes>
<PackageName>MdePkg</PackageName>
</Includes>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdDebugPropertyMask</C_Name>
- <Token>0x00000005</Token>
- <DatumType>UINT8</DatumType>
- </PcdData>
- <PcdData ItemType="FIXED_AT_BUILD">
+ </PcdEntry>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdDebugClearMemoryValue</C_Name>
- <Token>0x00000008</Token>
- <DatumType>UINT8</DatumType>
- </PcdData>
- <PcdData ItemType="PATCHABLE_IN_MODULE">
+ </PcdEntry>
+ <PcdEntry PcdItemType="PATCHABLE_IN_MODULE">
<C_Name>PcdDebugPrintErrorLevel</C_Name>
- <Token>0x00000006</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</LibraryModuleSurfaceArea>
diff --git a/MdePkg/Library/BaseDebugLibReportStatusCode/BaseDebugLibReportStatusCode.msa b/MdePkg/Library/BaseDebugLibReportStatusCode/BaseDebugLibReportStatusCode.msa index b2ef0e3..77eae42 100644 --- a/MdePkg/Library/BaseDebugLibReportStatusCode/BaseDebugLibReportStatusCode.msa +++ b/MdePkg/Library/BaseDebugLibReportStatusCode/BaseDebugLibReportStatusCode.msa @@ -44,21 +44,15 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <Includes>
<PackageName>MdePkg</PackageName>
</Includes>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdDebugPropertyMask</C_Name>
- <Token>0x00000005</Token>
- <DatumType>UINT8</DatumType>
- </PcdData>
- <PcdData ItemType="FIXED_AT_BUILD">
+ </PcdEntry>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdDebugClearMemoryValue</C_Name>
- <Token>0x00000008</Token>
- <DatumType>UINT8</DatumType>
- </PcdData>
- <PcdData ItemType="PATCHABLE_IN_MODULE">
+ </PcdEntry>
+ <PcdEntry PcdItemType="PATCHABLE_IN_MODULE">
<C_Name>PcdDebugPrintErrorLevel</C_Name>
- <Token>0x00000006</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</LibraryModuleSurfaceArea>
diff --git a/MdePkg/Library/BaseLib/BaseLib-Gcc.msa b/MdePkg/Library/BaseLib/BaseLib-Gcc.msa index 1957312..aa51b2d 100644 --- a/MdePkg/Library/BaseLib/BaseLib-Gcc.msa +++ b/MdePkg/Library/BaseLib/BaseLib-Gcc.msa @@ -293,26 +293,18 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <Includes>
<PackageName>MdePkg</PackageName>
</Includes>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdMaximumUnicodeStringLength</C_Name>
- <Token>0x00000001</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- <PcdData ItemType="FIXED_AT_BUILD">
+ </PcdEntry>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdMaximumAsciiStringLength</C_Name>
- <Token>0x00000002</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- <PcdData ItemType="FIXED_AT_BUILD">
+ </PcdEntry>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdMaximumLinkedListLength</C_Name>
- <Token>0x00000003</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- <PcdData ItemType="FIXED_AT_BUILD">
+ </PcdEntry>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdSpinLockTimeout</C_Name>
- <Token>0x00000004</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</LibraryModuleSurfaceArea>
diff --git a/MdePkg/Library/BaseLib/BaseLib.msa b/MdePkg/Library/BaseLib/BaseLib.msa index 0d07e79..5cf3b55 100644 --- a/MdePkg/Library/BaseLib/BaseLib.msa +++ b/MdePkg/Library/BaseLib/BaseLib.msa @@ -295,26 +295,18 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <Includes>
<PackageName>MdePkg</PackageName>
</Includes>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdMaximumUnicodeStringLength</C_Name>
- <Token>0x00000001</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- <PcdData ItemType="FIXED_AT_BUILD">
+ </PcdEntry>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdMaximumAsciiStringLength</C_Name>
- <Token>0x00000002</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- <PcdData ItemType="FIXED_AT_BUILD">
+ </PcdEntry>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdMaximumLinkedListLength</C_Name>
- <Token>0x00000003</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- <PcdData ItemType="FIXED_AT_BUILD">
+ </PcdEntry>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdSpinLockTimeout</C_Name>
- <Token>0x00000004</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</LibraryModuleSurfaceArea>
diff --git a/MdePkg/Library/BasePciExpressLib/BasePciExpressLib.msa b/MdePkg/Library/BasePciExpressLib/BasePciExpressLib.msa index c51521d..71ccc2d 100644 --- a/MdePkg/Library/BasePciExpressLib/BasePciExpressLib.msa +++ b/MdePkg/Library/BasePciExpressLib/BasePciExpressLib.msa @@ -42,11 +42,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <Includes>
<PackageName>MdePkg</PackageName>
</Includes>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdPciExpressBaseAddress</C_Name>
- <Token>0x0000000A</Token>
- <DatumType>UINT64</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</LibraryModuleSurfaceArea>
diff --git a/MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.msa b/MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.msa index f288f36..dc18554 100644 --- a/MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.msa +++ b/MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.msa @@ -42,11 +42,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <Includes>
<PackageName>MdePkg</PackageName>
</Includes>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdPerformanceLibraryPropertyMask</C_Name>
- <Token>0x00000001</Token>
- <DatumType>UINT8</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</LibraryModuleSurfaceArea>
diff --git a/MdePkg/Library/BasePostCodeLib80/BasePostCodeLib80.msa b/MdePkg/Library/BasePostCodeLib80/BasePostCodeLib80.msa index 21b055e..f17640d 100644 --- a/MdePkg/Library/BasePostCodeLib80/BasePostCodeLib80.msa +++ b/MdePkg/Library/BasePostCodeLib80/BasePostCodeLib80.msa @@ -42,11 +42,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <Includes>
<PackageName>MdePkg</PackageName>
</Includes>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdPostCodePropertyMask</C_Name>
- <Token>0x0000000b</Token>
- <DatumType>UINT8</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</LibraryModuleSurfaceArea>
diff --git a/MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.msa b/MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.msa index 0fdf59a..7782016 100644 --- a/MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.msa +++ b/MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.msa @@ -42,11 +42,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <Includes>
<PackageName>MdePkg</PackageName>
</Includes>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdPostCodePropertyMask</C_Name>
- <Token>0x0000000b</Token>
- <DatumType>UINT8</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</LibraryModuleSurfaceArea>
diff --git a/MdePkg/Library/BasePostCodeLibReportStatusCode/BasePostCodeLibReportStatusCode.msa b/MdePkg/Library/BasePostCodeLibReportStatusCode/BasePostCodeLibReportStatusCode.msa index 28f84d1..746bd68 100644 --- a/MdePkg/Library/BasePostCodeLibReportStatusCode/BasePostCodeLibReportStatusCode.msa +++ b/MdePkg/Library/BasePostCodeLibReportStatusCode/BasePostCodeLibReportStatusCode.msa @@ -41,11 +41,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <Includes>
<PackageName>MdePkg</PackageName>
</Includes>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdPostCodePropertyMask</C_Name>
- <Token>0x0000000b</Token>
- <DatumType>UINT8</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</LibraryModuleSurfaceArea>
diff --git a/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.msa b/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.msa index 78c20eb..7dcd897 100644 --- a/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.msa +++ b/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.msa @@ -50,11 +50,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <C_Name>StatusCodeDataTypeDebug</C_Name>
</GuidEntry>
</Guids>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdReportStatusCodePropertyMask</C_Name>
- <Token>0x00000007</Token>
- <DatumType>UINT8</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</LibraryModuleSurfaceArea>
diff --git a/MdePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.msa b/MdePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.msa index 2196461..6c1fa5f 100644 --- a/MdePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.msa +++ b/MdePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.msa @@ -60,11 +60,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <C_Name>StatusCodeSpecificData</C_Name>
</GuidEntry>
</Guids>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdReportStatusCodePropertyMask</C_Name>
- <Token>0x00000007</Token>
- <DatumType>UINT8</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</LibraryModuleSurfaceArea>
diff --git a/MdePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.msa b/MdePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.msa index d2d0f17..98e2529 100644 --- a/MdePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.msa +++ b/MdePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.msa @@ -57,11 +57,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <C_Name>StatusCodeSpecificData</C_Name>
</GuidEntry>
</Guids>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdReportStatusCodePropertyMask</C_Name>
- <Token>0x00000007</Token>
- <DatumType>UINT8</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</LibraryModuleSurfaceArea>
diff --git a/MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.msa b/MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.msa index 1f396a4..3ca7310 100644 --- a/MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.msa +++ b/MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.msa @@ -45,21 +45,15 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <Includes>
<PackageName>MdePkg</PackageName>
</Includes>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdDebugPropertyMask</C_Name>
- <Token>0x00000005</Token>
- <DatumType>UINT8</DatumType>
- </PcdData>
- <PcdData ItemType="FIXED_AT_BUILD">
+ </PcdEntry>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdDebugClearMemoryValue</C_Name>
- <Token>0x00000008</Token>
- <DatumType>UINT8</DatumType>
- </PcdData>
- <PcdData ItemType="PATCHABLE_IN_MODULE">
+ </PcdEntry>
+ <PcdEntry PcdItemType="PATCHABLE_IN_MODULE">
<C_Name>PcdDebugPrintErrorLevel</C_Name>
- <Token>0x00000006</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</LibraryModuleSurfaceArea>
diff --git a/MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.msa b/MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.msa index e894c58..8802e95 100644 --- a/MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.msa +++ b/MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.msa @@ -45,21 +45,15 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <Includes>
<PackageName>MdePkg</PackageName>
</Includes>
- <PCDs>
- <PcdData ItemType="FIXED_AT_BUILD">
+ <PcdCoded>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdDebugPropertyMask</C_Name>
- <Token>0x00000005</Token>
- <DatumType>UINT8</DatumType>
- </PcdData>
- <PcdData ItemType="FIXED_AT_BUILD">
+ </PcdEntry>
+ <PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdDebugClearMemoryValue</C_Name>
- <Token>0x00000008</Token>
- <DatumType>UINT8</DatumType>
- </PcdData>
- <PcdData ItemType="PATCHABLE_IN_MODULE">
+ </PcdEntry>
+ <PcdEntry PcdItemType="PATCHABLE_IN_MODULE">
<C_Name>PcdDebugPrintErrorLevel</C_Name>
- <Token>0x00000006</Token>
- <DatumType>UINT32</DatumType>
- </PcdData>
- </PCDs>
+ </PcdEntry>
+ </PcdCoded>
</LibraryModuleSurfaceArea>
diff --git a/Tools/XMLSchema/SurfaceArea.xsd b/Tools/XMLSchema/SurfaceArea.xsd index ed47c11..ca44ce7 100644 --- a/Tools/XMLSchema/SurfaceArea.xsd +++ b/Tools/XMLSchema/SurfaceArea.xsd @@ -100,6 +100,7 @@ <xs:element minOccurs="0" maxOccurs="1" ref="Guids"/>
<xs:element minOccurs="0" maxOccurs="1" ref="Externs"/>
<xs:element minOccurs="0" maxOccurs="1" ref="PCDs"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="PcdCoded"/>
<xs:element minOccurs="0" maxOccurs="1" ref="BuildOptions"/>
</xs:sequence>
</xs:complexType>
|