summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core
diff options
context:
space:
mode:
authorAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>2007-07-10 16:13:56 +0000
committerAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>2007-07-10 16:13:56 +0000
commit859b72fa7e3ff1cf1d7476a3446af4ebbb5fe3e6 (patch)
tree0a07f91581e3731e9ab1955051bdc2dabdf05f6f /MdeModulePkg/Core
parenta7e089430e023298b4b84cf95bd9bd3b739b702a (diff)
downloadedk2-859b72fa7e3ff1cf1d7476a3446af4ebbb5fe3e6.zip
edk2-859b72fa7e3ff1cf1d7476a3446af4ebbb5fe3e6.tar.gz
edk2-859b72fa7e3ff1cf1d7476a3446af4ebbb5fe3e6.tar.bz2
Removed CommonHeader.h from MdePkg & MdeModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3180 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core')
-rw-r--r--MdeModulePkg/Core/DxeIplPeim/CommonHeader.h56
-rw-r--r--MdeModulePkg/Core/DxeIplPeim/DxeIpl.h32
-rw-r--r--MdeModulePkg/Core/DxeIplPeim/DxeLoad.c5
-rw-r--r--MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c5
-rw-r--r--MdeModulePkg/Core/DxeIplPeim/Ia32/ImageRead.c5
-rw-r--r--MdeModulePkg/Core/DxeIplPeim/Ia32/VirtualMemory.c7
-rw-r--r--MdeModulePkg/Core/DxeIplPeim/Ia32/VirtualMemory.h5
-rw-r--r--MdeModulePkg/Core/DxeIplPeim/Ipf/DxeLoadFunc.c5
-rw-r--r--MdeModulePkg/Core/DxeIplPeim/Ipf/ImageRead.c5
-rw-r--r--MdeModulePkg/Core/DxeIplPeim/X64/DxeLoadFunc.c5
-rw-r--r--MdeModulePkg/Core/Pei/BootMode/BootMode.c5
-rw-r--r--MdeModulePkg/Core/Pei/CommonHeader.h44
-rw-r--r--MdeModulePkg/Core/Pei/Dependency/dependency.c5
-rw-r--r--MdeModulePkg/Core/Pei/Dependency/dependency.h4
-rw-r--r--MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c5
-rw-r--r--MdeModulePkg/Core/Pei/Dispatcher/Stack.c2
-rw-r--r--MdeModulePkg/Core/Pei/FwVol/FwVol.c5
-rw-r--r--MdeModulePkg/Core/Pei/Hob/Hob.c5
-rw-r--r--MdeModulePkg/Core/Pei/Image/Image.c5
-rw-r--r--MdeModulePkg/Core/Pei/Ipf/IpfPeiMain.h5
-rw-r--r--MdeModulePkg/Core/Pei/Ipf/Stack.c5
-rw-r--r--MdeModulePkg/Core/Pei/Ipf/SwitchToCacheMode.c5
-rw-r--r--MdeModulePkg/Core/Pei/Memory/MemoryServices.c5
-rw-r--r--MdeModulePkg/Core/Pei/PeiMain.h24
-rw-r--r--MdeModulePkg/Core/Pei/PeiMain.inf48
-rw-r--r--MdeModulePkg/Core/Pei/PeiMain/PeiMain.c5
-rw-r--r--MdeModulePkg/Core/Pei/Ppi/Ppi.c5
-rw-r--r--MdeModulePkg/Core/Pei/Reset/Reset.c5
-rw-r--r--MdeModulePkg/Core/Pei/Security/Security.c5
-rw-r--r--MdeModulePkg/Core/Pei/StatusCode/StatusCode.c5
30 files changed, 51 insertions, 276 deletions
diff --git a/MdeModulePkg/Core/DxeIplPeim/CommonHeader.h b/MdeModulePkg/Core/DxeIplPeim/CommonHeader.h
deleted file mode 100644
index 2240f6d..0000000
--- a/MdeModulePkg/Core/DxeIplPeim/CommonHeader.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/**@file
- Common header file shared by all source files.
-
- This file includes package header files, library classes and protocol, PPI & GUID definitions.
-
- 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
- http://opensource.org/licenses/bsd-license.php
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-**/
-
-#ifndef __COMMON_HEADER_H_
-#define __COMMON_HEADER_H_
-
-
-//
-// The package level header files this module uses
-//
-#include <PiPei.h>
-//
-// The protocols, PPI and GUID defintions for this module
-//
-#include <Ppi/DxeIpl.h>
-#include <Ppi/S3Resume.h>
-#include <Protocol/EdkDecompress.h>
-#include <Ppi/EndOfPeiPhase.h>
-#include <Protocol/CustomizedDecompress.h>
-#include <Protocol/Decompress.h>
-#include <Ppi/Security.h>
-#include <Ppi/SectionExtraction.h>
-#include <Ppi/LoadFile.h>
-#include <Ppi/RecoveryModule.h>
-#include <Ppi/MemoryDiscovered.h>
-//
-// The Library classes this module consumes
-//
-#include <Library/DebugLib.h>
-#include <Library/PeimEntryPoint.h>
-#include <Library/BaseLib.h>
-#include <Library/HobLib.h>
-#include <Library/PeiServicesLib.h>
-#include <Library/ReportStatusCodeLib.h>
-#include <Library/CacheMaintenanceLib.h>
-#include <Library/PeCoffLoaderLib.h>
-#include <Library/UefiDecompressLib.h>
-#include <Library/CustomDecompressLib.h>
-#include <Library/PeiServicesTablePointerLib.h>
-#include <Library/BaseMemoryLib.h>
-#include <Library/MemoryAllocationLib.h>
-#include <Library/PcdLib.h>
-#include <Library/PeCoffLib.h>
-
-#endif
diff --git a/MdeModulePkg/Core/DxeIplPeim/DxeIpl.h b/MdeModulePkg/Core/DxeIplPeim/DxeIpl.h
index 5315b8b..ae8b90b 100644
--- a/MdeModulePkg/Core/DxeIplPeim/DxeIpl.h
+++ b/MdeModulePkg/Core/DxeIplPeim/DxeIpl.h
@@ -20,10 +20,34 @@ Abstract:
#ifndef __PEI_DXEIPL_H__
#define __PEI_DXEIPL_H__
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
+#include <PiPei.h>
+#include <Ppi/DxeIpl.h>
+#include <Ppi/S3Resume.h>
+#include <Protocol/EdkDecompress.h>
+#include <Ppi/EndOfPeiPhase.h>
+#include <Protocol/CustomizedDecompress.h>
+#include <Protocol/Decompress.h>
+#include <Ppi/Security.h>
+#include <Ppi/SectionExtraction.h>
+#include <Ppi/LoadFile.h>
+#include <Ppi/RecoveryModule.h>
+#include <Ppi/MemoryDiscovered.h>
+#include <Library/DebugLib.h>
+#include <Library/PeimEntryPoint.h>
+#include <Library/BaseLib.h>
+#include <Library/HobLib.h>
+#include <Library/PeiServicesLib.h>
+#include <Library/ReportStatusCodeLib.h>
+#include <Library/CacheMaintenanceLib.h>
+#include <Library/PeCoffLoaderLib.h>
+#include <Library/UefiDecompressLib.h>
+#include <Library/CustomDecompressLib.h>
+#include <Library/PeiServicesTablePointerLib.h>
+#include <Library/BaseMemoryLib.h>
+#include <Library/MemoryAllocationLib.h>
+#include <Library/PcdLib.h>
+#include <Library/PeCoffLib.h>
+
#define STACK_SIZE 0x20000
#define BSP_STORE_SIZE 0x4000
diff --git a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
index eec1d86..ebae17c 100644
--- a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
+++ b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
@@ -20,11 +20,6 @@ Abstract:
--*/
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
#include "DxeIpl.h"
// porting note remove later
diff --git a/MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c b/MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c
index d3fbcb2..63ee2af 100644
--- a/MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c
+++ b/MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c
@@ -19,11 +19,6 @@ Abstract:
--*/
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
#include "DxeIpl.h"
#include "VirtualMemory.h"
diff --git a/MdeModulePkg/Core/DxeIplPeim/Ia32/ImageRead.c b/MdeModulePkg/Core/DxeIplPeim/Ia32/ImageRead.c
index f7bef7e..b4bd640 100644
--- a/MdeModulePkg/Core/DxeIplPeim/Ia32/ImageRead.c
+++ b/MdeModulePkg/Core/DxeIplPeim/Ia32/ImageRead.c
@@ -17,11 +17,6 @@ Abstract:
--*/
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
#include "DxeIpl.h"
EFI_STATUS
diff --git a/MdeModulePkg/Core/DxeIplPeim/Ia32/VirtualMemory.c b/MdeModulePkg/Core/DxeIplPeim/Ia32/VirtualMemory.c
index f4a6a4f..92f29da 100644
--- a/MdeModulePkg/Core/DxeIplPeim/Ia32/VirtualMemory.c
+++ b/MdeModulePkg/Core/DxeIplPeim/Ia32/VirtualMemory.c
@@ -32,13 +32,10 @@ Abstract:
--*/
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
+#include "DxeIpl.h"
#include "VirtualMemory.h"
+
UINTN
CreateIdentityMappingPageTables (
VOID
diff --git a/MdeModulePkg/Core/DxeIplPeim/Ia32/VirtualMemory.h b/MdeModulePkg/Core/DxeIplPeim/Ia32/VirtualMemory.h
index 4e6614e..89a7f2e 100644
--- a/MdeModulePkg/Core/DxeIplPeim/Ia32/VirtualMemory.h
+++ b/MdeModulePkg/Core/DxeIplPeim/Ia32/VirtualMemory.h
@@ -26,11 +26,6 @@ Abstract:
#define _VIRTUAL_MEMORY_H_
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
#define SYS_CODE64_SEL 0x38
#pragma pack(1)
diff --git a/MdeModulePkg/Core/DxeIplPeim/Ipf/DxeLoadFunc.c b/MdeModulePkg/Core/DxeIplPeim/Ipf/DxeLoadFunc.c
index 3feb2e5..34141ab 100644
--- a/MdeModulePkg/Core/DxeIplPeim/Ipf/DxeLoadFunc.c
+++ b/MdeModulePkg/Core/DxeIplPeim/Ipf/DxeLoadFunc.c
@@ -19,11 +19,6 @@ Abstract:
--*/
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
#include "DxeIpl.h"
VOID
diff --git a/MdeModulePkg/Core/DxeIplPeim/Ipf/ImageRead.c b/MdeModulePkg/Core/DxeIplPeim/Ipf/ImageRead.c
index 5002fe8..b04c9a7 100644
--- a/MdeModulePkg/Core/DxeIplPeim/Ipf/ImageRead.c
+++ b/MdeModulePkg/Core/DxeIplPeim/Ipf/ImageRead.c
@@ -17,11 +17,6 @@ Abstract:
--*/
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
#include "DxeIpl.h"
EFI_STATUS
diff --git a/MdeModulePkg/Core/DxeIplPeim/X64/DxeLoadFunc.c b/MdeModulePkg/Core/DxeIplPeim/X64/DxeLoadFunc.c
index 1d5709a..53febd5 100644
--- a/MdeModulePkg/Core/DxeIplPeim/X64/DxeLoadFunc.c
+++ b/MdeModulePkg/Core/DxeIplPeim/X64/DxeLoadFunc.c
@@ -19,11 +19,6 @@ Abstract:
--*/
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
#include "DxeIpl.h"
VOID
diff --git a/MdeModulePkg/Core/Pei/BootMode/BootMode.c b/MdeModulePkg/Core/Pei/BootMode/BootMode.c
index 0576ab0..bec0304 100644
--- a/MdeModulePkg/Core/Pei/BootMode/BootMode.c
+++ b/MdeModulePkg/Core/Pei/BootMode/BootMode.c
@@ -23,11 +23,6 @@ Revision History
--*/
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
#include <PeiMain.h>
EFI_STATUS
diff --git a/MdeModulePkg/Core/Pei/CommonHeader.h b/MdeModulePkg/Core/Pei/CommonHeader.h
deleted file mode 100644
index dc64dca..0000000
--- a/MdeModulePkg/Core/Pei/CommonHeader.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/**@file
- Common header file shared by all source files.
-
- This file includes package header files, library classes and protocol, PPI & GUID definitions.
-
- 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
- http://opensource.org/licenses/bsd-license.php
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-**/
-
-#ifndef __COMMON_HEADER_H_
-#define __COMMON_HEADER_H_
-
-#include <PiPei.h>
-#include <FrameworkPei.h>
-//
-// The protocols, PPI and GUID defintions for this module
-//
-#include <Ppi/DxeIpl.h>
-#include <Ppi/MemoryDiscovered.h>
-#include <Ppi/FindFv.h>
-#include <Ppi/StatusCode.h>
-#include <Ppi/Security.h>
-#include <Ppi/Reset.h>
-#include <Ppi/LoadFile.h>
-//
-// The Library classes this module consumes
-//
-#include <Library/DebugLib.h>
-#include <Library/PeiCoreEntryPoint.h>
-#include <Library/BaseLib.h>
-#include <Library/HobLib.h>
-#include <Library/PerformanceLib.h>
-#include <Library/PeiServicesLib.h>
-#include <Library/ReportStatusCodeLib.h>
-#include <Library/PeCoffGetEntryPointLib.h>
-#include <Library/BaseMemoryLib.h>
-#include <Library/TimerLib.h>
-
-#endif
diff --git a/MdeModulePkg/Core/Pei/Dependency/dependency.c b/MdeModulePkg/Core/Pei/Dependency/dependency.c
index ec3c68b..c817a3d 100644
--- a/MdeModulePkg/Core/Pei/Dependency/dependency.c
+++ b/MdeModulePkg/Core/Pei/Dependency/dependency.c
@@ -23,11 +23,6 @@ Abstract:
--*/
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
#include <PeiMain.h>
#include "dependency.h"
diff --git a/MdeModulePkg/Core/Pei/Dependency/dependency.h b/MdeModulePkg/Core/Pei/Dependency/dependency.h
index 2ac2ddb..a6190c4 100644
--- a/MdeModulePkg/Core/Pei/Dependency/dependency.h
+++ b/MdeModulePkg/Core/Pei/Dependency/dependency.h
@@ -23,10 +23,6 @@ Abstract:
#ifndef _PEI_DEPENDENCY_H_
#define _PEI_DEPENDENCY_H_
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
#define MAX_GRAMMAR_SIZE 256
diff --git a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
index 15b2360..7ae8347 100644
--- a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
+++ b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
@@ -21,11 +21,6 @@ Revision History
--*/
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
#include <PeiMain.h>
STATIC
diff --git a/MdeModulePkg/Core/Pei/Dispatcher/Stack.c b/MdeModulePkg/Core/Pei/Dispatcher/Stack.c
index 8895cae..9e74eee 100644
--- a/MdeModulePkg/Core/Pei/Dispatcher/Stack.c
+++ b/MdeModulePkg/Core/Pei/Dispatcher/Stack.c
@@ -17,7 +17,7 @@
//
// Include common header file for this module.
//
-#include "CommonHeader.h"
+#include <PeiMain.h>
/**
Transfers control to a function starting with a new stack.
diff --git a/MdeModulePkg/Core/Pei/FwVol/FwVol.c b/MdeModulePkg/Core/Pei/FwVol/FwVol.c
index 679825c..d144fb8 100644
--- a/MdeModulePkg/Core/Pei/FwVol/FwVol.c
+++ b/MdeModulePkg/Core/Pei/FwVol/FwVol.c
@@ -19,11 +19,6 @@ Abstract:
--*/
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
#include <PeiMain.h>
#define GETOCCUPIEDSIZE(ActualSize, Alignment) \
diff --git a/MdeModulePkg/Core/Pei/Hob/Hob.c b/MdeModulePkg/Core/Pei/Hob/Hob.c
index 9128b12..9ac672b 100644
--- a/MdeModulePkg/Core/Pei/Hob/Hob.c
+++ b/MdeModulePkg/Core/Pei/Hob/Hob.c
@@ -19,11 +19,6 @@ Abstract:
--*/
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
#include <PeiMain.h>
EFI_STATUS
diff --git a/MdeModulePkg/Core/Pei/Image/Image.c b/MdeModulePkg/Core/Pei/Image/Image.c
index 391290d..2029368 100644
--- a/MdeModulePkg/Core/Pei/Image/Image.c
+++ b/MdeModulePkg/Core/Pei/Image/Image.c
@@ -19,11 +19,6 @@ Abstract:
--*/
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
#include <PeiMain.h>
diff --git a/MdeModulePkg/Core/Pei/Ipf/IpfPeiMain.h b/MdeModulePkg/Core/Pei/Ipf/IpfPeiMain.h
index e5b160f..e2df073 100644
--- a/MdeModulePkg/Core/Pei/Ipf/IpfPeiMain.h
+++ b/MdeModulePkg/Core/Pei/Ipf/IpfPeiMain.h
@@ -24,11 +24,6 @@ Revision History
#ifndef _IPF_PEI_MAIN_H_
#define _IPF_PEI_MAIN_H_
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
#include <PeiMain.h>
SAL_RETURN_REGS
diff --git a/MdeModulePkg/Core/Pei/Ipf/Stack.c b/MdeModulePkg/Core/Pei/Ipf/Stack.c
index 600a41d..56a876d 100644
--- a/MdeModulePkg/Core/Pei/Ipf/Stack.c
+++ b/MdeModulePkg/Core/Pei/Ipf/Stack.c
@@ -14,11 +14,6 @@
**/
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
#include <PeiMain.h>
/**
diff --git a/MdeModulePkg/Core/Pei/Ipf/SwitchToCacheMode.c b/MdeModulePkg/Core/Pei/Ipf/SwitchToCacheMode.c
index f4e90e1..db9cb52 100644
--- a/MdeModulePkg/Core/Pei/Ipf/SwitchToCacheMode.c
+++ b/MdeModulePkg/Core/Pei/Ipf/SwitchToCacheMode.c
@@ -21,11 +21,6 @@ Revision History
--*/
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
#include "IpfPeiMain.h"
#include "IpfCpuCore.i"
diff --git a/MdeModulePkg/Core/Pei/Memory/MemoryServices.c b/MdeModulePkg/Core/Pei/Memory/MemoryServices.c
index 86f4487..e623c01 100644
--- a/MdeModulePkg/Core/Pei/Memory/MemoryServices.c
+++ b/MdeModulePkg/Core/Pei/Memory/MemoryServices.c
@@ -19,11 +19,6 @@ Abstract:
--*/
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
#include <PeiMain.h>
VOID
diff --git a/MdeModulePkg/Core/Pei/PeiMain.h b/MdeModulePkg/Core/Pei/PeiMain.h
index e136041..e7d972f 100644
--- a/MdeModulePkg/Core/Pei/PeiMain.h
+++ b/MdeModulePkg/Core/Pei/PeiMain.h
@@ -24,10 +24,26 @@ Revision History
#ifndef _PEI_MAIN_H_
#define _PEI_MAIN_H_
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
+#include <PiPei.h>
+#include <FrameworkPei.h>
+#include <Ppi/DxeIpl.h>
+#include <Ppi/MemoryDiscovered.h>
+#include <Ppi/FindFv.h>
+#include <Ppi/StatusCode.h>
+#include <Ppi/Security.h>
+#include <Ppi/Reset.h>
+#include <Ppi/LoadFile.h>
+#include <Library/DebugLib.h>
+#include <Library/PeiCoreEntryPoint.h>
+#include <Library/BaseLib.h>
+#include <Library/HobLib.h>
+#include <Library/PerformanceLib.h>
+#include <Library/PeiServicesLib.h>
+#include <Library/ReportStatusCodeLib.h>
+#include <Library/PeCoffGetEntryPointLib.h>
+#include <Library/BaseMemoryLib.h>
+#include <Library/TimerLib.h>
+
extern EFI_GUID gEfiPeiCorePrivateGuid;
diff --git a/MdeModulePkg/Core/Pei/PeiMain.inf b/MdeModulePkg/Core/Pei/PeiMain.inf
index c556823..c6e5e11 100644
--- a/MdeModulePkg/Core/Pei/PeiMain.inf
+++ b/MdeModulePkg/Core/Pei/PeiMain.inf
@@ -14,11 +14,6 @@
#
#**/
-################################################################################
-#
-# Defines Section - statements that will be processed to create a Makefile.
-#
-################################################################################
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = PeiMain
@@ -36,12 +31,6 @@
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
-################################################################################
-#
-# Sources Section - list of files that are required for the build to succeed.
-#
-################################################################################
-
[Sources.common]
StatusCode/StatusCode.c
Security/Security.c
@@ -57,7 +46,6 @@
Dependency/dependency.h
BootMode/BootMode.c
PeiMain.h
- CommonHeader.h
[Sources.Ia32]
Dispatcher/Stack.c
@@ -76,35 +64,14 @@
Dispatcher/Stack.c
-################################################################################
-#
-# Includes Section - list of Include locations that are required for
-# this module.
-#
-################################################################################
-
[Includes]
$(WORKSPACE)/MdePkg\Include/Library
-################################################################################
-#
-# Package Dependency Section - list of Package files that are required for
-# this module.
-#
-################################################################################
-
[Packages]
MdeModulePkg/MdeModulePkg.dec
MdePkg/MdePkg.dec
IntelFrameworkPkg/IntelFrameworkPkg.dec
-################################################################################
-#
-# Library Class Section - list of Library Classes that are required for
-# this module.
-#
-################################################################################
-
[LibraryClasses]
TimerLib
BaseMemoryLib
@@ -117,24 +84,9 @@
OldPeiCoreEntryPoint
DebugLib
-
-################################################################################
-#
-# Guid C Name Section - list of Guids that this module uses or produces.
-#
-################################################################################
-
[Guids]
gEfiPeiCorePrivateGuid # PRIVATE
-
-################################################################################
-#
-# PPI C Name Section - list of PPI and PPI Notify C Names that this module
-# uses or produces.
-#
-################################################################################
-
[Ppis]
gEfiPeiSecurityPpiGuid # PPI_NOTIFY SOMETIMES_CONSUMED
gEfiPeiStatusCodePpiGuid # PPI SOMETIMES_CONSUMED
diff --git a/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c b/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c
index db4a69f..5d439f7 100644
--- a/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c
+++ b/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c
@@ -21,11 +21,6 @@ Revision History
--*/
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
#include <PeiMain.h>
//
diff --git a/MdeModulePkg/Core/Pei/Ppi/Ppi.c b/MdeModulePkg/Core/Pei/Ppi/Ppi.c
index 0f119c7..c8bea85 100644
--- a/MdeModulePkg/Core/Pei/Ppi/Ppi.c
+++ b/MdeModulePkg/Core/Pei/Ppi/Ppi.c
@@ -21,11 +21,6 @@ Revision History
--*/
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
#include <PeiMain.h>
VOID
diff --git a/MdeModulePkg/Core/Pei/Reset/Reset.c b/MdeModulePkg/Core/Pei/Reset/Reset.c
index b0c4b24..ef0ceb3 100644
--- a/MdeModulePkg/Core/Pei/Reset/Reset.c
+++ b/MdeModulePkg/Core/Pei/Reset/Reset.c
@@ -21,11 +21,6 @@ Revision History
--*/
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
#include <PeiMain.h>
EFI_STATUS
diff --git a/MdeModulePkg/Core/Pei/Security/Security.c b/MdeModulePkg/Core/Pei/Security/Security.c
index e7c2fbd..089995e 100644
--- a/MdeModulePkg/Core/Pei/Security/Security.c
+++ b/MdeModulePkg/Core/Pei/Security/Security.c
@@ -19,11 +19,6 @@ Abstract:
--*/
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
#include <PeiMain.h>
STATIC
diff --git a/MdeModulePkg/Core/Pei/StatusCode/StatusCode.c b/MdeModulePkg/Core/Pei/StatusCode/StatusCode.c
index 9112c45..b9316b6 100644
--- a/MdeModulePkg/Core/Pei/StatusCode/StatusCode.c
+++ b/MdeModulePkg/Core/Pei/StatusCode/StatusCode.c
@@ -21,11 +21,6 @@ Revision History
--*/
-//
-// Include common header file for this module.
-//
-#include "CommonHeader.h"
-
#include <PeiMain.h>
EFI_STATUS