From 2193b507f0fbd0d4542d9923b2602e31b2dfde4f Mon Sep 17 00:00:00 2001 From: qwang12 Date: Tue, 10 Oct 2006 03:39:55 +0000 Subject: [PATCH] DxeCore.h, PeiCis.h and Uefi.h should not include . 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 --- MdePkg/Include/DxeCore.h | 2 -- MdePkg/Include/Peim/PeiCis.h | 2 -- MdePkg/Include/Uefi.h | 6 ------ 3 files changed, 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 #include -#include - #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 #include -#include - #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 #include - -// -// All module types types have access to PCD for build support -// -#include - #endif