From: qwang12 Date: Wed, 14 Mar 2007 02:14:28 +0000 (+0000) Subject: Remove the BugBug in package header file for DXE_CORE and DXE_DRIVER which force... X-Git-Tag: edk2-stable201903~23431 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=675a7b0b3fb896e5fcf4128b4fea52fc7d0811a1;hp=ddc9ec37af077546ec68fa42115a362b40ad8e8b Remove the BugBug in package header file for DXE_CORE and DXE_DRIVER which force every driver to include MdePkg/Include/Library/PeCoffLib.h. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2458 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/EdkModulePkg/Include/EdkDxe.h b/EdkModulePkg/Include/EdkDxe.h index 3e1b3d5610..80a55a3e4d 100644 --- a/EdkModulePkg/Include/EdkDxe.h +++ b/EdkModulePkg/Include/EdkDxe.h @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2006, Intel Corporation +Copyright (c) 2006 - 2007, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -26,13 +26,7 @@ Abstract: #ifndef __EDK_DXE_H__ #define __EDK_DXE_H__ -// #include -// BUGBUG: We must include this lib here due to ordering issues -// -#include - - #include #include #include diff --git a/EdkModulePkg/Include/EdkDxeCore.h b/EdkModulePkg/Include/EdkDxeCore.h index d1e57e0775..2308e97d14 100644 --- a/EdkModulePkg/Include/EdkDxeCore.h +++ b/EdkModulePkg/Include/EdkDxeCore.h @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2006, Intel Corporation +Copyright (c) 2006 - 2007, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -26,11 +26,7 @@ Abstract: #ifndef __EDK_DXE_CORE_H__ #define __EDK_DXE_CORE_H__ -// -// BUGBUG: We must include this lib here due to ordering issues -// #include -#include // // BUGBUG: Performance related protocol and Guid. diff --git a/EdkModulePkg/Include/EdkPeiCore.h b/EdkModulePkg/Include/EdkPeiCore.h index 4e07efb01b..c7870af01e 100644 --- a/EdkModulePkg/Include/EdkPeiCore.h +++ b/EdkModulePkg/Include/EdkPeiCore.h @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2006, Intel Corporation +Copyright (c) 2006 - 2007, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -26,10 +26,6 @@ Abstract: #ifndef __EDK_PEI_CORE_H__ #define __EDK_PEI_CORE_H__ -// -// BUGBUG: We must include this lib here due to ordering issues -// -#include #include diff --git a/EdkModulePkg/Include/EdkPeim.h b/EdkModulePkg/Include/EdkPeim.h index e76d83df85..229d24c99e 100644 --- a/EdkModulePkg/Include/EdkPeim.h +++ b/EdkModulePkg/Include/EdkPeim.h @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2006, Intel Corporation +Copyright (c) 2006 - 2007, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -31,10 +31,6 @@ Abstract: // #include #include -// BUGBUG: We must include this lib here due to ordering issues -// -#include - // // BUGBUG: Performance related Guid. // It is Tiano-private, but is required for PeiCore diff --git a/EdkModulePkg/Include/Guid/PeiPeCoffLoader.h b/EdkModulePkg/Include/Guid/PeiPeCoffLoader.h index abafb71afd..4a732a14d8 100644 --- a/EdkModulePkg/Include/Guid/PeiPeCoffLoader.h +++ b/EdkModulePkg/Include/Guid/PeiPeCoffLoader.h @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2006, Intel Corporation +Copyright (c) 2006 - 2007, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -20,6 +20,10 @@ Abstract: #ifndef __PEI_PE_COFF_LOADER_H__ #define __PEI_PE_COFF_LOADER_H__ +// +// MdePkg/Include/Common/PeCoffLoaderImageContext.h +// +#include #define EFI_PEI_PE_COFF_LOADER_GUID \ { 0xd8117cff, 0x94a6, 0x11d4, {0x9a, 0x3a, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } }