From bba9ad98f13e2cf275aa9f54bb6e737c8f988fb3 Mon Sep 17 00:00:00 2001 From: klu2 Date: Mon, 17 Sep 2007 03:57:13 +0000 Subject: [PATCH] FixedPcd macro should *not* be used in Library's inf file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3868 6f19259b-4bc3-4df7-8a09-765794883524 --- .../BaseReportStatusCodeLib/BaseReportStatusCodeLib.inf | 2 +- .../DxeReportStatusCodeLib.inf | 2 +- .../PeiDxeDebugLibReportStatusCode.inf | 8 ++------ .../PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf | 2 +- .../Library/UefiLibFramework/UefiLibFramework.inf | 2 +- .../DxeCorePerformanceLib/DxeCorePerformanceLib.inf | 7 +------ .../Library/DxePerformanceLib/DxePerformanceLib.inf | 2 +- .../Library/PeiPerformanceLib/PeiPerformanceLib.inf | 6 +----- MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf | 2 +- MdePkg/Library/BaseLib/BaseLib.inf | 2 +- .../BasePerformanceLibNull/BasePerformanceLibNull.inf | 2 +- .../Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf | 2 +- .../BasePostCodeLibPort80/BasePostCodeLibPort80.inf | 2 +- .../PeiDxePostCodeLibReportStatusCode.inf | 2 +- 14 files changed, 15 insertions(+), 28 deletions(-) diff --git a/IntelFrameworkModulePkg/Library/BaseReportStatusCodeLib/BaseReportStatusCodeLib.inf b/IntelFrameworkModulePkg/Library/BaseReportStatusCodeLib/BaseReportStatusCodeLib.inf index fd1ddf1d9e..74ce2a5f59 100644 --- a/IntelFrameworkModulePkg/Library/BaseReportStatusCodeLib/BaseReportStatusCodeLib.inf +++ b/IntelFrameworkModulePkg/Library/BaseReportStatusCodeLib/BaseReportStatusCodeLib.inf @@ -53,6 +53,6 @@ gEfiStatusCodeDataTypeDebugGuid # ALWAYS_CONSUMED -[FixedPcd.common] +[Pcd.common] gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask diff --git a/IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf b/IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf index 3e707f4b16..8983f3f2e6 100644 --- a/IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf +++ b/IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf @@ -59,6 +59,6 @@ gEfiStatusCodeRuntimeProtocolGuid # PROTOCOL ALWAYS_CONSUMED -[FixedPcd.common] +[Pcd.common] gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask diff --git a/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf b/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf index ca4e07bb50..c5e5d101da 100644 --- a/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf +++ b/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf @@ -46,12 +46,8 @@ BaseMemoryLib BaseLib - -[FixedPcd.common] - gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue - gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask - - [Pcd.common] gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel + gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue + gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask diff --git a/IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf b/IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf index 7fb02752ab..2dcdb47122 100644 --- a/IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf +++ b/IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf @@ -53,6 +53,6 @@ gEfiStatusCodeDataTypeDebugGuid # ALWAYS_CONSUMED -[FixedPcd.common] +[Pcd.common] gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask diff --git a/IntelFrameworkPkg/Library/UefiLibFramework/UefiLibFramework.inf b/IntelFrameworkPkg/Library/UefiLibFramework/UefiLibFramework.inf index 396c4c9f70..898df50416 100644 --- a/IntelFrameworkPkg/Library/UefiLibFramework/UefiLibFramework.inf +++ b/IntelFrameworkPkg/Library/UefiLibFramework/UefiLibFramework.inf @@ -62,6 +62,6 @@ gEfiEventLegacyBootGuid # ALWAYS_CONSUMED -[FixedPcd.common] +[Pcd.common] gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize diff --git a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf index b4c2ef3cc7..de8aabd77e 100644 --- a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf +++ b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf @@ -58,11 +58,6 @@ [Protocols] gPerformanceProtocolGuid # PROTOCOL ALWAYS_PRODUCED - -[FixedPcd.common] - gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask - - [Pcd.common] gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries - + gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask diff --git a/MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf b/MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf index 1f3902bc24..57d125b51b 100644 --- a/MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf +++ b/MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf @@ -50,6 +50,6 @@ gPerformanceProtocolGuid # PROTOCOL ALWAYS_CONSUMED -[FixedPcd.common] +[Pcd.common] gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask diff --git a/MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf b/MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf index ab4384b85f..315c7ca3d0 100644 --- a/MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf +++ b/MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf @@ -52,11 +52,7 @@ [Guids] gPeiPerformanceHobGuid # SOMETIMES_CONSUMED - -[FixedPcd.common] - gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask - - [Pcd.common] gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries + gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask diff --git a/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf b/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf index e082695923..ff860b195a 100644 --- a/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf +++ b/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf @@ -60,6 +60,6 @@ [LibraryClasses.IPF] PcdLib -[FixedPcd.IPF] +[Pcd.IPF] gEfiMdePkgTokenSpaceGuid.PcdIoBlockBaseAddressForIpf diff --git a/MdePkg/Library/BaseLib/BaseLib.inf b/MdePkg/Library/BaseLib/BaseLib.inf index 5e143d3779..0be02b2728 100644 --- a/MdePkg/Library/BaseLib/BaseLib.inf +++ b/MdePkg/Library/BaseLib/BaseLib.inf @@ -523,7 +523,7 @@ BaseMemoryLib -[FixedPcd.common] +[Pcd.common] gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength diff --git a/MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf b/MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf index 2d717d438c..87408fb26c 100644 --- a/MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf +++ b/MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf @@ -43,6 +43,6 @@ DebugLib -[FixedPcd.common] +[Pcd.common] gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask diff --git a/MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf b/MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf index 5e5ddf5384..fd34dd24cf 100644 --- a/MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf +++ b/MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf @@ -44,6 +44,6 @@ DebugLib -[FixedPcd.common] +[Pcd.common] gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask diff --git a/MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf b/MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf index 632b8d6fef..4d85ac327c 100644 --- a/MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf +++ b/MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf @@ -42,6 +42,6 @@ PcdLib -[FixedPcd.common] +[Pcd.common] gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask diff --git a/MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PeiDxePostCodeLibReportStatusCode.inf b/MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PeiDxePostCodeLibReportStatusCode.inf index 55d4e61762..df5f60fe84 100644 --- a/MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PeiDxePostCodeLibReportStatusCode.inf +++ b/MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PeiDxePostCodeLibReportStatusCode.inf @@ -40,6 +40,6 @@ PcdLib ReportStatusCodeLib -[FixedPcd.common] +[Pcd.common] gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask -- 2.39.2