]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
Clean up DEC files:
[mirror_edk2.git] / MdeModulePkg / Core / DxeIplPeim / DxeIpl.inf
index 19b2b4991c7b3541aa3a678b527c86fbd360c44b..5c5f7e82a57216312b17cf9972e368a908ba0890 100644 (file)
-#/** @file\r
-# Component description file for DxeIpl module\r
+## @file\r
+#  Last PEIM executed in PEI phase to load DXE Core from a Firmware Volume.\r
 #\r
-# The responsibility of this module is to load the DXE Core from a Firmware Volume. This implementation i used to load a 32-bit DXE Core.\r
-# Copyright (c) 2006 - 2007, Intel Corporation\r
+#  This module produces a special PPI named the DXE Initial Program Load (IPL)\r
+#  PPI to discover and dispatch the DXE Foundation and components that are\r
+#  needed to run the DXE Foundation.\r
 #\r
-#  All rights reserved. This program and the accompanying materials\r
+#  Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+#  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
-#  which accompanies this distribution. The full text of the license may be found at\r
+#  which accompanies this distribution.  The full text of the license may be found at\r
 #  http://opensource.org/licenses/bsd-license.php\r
+#\r
 #  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
 #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 #\r
-#\r
-#**/\r
+##\r
 \r
-################################################################################\r
-#\r
-# Defines Section - statements that will be processed to create a Makefile.\r
-#\r
-################################################################################\r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = DxeIpl\r
   FILE_GUID                      = 86D70125-BAA3-4296-A62F-602BEBBB9081\r
   MODULE_TYPE                    = PEIM\r
   VERSION_STRING                 = 1.0\r
-  EDK_RELEASE_VERSION            = 0x00020000\r
-  EFI_SPECIFICATION_VERSION      = 0x00020000\r
 \r
   ENTRY_POINT                    = PeimInitializeDxeIpl\r
 \r
 #\r
 # The following information is for reference only and not required by the build tools.\r
 #\r
-#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
+#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC (EBC is for build only)\r
 #\r
 \r
-################################################################################\r
-#\r
-# Sources Section - list of files that are required for the build to succeed.\r
-#\r
-################################################################################\r
-\r
-[Sources.common]\r
+[Sources]\r
   DxeIpl.h\r
   DxeLoad.c\r
-  CommonHeader.h\r
 \r
 [Sources.Ia32]\r
-  Ia32/VirtualMemory.h\r
-  Ia32/VirtualMemory.c\r
+  X64/VirtualMemory.h  ||||gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode\r
+  X64/VirtualMemory.c  ||||gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode\r
   Ia32/DxeLoadFunc.c\r
-  Ia32/ImageRead.c\r
+  Ia32/IdtVectorAsm.asm||||gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode\r
+  Ia32/IdtVectorAsm.S  ||||gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode\r
 \r
 [Sources.X64]\r
+  X64/VirtualMemory.h\r
+  X64/VirtualMemory.c\r
   X64/DxeLoadFunc.c\r
-  Ia32/ImageRead.c\r
 \r
 [Sources.IPF]\r
   Ipf/DxeLoadFunc.c\r
-  Ipf/ImageRead.c\r
 \r
 [Sources.EBC]\r
-  X64/DxeLoadFunc.c\r
-  Ia32/ImageRead.c\r
+  Ebc/DxeLoadFunc.c\r
 \r
-\r
-################################################################################\r
-#\r
-# Package Dependency Section - list of Package files that are required for\r
-#                              this module.\r
-#\r
-################################################################################\r
+[Sources.ARM]\r
+  Arm/DxeLoadFunc.c\r
 \r
 [Packages]\r
-  MdePkg/MdePkg.dec  \r
-  IntelFrameworkPkg/IntelFrameworkPkg.dec\r
-  IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec\r
-\r
-\r
-################################################################################\r
-#\r
-# Library Class Section - list of Library Classes that are required for\r
-#                         this module.\r
-#\r
-################################################################################\r
+  MdePkg/MdePkg.dec\r
+  MdeModulePkg/MdeModulePkg.dec\r
 \r
 [LibraryClasses]\r
-  PeCoffLib\r
   PcdLib\r
   MemoryAllocationLib\r
   BaseMemoryLib\r
-  PeiServicesTablePointerLib\r
-  CustomDecompressLib\r
-  TianoDecompressLib\r
+  ExtractGuidedSectionLib\r
   UefiDecompressLib\r
-  PeCoffLoaderLib\r
-  CacheMaintenanceLib\r
   ReportStatusCodeLib\r
   PeiServicesLib\r
   HobLib\r
   BaseLib\r
   PeimEntryPoint\r
   DebugLib\r
+  DebugAgentLib\r
 \r
+[Ppis]\r
+  gEfiDxeIplPpiGuid                 ## PRODUCES\r
+  gEfiEndOfPeiSignalPpiGuid         ## SOMETIMES_PRODUCES(Not produced on S3 boot path)\r
+  gEfiPeiDecompressPpiGuid          ## SOMETIMES_PRODUCES\r
+  gEfiPeiReadOnlyVariable2PpiGuid   ## SOMETIMES_CONSUMES\r
+  gEfiPeiLoadFilePpiGuid            ## CONSUMES\r
+  gEfiPeiS3Resume2PpiGuid           ## SOMETIMES_CONSUMES(Consumed on S3 boot path)\r
+  gEfiPeiRecoveryModulePpiGuid      ## SOMETIMES_CONSUMES(Consumed on recovery boot path)\r
 \r
-################################################################################\r
-#\r
-# Guid C Name Section - list of Guids that this module uses or produces.\r
-#\r
-################################################################################\r
-\r
+[Guids]\r
+  gEfiMemoryTypeInformationGuid     ## SOMETIMES_CONSUMES ## Variable:L"MemoryTypeInformation"\r
+  gEfiMemoryTypeInformationGuid     ## SOMETIMES_PRODUCES ## HOB\r
 \r
-################################################################################\r
-#\r
-# Protocol C Name Section - list of Protocol and Protocol Notify C Names\r
-#                           that this module uses or produces.\r
-#\r
-################################################################################\r
+[FeaturePcd.IA32]\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode\r
 \r
-[Protocols]\r
-  gEfiCustomizedDecompressProtocolGuid          # PROTOCOL SOMETIMES_PRODUCED\r
-  gEfiTianoDecompressProtocolGuid               # PROTOCOL SOMETIMES_PRODUCED\r
-  gEfiDecompressProtocolGuid                    # PROTOCOL SOMETIMES_PRODUCED\r
+[FeaturePcd]\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress\r
 \r
+[Depex]\r
+  gEfiPeiMemoryDiscoveredPpiGuid AND gEfiPeiLoadFilePpiGuid AND gEfiPeiMasterBootModePpiGuid\r
 \r
-################################################################################\r
 #\r
-# PPI C Name Section - list of PPI and PPI Notify C Names that this module\r
-#                      uses or produces.\r
+# [BootMode]\r
+#   S3_RESUME                       ## SOMETIMES_CONSUMES\r
+#   RECOVERY                        ## SOMETIMES_CONSUMES\r
 #\r
-################################################################################\r
-\r
-[Ppis]\r
-  gEfiPeiSecurityPpiGuid                        # PPI SOMETIMES_CONSUMED\r
-  gEfiPeiSectionExtractionPpiGuid               # PPI SOMETIMES_CONSUMED\r
-  gEfiPeiS3ResumePpiGuid                        # PPI SOMETIMES_CONSUMED\r
-  gEfiPeiRecoveryModulePpiGuid                  # PPI SOMETIMES_CONSUMED\r
-  gEfiEndOfPeiSignalPpiGuid                     # PPI SOMETIMES_PRODUCED\r
-  gEfiPeiFvFileLoaderPpiGuid                    # PPI SOMETIMES_PRODUCED\r
-  gEfiDxeIplPpiGuid                             # PPI SOMETIMES_PRODUCED\r
-  gEfiPeiPeCoffLoaderGuid                       \r
-\r
-\r
-################################################################################\r
 #\r
-# Pcd FEATURE_FLAG - list of PCDs that this module is coded for.\r
+# [Hob]\r
+#   ##\r
+#   # New Stack HoB\r
+#   MEMORY_ALLOCATION               ## PRODUCES\r
+#   ##\r
+#   # Old Stack HOB\r
+#   MEMORY_ALLOCATION               ## CONSUMES\r
 #\r
-################################################################################\r
-\r
-[PcdsFeatureFlag.common]\r
-  PcdDxeIplSupportCustomDecompress|gEfiEdkModulePkgTokenSpaceGuid\r
-  PcdDxeIplSupportTianoDecompress|gEfiEdkModulePkgTokenSpaceGuid\r
-  PcdDxeIplSupportEfiDecompress|gEfiEdkModulePkgTokenSpaceGuid\r
-  PcdDxeIplBuildShareCodeHobs|gEfiEdkModulePkgTokenSpaceGuid\r
-\r
-[PcdsFeatureFlag.IA32]\r
-  PcdDxeIplSwitchToLongMode|gEfiMdeModulePkgTokenSpaceGuid\r
-\r
-\r
-################################################################################\r
+# [Hob.IPF]\r
+#   ##\r
+#   # BSP Stack HOB for IPF\r
+#   MEMORY_ALLOCATION               ## PRODUCES\r
 #\r
-# Dependency Expression Section - list of Dependency expressions that are required for\r
-#                              this module.\r
 #\r
-################################################################################\r
-\r
-[Depex]\r
-  gEfiPeiMemoryDiscoveredPpiGuid\r
-\r