diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-10-10 03:39:55 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-10-10 03:39:55 +0000 |
commit | 2193b507f0fbd0d4542d9923b2602e31b2dfde4f (patch) | |
tree | bf700dc4283d3913a06a3d0b7ce083c38ea76e0a | |
parent | 47412835e579350c720736e9a51e8b883ab3bf61 (diff) | |
download | edk2-platforms-2193b507f0fbd0d4542d9923b2602e31b2dfde4f.tar.xz |
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
-rw-r--r-- | MdePkg/Include/DxeCore.h | 2 | ||||
-rw-r--r-- | MdePkg/Include/Peim/PeiCis.h | 2 | ||||
-rw-r--r-- | MdePkg/Include/Uefi.h | 6 |
3 files changed, 0 insertions, 10 deletions
diff --git a/MdePkg/Include/DxeCore.h b/MdePkg/Include/DxeCore.h index 4a4f6376fd..f4f57f5d4f 100644 --- a/MdePkg/Include/DxeCore.h +++ b/MdePkg/Include/DxeCore.h @@ -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
diff --git a/MdePkg/Include/Peim/PeiCis.h b/MdePkg/Include/Peim/PeiCis.h index bb7847df70..5578648a9c 100644 --- a/MdePkg/Include/Peim/PeiCis.h +++ b/MdePkg/Include/Peim/PeiCis.h @@ -608,6 +608,4 @@ typedef struct { #include <Ppi/StatusCode.h>
#include <Protocol/FirmwareVolumeBlock.h>
-#include <Protocol/Pcd.h>
-
#endif
diff --git a/MdePkg/Include/Uefi.h b/MdePkg/Include/Uefi.h index 7c9c7480cc..bb2599583f 100644 --- a/MdePkg/Include/Uefi.h +++ b/MdePkg/Include/Uefi.h @@ -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
|