]>
Commit | Line | Data |
---|---|---|
949f388f | 1 | ## @file\r |
5dcda296 | 2 | # UEFI/PI Emulation Platform with UEFI HII interface supported.\r |
949f388f | 3 | #\r |
4 | # The Emulation Platform can be used to debug individual modules, prior to creating\r | |
e23e488e | 5 | # a real platform. This also provides an example for how an DSC is created.\r |
6 | #\r | |
44b5d55d | 7 | # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r |
949f388f | 8 | # Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.<BR>\r |
9 | #\r | |
e23e488e | 10 | # This program and the accompanying materials\r |
11 | # are licensed and made available under the terms and conditions of the BSD License\r | |
12 | # which accompanies this distribution. The full text of the license may be found at\r | |
13 | # http://opensource.org/licenses/bsd-license.php\r | |
949f388f | 14 | #\r |
e23e488e | 15 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r |
16 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
949f388f | 17 | #\r |
18 | ##\r | |
19 | \r | |
949f388f | 20 | [Defines]\r |
e23e488e | 21 | PLATFORM_NAME = EmulatorPkg\r |
949f388f | 22 | PLATFORM_GUID = 05FD064D-1073-E844-936C-A0E16317107D\r |
23 | PLATFORM_VERSION = 0.3\r | |
52cb711d | 24 | DSC_SPECIFICATION = 0x00010005\r |
f89c018f | 25 | OUTPUT_DIRECTORY = Build/Emulator$(ARCH)\r |
e7523e06 | 26 | \r |
112a857f | 27 | SUPPORTED_ARCHITECTURES = X64|IA32\r |
949f388f | 28 | BUILD_TARGETS = DEBUG|RELEASE\r |
29 | SKUID_IDENTIFIER = DEFAULT\r | |
e23e488e | 30 | FLASH_DEFINITION = EmulatorPkg/EmulatorPkg.fdf\r |
949f388f | 31 | \r |
949f388f | 32 | [SkuIds]\r |
33 | 0|DEFAULT\r | |
34 | \r | |
949f388f | 35 | [LibraryClasses]\r |
36 | #\r | |
37 | # Entry point\r | |
38 | #\r | |
39 | PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r | |
40 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r | |
41 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r | |
42 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r | |
43 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r | |
44 | #\r | |
45 | # Basic\r | |
46 | #\r | |
47 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r | |
48 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r | |
49 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
50 | CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r | |
51 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r | |
52 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
53 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
d773459e | 54 | FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r |
949f388f | 55 | \r |
56 | #\r | |
57 | # UEFI & PI\r | |
58 | #\r | |
59 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r | |
60 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r | |
61 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r | |
62 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r | |
63 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r | |
64 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
65 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
66 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r | |
67 | \r | |
68 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
69 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r | |
70 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r | |
63f9b9b9 | 71 | SmbiosLib|EmulatorPkg/Library/SmbiosLib/SmbiosLib.inf\r |
72 | \r | |
949f388f | 73 | #\r |
74 | # Generic Modules\r | |
75 | #\r | |
76 | UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r | |
77 | NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r | |
78 | IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r | |
79 | UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r | |
80 | DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r | |
81 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r | |
82 | GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r | |
44b5d55d MK |
83 | BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r |
84 | SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r | |
9a25ad8b | 85 | CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r |
949f388f | 86 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r |
87 | TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r | |
88 | SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r | |
89 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r | |
90 | #\r | |
91 | # Platform\r | |
92 | #\r | |
bb89ec1a | 93 | PlatformBdsLib|EmulatorPkg/Library/EmuBdsLib/EmuBdsLib.inf\r |
94 | KeyMapLib|EmulatorPkg/Library/KeyMapLibNull/KeyMapLibNull.inf\r | |
d18d8a1d | 95 | \r |
949f388f | 96 | #\r |
97 | # Misc\r | |
98 | #\r | |
99 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r | |
100 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r | |
101 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r | |
bb89ec1a | 102 | PeiServicesTablePointerLib|EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesTablePointerLibMagicPage.inf\r |
7bbe0b3e | 103 | DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r |
7f5d7425 | 104 | LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf\r |
5d81a9b3 | 105 | CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf\r |
c8f451eb SZ |
106 | TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r |
107 | AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r | |
b6e3355a | 108 | VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r |
3df29b5d DB |
109 | SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf\r |
110 | UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r | |
fdd8463d RN |
111 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r |
112 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r | |
949f388f | 113 | \r |
65e3f333 | 114 | [LibraryClasses.common.SEC]\r |
bb89ec1a | 115 | PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf\r |
65e3f333 | 116 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r |
bb89ec1a | 117 | PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf\r |
118 | PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf\r | |
119 | SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf\r | |
120 | PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf\r | |
1453e773 | 121 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r |
bb89ec1a | 122 | TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf\r |
65e3f333 | 123 | \r |
949f388f | 124 | [LibraryClasses.common.USER_DEFINED, LibraryClasses.common.BASE]\r |
125 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r | |
126 | PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r | |
127 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
128 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
bb89ec1a | 129 | PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf\r |
130 | ThunkPpiList|EmulatorPkg/Library/ThunkPpiList/ThunkPpiList.inf\r | |
131 | ThunkProtocolList|EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.inf\r | |
65e3f333 | 132 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r |
bb89ec1a | 133 | PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf\r |
134 | PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf\r | |
65e3f333 | 135 | \r |
949f388f | 136 | \r |
137 | [LibraryClasses.common.PEIM, LibraryClasses.common.PEI_CORE]\r | |
138 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
139 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
140 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r | |
bb89ec1a | 141 | PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf\r |
142 | PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf\r | |
949f388f | 143 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r |
bb89ec1a | 144 | SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf\r |
1453e773 | 145 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r |
bb89ec1a | 146 | TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf\r |
949f388f | 147 | \r |
148 | [LibraryClasses.common.PEI_CORE]\r | |
149 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
949f388f | 150 | \r |
151 | [LibraryClasses.common.PEIM]\r | |
152 | PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r | |
949f388f | 153 | \r |
154 | [LibraryClasses.common.DXE_CORE]\r | |
155 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r | |
156 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r | |
157 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
bb89ec1a | 158 | PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf\r |
949f388f | 159 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r |
160 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
bb89ec1a | 161 | TimerLib|EmulatorPkg/Library/DxeCoreTimerLib/DxeCoreTimerLib.inf\r |
162 | EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf\r | |
949f388f | 163 | \r |
164 | [LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_APPLICATION]\r | |
165 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
166 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
167 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
168 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
bb89ec1a | 169 | EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf\r |
170 | PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf\r | |
1453e773 | 171 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r |
bb89ec1a | 172 | TimerLib|EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.inf\r |
949f388f | 173 | \r |
174 | [LibraryClasses.common.UEFI_DRIVER]\r | |
175 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
d18d8a1d | 176 | \r |
949f388f | 177 | [LibraryClasses.common.UEFI_APPLICATION]\r |
178 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
179 | \r | |
180 | \r | |
949f388f | 181 | [PcdsFeatureFlag]\r |
182 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r | |
183 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE\r | |
184 | gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE\r | |
1fc93083 | 185 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables|FALSE\r |
949f388f | 186 | \r |
187 | [PcdsFixedAtBuild]\r | |
df1b7575 | 188 | gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r |
949f388f | 189 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040\r |
190 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f\r | |
191 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f\r | |
192 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0\r | |
193 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0\r | |
194 | \r | |
bb89ec1a | 195 | gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareFdSize|0x002a0000\r |
196 | gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareBlockSize|0x10000\r | |
197 | gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareVolume|L"../FV/FV_RECOVERY.fd"\r | |
d18d8a1d | 198 | \r |
59ad461d | 199 | gEmulatorPkgTokenSpaceGuid.PcdEmuMemorySize|L"64!64"\r |
72a44be9 | 200 | \r |
9fe7c61b | 201 | !ifndef $(USE_OLD_SHELL)\r |
72a44be9 | 202 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r |
72a44be9 | 203 | !endif\r |
204 | \r | |
949f388f | 205 | #define BOOT_WITH_FULL_CONFIGURATION 0x00\r |
206 | #define BOOT_WITH_MINIMAL_CONFIGURATION 0x01\r | |
207 | #define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES 0x02\r | |
208 | #define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03\r | |
209 | #define BOOT_WITH_DEFAULT_SETTINGS 0x04\r | |
210 | #define BOOT_ON_S4_RESUME 0x05\r | |
211 | #define BOOT_ON_S5_RESUME 0x06\r | |
212 | #define BOOT_ON_S2_RESUME 0x10\r | |
213 | #define BOOT_ON_S3_RESUME 0x11\r | |
214 | #define BOOT_ON_FLASH_UPDATE 0x12\r | |
215 | #define BOOT_IN_RECOVERY_MODE 0x20\r | |
bb89ec1a | 216 | gEmulatorPkgTokenSpaceGuid.PcdEmuBootMode|0\r |
d18d8a1d | 217 | \r |
bb89ec1a | 218 | gEmulatorPkgTokenSpaceGuid.PcdEmuApCount|L"1"\r |
949f388f | 219 | \r |
5dcda296 | 220 | # For a CD-ROM/DVD use L"diag.dmg:RO:2048"\r |
bb89ec1a | 221 | gEmulatorPkgTokenSpaceGuid.PcdEmuVirtualDisk|L"disk.dmg:FW"\r |
222 | gEmulatorPkgTokenSpaceGuid.PcdEmuGop|L"GOP Window"\r | |
033949a8 | 223 | gEmulatorPkgTokenSpaceGuid.PcdEmuFileSystem|L"."\r |
bb89ec1a | 224 | gEmulatorPkgTokenSpaceGuid.PcdEmuSerialPort|L"/dev/ttyS0"\r |
225 | gEmulatorPkgTokenSpaceGuid.PcdEmuNetworkInterface|L"en0"\r | |
949f388f | 226 | \r |
bb89ec1a | 227 | gEmulatorPkgTokenSpaceGuid.PcdEmuCpuModel|L"Intel(R) Processor Model"\r |
228 | gEmulatorPkgTokenSpaceGuid.PcdEmuCpuSpeed|L"3000"\r | |
949f388f | 229 | \r |
1c145953 | 230 | # 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM\r |
7e284acb | 231 | gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1\r |
232 | \r | |
949f388f | 233 | [PcdsDynamicDefault.common.DEFAULT]\r |
234 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0\r | |
235 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0\r | |
236 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r | |
237 | \r | |
238 | [PcdsDynamicHii.common.DEFAULT]\r | |
239 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Setup"|gEmuSystemConfigGuid|0x0|80\r | |
240 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Setup"|gEmuSystemConfigGuid|0x4|25\r | |
949f388f | 241 | \r |
242 | \r | |
949f388f | 243 | [Components]\r |
53a6813f | 244 | !ifdef $(UNIX_SEC_BUILD)\r |
949f388f | 245 | ##\r |
5dcda296 | 246 | # Emulator, OS POSIX application\r |
949f388f | 247 | ##\r |
59ad461d | 248 | EmulatorPkg/Unix/Host/Host.inf\r |
53a6813f | 249 | !endif\r |
250 | \r | |
3c859dfe RN |
251 | !ifdef $(WIN_SEC_BUILD)\r |
252 | ##\r | |
253 | # Emulator, OS WIN application\r | |
254 | ##\r | |
255 | EmulatorPkg/Win/Host/WinHost.inf\r | |
256 | !endif\r | |
257 | \r | |
53a6813f | 258 | !ifndef $(SKIP_MAIN_BUILD)\r |
65e3f333 | 259 | #\r |
260 | # Generic SEC\r | |
261 | #\r | |
bb89ec1a | 262 | EmulatorPkg/Sec/Sec.inf\r |
65e3f333 | 263 | \r |
949f388f | 264 | ##\r |
265 | # PEI Phase modules\r | |
266 | ##\r | |
267 | MdeModulePkg/Core/Pei/PeiMain.inf\r | |
268 | MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r | |
269 | <LibraryClasses>\r | |
270 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
271 | }\r | |
272 | MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf\r | |
d18d8a1d | 273 | MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf\r |
274 | \r | |
949f388f | 275 | IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r |
bb89ec1a | 276 | EmulatorPkg/BootModePei/BootModePei.inf\r |
94c4575c | 277 | MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf\r |
949f388f | 278 | MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r |
bb89ec1a | 279 | EmulatorPkg/AutoScanPei/AutoScanPei.inf\r |
280 | EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.inf\r | |
281 | EmulatorPkg/FlashMapPei/FlashMapPei.inf\r | |
282 | EmulatorPkg/ThunkPpiToProtocolPei/ThunkPpiToProtocolPei.inf\r | |
45aee4c8 | 283 | MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r |
949f388f | 284 | \r |
285 | ##\r | |
286 | # DXE Phase modules\r | |
287 | ##\r | |
288 | MdeModulePkg/Core/Dxe/DxeMain.inf {\r | |
289 | <LibraryClasses>\r | |
1453e773 | 290 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r |
bed0bbc3 | 291 | SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf\r |
292 | DxeEmuLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf\r | |
949f388f | 293 | NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r |
7bbe0b3e | 294 | NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r |
949f388f | 295 | }\r |
296 | MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r | |
297 | <LibraryClasses>\r | |
298 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
299 | }\r | |
300 | \r | |
301 | MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r | |
302 | MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {\r | |
303 | <LibraryClasses>\r | |
1453e773 | 304 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r |
d18d8a1d | 305 | SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf\r |
949f388f | 306 | }\r |
307 | \r | |
1ef41207 | 308 | MdeModulePkg/Universal/Metronome/Metronome.inf\r |
bb89ec1a | 309 | EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.inf\r |
310 | EmulatorPkg/ResetRuntimeDxe/Reset.inf\r | |
949f388f | 311 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r |
bb89ec1a | 312 | EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r |
949f388f | 313 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r |
314 | MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r | |
315 | MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r | |
bb89ec1a | 316 | EmulatorPkg/EmuThunkDxe/EmuThunk.inf\r |
317 | EmulatorPkg/CpuRuntimeDxe/Cpu.inf\r | |
949f388f | 318 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r |
63f9b9b9 | 319 | EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.inf\r |
bb89ec1a | 320 | EmulatorPkg/TimerDxe/Timer.inf\r |
949f388f | 321 | \r |
322 | \r | |
1432065e SZ |
323 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r |
324 | <LibraryClasses>\r | |
325 | NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r | |
326 | }\r | |
949f388f | 327 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r |
328 | MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r | |
329 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r | |
330 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r | |
331 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r | |
332 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r | |
9fffd8e2 | 333 | MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {\r |
7e284acb | 334 | <LibraryClasses>\r |
335 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r | |
d18d8a1d | 336 | SerialPortLib|EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.inf\r |
7e284acb | 337 | }\r |
d18d8a1d | 338 | \r |
949f388f | 339 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r |
340 | IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf\r | |
d18d8a1d | 341 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r |
5dcda296 | 342 | #{\r |
d18d8a1d | 343 | # <LibraryClasses>\r |
bb89ec1a | 344 | # NULL|EmulatorPkg/Library/DevicePathTextLib/DevicePathTextLib.inf\r |
5dcda296 | 345 | #}\r |
d18d8a1d | 346 | \r |
949f388f | 347 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r |
348 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r | |
349 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r | |
350 | MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r | |
351 | MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r | |
352 | MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r | |
353 | IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf\r | |
354 | \r | |
bb89ec1a | 355 | EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.inf\r |
356 | EmulatorPkg/EmuGopDxe/EmuGopDxe.inf\r | |
357 | EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystemDxe.inf\r | |
358 | EmulatorPkg/EmuBlockIoDxe/EmuBlockIoDxe.inf\r | |
359 | EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf\r | |
949f388f | 360 | \r |
949f388f | 361 | MdeModulePkg/Application/HelloWorld/HelloWorld.inf\r |
362 | \r | |
363 | #\r | |
364 | # Network stack drivers\r | |
365 | #\r | |
949f388f | 366 | MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r |
367 | MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r | |
368 | MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r | |
949f388f | 369 | MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r |
370 | MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r | |
371 | MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r | |
372 | MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r | |
373 | MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r | |
374 | MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r | |
375 | \r | |
376 | MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r | |
377 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r | |
9a25ad8b | 378 | MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r |
949f388f | 379 | MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r |
380 | MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r | |
381 | MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {\r | |
382 | <LibraryClasses>\r | |
383 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
384 | }\r | |
385 | \r | |
949f388f | 386 | FatPkg/EnhancedFatDxe/Fat.inf\r |
72a44be9 | 387 | \r |
9fe7c61b | 388 | !ifndef $(USE_OLD_SHELL)\r |
fdd8463d RN |
389 | ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r |
390 | <PcdsFixedAtBuild>\r | |
391 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
392 | }\r | |
72a44be9 | 393 | ShellPkg/Application/Shell/Shell.inf {\r |
394 | <LibraryClasses>\r | |
395 | ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r | |
396 | NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r | |
397 | NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r | |
398 | NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r | |
399 | NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r | |
400 | NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r | |
401 | NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r | |
402 | NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r | |
403 | HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r | |
45aee4c8 | 404 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r |
72a44be9 | 405 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r |
3f2035e7 | 406 | # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf\r |
407 | # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf\r | |
9fe7c61b JJ |
408 | BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r |
409 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r | |
5dcda296 | 410 | \r |
72a44be9 | 411 | <PcdsFixedAtBuild>\r |
412 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r | |
413 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
414 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r | |
415 | }\r | |
416 | !endif\r | |
417 | \r | |
53a6813f | 418 | !endif\r |
419 | \r | |
0d9b5c46 RN |
420 | [BuildOptions]\r |
421 | MSFT:DEBUG_*_*_CC_FLAGS = /Od /Oy-\r | |
422 | MSFT:NOOPT_*_*_CC_FLAGS = /Od /Oy-\r | |
423 | \r | |
424 | MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE\r | |
425 | MSFT:DEBUG_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000\r | |
426 | MSFT:NOOPT_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000\r | |
427 | \r |