DxeCore.h, PeiCis.h and Uefi.h should not include <Protocol/Pcd.h>. If a module need to resolve PCD macro (FixedAtBuild, BinaryPatch or Dynamic), the module should declare that it consume PcdLib library class in MSA file. The Edk II build tool will include "PcdLib.h" in "Autogen.h".

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1699 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12 2006-10-10 03:39:55 +00:00
parent 47412835e5
commit 2193b507f0
3 changed files with 0 additions and 10 deletions

View File

@ -45,6 +45,4 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Common/UefiBaseTypes.h>
#include <Dxe/DxeCis.h>
#include <Protocol/Pcd.h>
#endif

View File

@ -608,6 +608,4 @@ typedef struct {
#include <Ppi/StatusCode.h>
#include <Protocol/FirmwareVolumeBlock.h>
#include <Protocol/Pcd.h>
#endif

View File

@ -49,10 +49,4 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Common/UefiBaseTypes.h>
#include <Uefi/UefiSpec.h>
//
// All module types types have access to PCD for build support
//
#include <Protocol/Pcd.h>
#endif