mirror of https://github.com/acidanthera/audk.git
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:
parent
47412835e5
commit
2193b507f0
|
@ -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
|
||||
|
|
|
@ -608,6 +608,4 @@ typedef struct {
|
|||
#include <Ppi/StatusCode.h>
|
||||
|
||||
#include <Protocol/FirmwareVolumeBlock.h>
|
||||
#include <Protocol/Pcd.h>
|
||||
|
||||
#endif
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue