1. Add EFI LOADED IMAGE DEVICE PATH Protocol in LoadImage() service, per UEFI 2.1b.
[people/mcb30/edk2.git] / edk2 / MdeModulePkg / Core / Dxe / DxeMain.inf
1 #/** @file\r
2 # Component description file for DxeMain module.\r
3 #\r
4 # This module provide an DXE CIS compliant implementation of DXE Core.\r
5 # Copyright (c) 2006 - 2007, Intel Corporation\r
6 #\r
7 #  All rights reserved. This program and the accompanying materials\r
8 #    are licensed and made available under the terms and conditions of the BSD License\r
9 #    which accompanies this distribution. The full text of the license may be found at\r
10 #    http://opensource.org/licenses/bsd-license.php\r
11 #\r
12 #    THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13 #    WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14 #\r
15 #\r
16 #**/\r
17 \r
18 [Defines]\r
19   INF_VERSION                    = 0x00010005\r
20   BASE_NAME                      = DxeMain\r
21   FILE_GUID                      = D6A2CB7F-6A18-4e2f-B43B-9920A733700A\r
22   MODULE_TYPE                    = DXE_CORE\r
23   VERSION_STRING                 = 1.0\r
24   EDK_RELEASE_VERSION            = 0x00020000\r
25   EFI_SPECIFICATION_VERSION      = 0x00020000\r
26 \r
27   ENTRY_POINT                    = DxeMain\r
28 \r
29 #  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
30 \r
31 [Sources.common]\r
32   Library.h\r
33   imem.h\r
34   Image.h\r
35   hand.h\r
36   gcd.h\r
37   FwVolDriver.h\r
38   FwVolBlock.h\r
39   Exec.h\r
40   DxeMain.h\r
41   DebugImageInfo.h\r
42   SectionExtraction/CoreSectionExtraction.c\r
43   Image/ImageFile.c\r
44   Image/Image.c\r
45   Misc/DebugImageInfo.c\r
46   Misc/Stall.c\r
47   Misc/SetWatchdogTimer.c\r
48   Misc/InstallConfigurationTable.c\r
49   Library/Library.c\r
50   Hand/DriverSupport.c\r
51   Hand/Notify.c\r
52   Hand/locate.c\r
53   Hand/handle.c\r
54   Gcd/gcd.c\r
55   Mem/pool.c\r
56   Mem/Page.c\r
57   Mem/memdata.c\r
58   FwVolBlock/FwVolBlock.c\r
59   FwVol/FwVolWrite.c\r
60   FwVol/FwVolRead.c\r
61   FwVol/FwVolAttrib.c\r
62   FwVol/Ffs.c\r
63   FwVol/FwVol.c\r
64   Event/tpl.c\r
65   Event/timer.c\r
66   Event/event.c\r
67   Event/execdata.c\r
68   Dispatcher/dependency.c\r
69   Dispatcher/Dispatcher.c\r
70   DxeMain/DxeProtocolNotify.c\r
71   DxeMain/DxeMain.c\r
72 \r
73 [Packages]\r
74   MdePkg/MdePkg.dec\r
75   MdeModulePkg/MdeModulePkg.dec\r
76   \r
77 [LibraryClasses]\r
78   BaseMemoryLib\r
79   CacheMaintenanceLib\r
80   UefiDecompressLib\r
81   PerformanceLib\r
82   HobLib\r
83   BaseLib\r
84   UefiLib\r
85   DebugLib\r
86   DxeCoreEntryPoint\r
87   PeCoffLib\r
88   ExtractGuidedSectionLib\r
89   MemoryAllocationLib\r
90 \r
91 [Guids]\r
92   gEfiEventLegacyBootGuid                       # ALWAYS_CONSUMED\r
93   gEfiEventReadyToBootGuid                      # ALWAYS_CONSUMED\r
94   gEfiEventMemoryMapChangeGuid                  # ALWAYS_CONSUMED\r
95   gEfiEventVirtualAddressChangeGuid             # ALWAYS_CONSUMED\r
96   gEfiEventExitBootServicesGuid                 # ALWAYS_CONSUMED\r
97   gEfiHobMemoryAllocModuleGuid                  # ALWAYS_CONSUMED\r
98   gEfiFileInfoGuid                              # ALWAYS_CONSUMED\r
99   gEfiFirmwareFileSystem2Guid                   # ALWAYS_CONSUMED\r
100   gAprioriGuid                                  # ALWAYS_CONSUMED\r
101   gEfiDebugImageInfoTableGuid                   # ALWAYS_CONSUMED\r
102   gEfiHobListGuid                               # ALWAYS_CONSUMED\r
103   gEfiDxeServicesTableGuid                      # ALWAYS_CONSUMED\r
104   gEfiMemoryTypeInformationGuid                 # ALWAYS_CONSUMED\r
105 \r
106 [Protocols]\r
107   gEfiStatusCodeRuntimeProtocolGuid             # PROTOCOL SOMETIMES_CONSUMED\r
108   gEfiCapsuleArchProtocolGuid                   # PROTOCOL ALWAYS_CONSUMED\r
109   gEfiTianoDecompressProtocolGuid               # PROTOCOL ALWAYS_CONSUMED\r
110   gEfiCustomizedDecompressProtocolGuid          # PROTOCOL ALWAYS_CONSUMED\r
111   gEfiDecompressProtocolGuid                    # PROTOCOL ALWAYS_CONSUMED\r
112   gEfiLoadPeImageProtocolGuid                   # PROTOCOL ALWAYS_PRODUCED\r
113   gEfiSimpleFileSystemProtocolGuid              # PROTOCOL ALWAYS_CONSUMED\r
114   gEfiLoadFileProtocolGuid                      # PROTOCOL ALWAYS_CONSUMED\r
115   gEfiResetArchProtocolGuid                     # PROTOCOL ALWAYS_CONSUMED\r
116   gEfiRealTimeClockArchProtocolGuid             # PROTOCOL ALWAYS_CONSUMED\r
117   gEfiRuntimeArchProtocolGuid                   # PROTOCOL ALWAYS_CONSUMED\r
118   gEfiWatchdogTimerArchProtocolGuid             # PROTOCOL ALWAYS_CONSUMED\r
119   gEfiSecurityArchProtocolGuid                  # PROTOCOL ALWAYS_CONSUMED\r
120   gEfiVariableArchProtocolGuid                  # PROTOCOL ALWAYS_CONSUMED\r
121   gEfiBdsArchProtocolGuid                       # PROTOCOL ALWAYS_CONSUMED\r
122   gEfiVariableWriteArchProtocolGuid             # PROTOCOL ALWAYS_CONSUMED\r
123   gEfiMonotonicCounterArchProtocolGuid          # PROTOCOL ALWAYS_CONSUMED\r
124   gEfiMetronomeArchProtocolGuid                 # PROTOCOL ALWAYS_CONSUMED\r
125   gEfiTimerArchProtocolGuid                     # PROTOCOL ALWAYS_CONSUMED\r
126   gEfiBusSpecificDriverOverrideProtocolGuid     # PROTOCOL ALWAYS_CONSUMED\r
127   gEfiPlatformDriverOverrideProtocolGuid        # PROTOCOL ALWAYS_CONSUMED\r
128   gEfiDriverBindingProtocolGuid                 # PROTOCOL SOMETIMES_CONSUMED\r
129   gEfiFirmwareVolumeBlockProtocolGuid           # PROTOCOL ALWAYS_PRODUCED\r
130   gEfiFirmwareVolumeDispatchProtocolGuid        # PROTOCOL ALWAYS_PRODUCED\r
131   gEfiFirmwareVolume2ProtocolGuid               # PROTOCOL ALWAYS_PRODUCED\r
132   gEfiCpuArchProtocolGuid                       # PROTOCOL ALWAYS_CONSUMED\r
133   gEfiDevicePathProtocolGuid                    # PROTOCOL ALWAYS_CONSUMED\r
134   gEfiLoadedImageProtocolGuid                   # PROTOCOL ALWAYS_PRODUCED\r
135   gEfiEbcProtocolGuid                           # PROTOCOL SOMETIMES_CONSUMED\r
136   gEfiTcgPlatformProtocolGuid\r
137   gEfiLoadedImageDevicePathProtocolGuid         # PROTOCOL ALWAYS_PRODUCED\r
138 \r
139 [FixedPcd.common]\r
140   gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueDxeCoreEntry | 0x3041000          # EFI_SOFTWARE_DXE_CORE | EFI_SW_DXE_CORE_PC_ENTRY_POINT\r
141   gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueDxeCoreHandoffToBds | 0x3041001   # EFI_SOFTWARE_DXE_CORE | EFI_SW_DXE_CORE_PC_HANDOFF_TO_NEXT\r
142   gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueBootServiceExit | 0x3100019       # EFI_SOFTWARE_EFI_BOOT_SERVICE | EFI_SW_BS_PC_EXIT_BOOT_SERVICES\r
143   gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueDxeDriverBegin | 0x3040002        # EFI_SOFTWARE_DXE_CORE | EFI_SW_PC_INIT_BEGIN\r
144   gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueDxeDriverEnd | 0x3040003          # EFI_SOFTWARE_DXE_CORE | EFI_SW_PC_INIT_END\r
145 \r
146 [BuildOptions]\r
147   MSFT:*_*_*_CC_FLAGS     = /FAcs\r
148 \r