]>
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 | |
e0123894 RN |
82 | BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r |
83 | FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r | |
84 | UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r | |
44b5d55d MK |
85 | BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r |
86 | SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r | |
9a25ad8b | 87 | CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r |
949f388f | 88 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r |
89 | TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r | |
90 | SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r | |
91 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r | |
92 | #\r | |
93 | # Platform\r | |
94 | #\r | |
e0123894 | 95 | PlatformBootManagerLib|EmulatorPkg/Library/PlatformBmLib/PlatformBmLib.inf\r |
bb89ec1a | 96 | KeyMapLib|EmulatorPkg/Library/KeyMapLibNull/KeyMapLibNull.inf\r |
d18d8a1d | 97 | \r |
949f388f | 98 | #\r |
99 | # Misc\r | |
100 | #\r | |
101 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r | |
102 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r | |
103 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r | |
bb89ec1a | 104 | PeiServicesTablePointerLib|EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesTablePointerLibMagicPage.inf\r |
7bbe0b3e | 105 | DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r |
7f5d7425 | 106 | LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf\r |
5d81a9b3 | 107 | CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf\r |
c8f451eb SZ |
108 | TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r |
109 | AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r | |
b6e3355a | 110 | VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r |
3df29b5d | 111 | SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf\r |
fdd8463d RN |
112 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r |
113 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r | |
949f388f | 114 | \r |
65e3f333 | 115 | [LibraryClasses.common.SEC]\r |
bb89ec1a | 116 | PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf\r |
65e3f333 | 117 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r |
bb89ec1a | 118 | PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf\r |
119 | PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf\r | |
120 | SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf\r | |
121 | PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf\r | |
1453e773 | 122 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r |
bb89ec1a | 123 | TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf\r |
65e3f333 | 124 | \r |
949f388f | 125 | [LibraryClasses.common.USER_DEFINED, LibraryClasses.common.BASE]\r |
126 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r | |
127 | PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r | |
128 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
129 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
bb89ec1a | 130 | PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf\r |
131 | ThunkPpiList|EmulatorPkg/Library/ThunkPpiList/ThunkPpiList.inf\r | |
132 | ThunkProtocolList|EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.inf\r | |
65e3f333 | 133 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r |
bb89ec1a | 134 | PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf\r |
135 | PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf\r | |
65e3f333 | 136 | \r |
949f388f | 137 | \r |
138 | [LibraryClasses.common.PEIM, LibraryClasses.common.PEI_CORE]\r | |
139 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
140 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
141 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r | |
bb89ec1a | 142 | PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf\r |
143 | PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf\r | |
949f388f | 144 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r |
bb89ec1a | 145 | SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf\r |
1453e773 | 146 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r |
bb89ec1a | 147 | TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf\r |
949f388f | 148 | \r |
149 | [LibraryClasses.common.PEI_CORE]\r | |
150 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
949f388f | 151 | \r |
152 | [LibraryClasses.common.PEIM]\r | |
153 | PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r | |
949f388f | 154 | \r |
155 | [LibraryClasses.common.DXE_CORE]\r | |
156 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r | |
157 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r | |
158 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
bb89ec1a | 159 | PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf\r |
949f388f | 160 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r |
161 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
bb89ec1a | 162 | TimerLib|EmulatorPkg/Library/DxeCoreTimerLib/DxeCoreTimerLib.inf\r |
163 | EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf\r | |
949f388f | 164 | \r |
165 | [LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_APPLICATION]\r | |
166 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
167 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
168 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
169 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
bb89ec1a | 170 | EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf\r |
171 | PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf\r | |
1453e773 | 172 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r |
bb89ec1a | 173 | TimerLib|EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.inf\r |
949f388f | 174 | \r |
949f388f | 175 | [PcdsFeatureFlag]\r |
176 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r | |
177 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE\r | |
178 | gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE\r | |
1fc93083 | 179 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables|FALSE\r |
949f388f | 180 | \r |
181 | [PcdsFixedAtBuild]\r | |
cf320090 | 182 | gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x00000000\r |
df1b7575 | 183 | gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r |
949f388f | 184 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040\r |
185 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f\r | |
186 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f\r | |
187 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0\r | |
188 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0\r | |
189 | \r | |
bb89ec1a | 190 | gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareFdSize|0x002a0000\r |
191 | gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareBlockSize|0x10000\r | |
192 | gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareVolume|L"../FV/FV_RECOVERY.fd"\r | |
d18d8a1d | 193 | \r |
59ad461d | 194 | gEmulatorPkgTokenSpaceGuid.PcdEmuMemorySize|L"64!64"\r |
72a44be9 | 195 | \r |
e0123894 RN |
196 | # Change PcdBootManagerMenuFile to UiApp\r |
197 | gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r | |
198 | \r | |
72a44be9 | 199 | \r |
949f388f | 200 | #define BOOT_WITH_FULL_CONFIGURATION 0x00\r |
201 | #define BOOT_WITH_MINIMAL_CONFIGURATION 0x01\r | |
202 | #define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES 0x02\r | |
203 | #define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03\r | |
204 | #define BOOT_WITH_DEFAULT_SETTINGS 0x04\r | |
205 | #define BOOT_ON_S4_RESUME 0x05\r | |
206 | #define BOOT_ON_S5_RESUME 0x06\r | |
207 | #define BOOT_ON_S2_RESUME 0x10\r | |
208 | #define BOOT_ON_S3_RESUME 0x11\r | |
209 | #define BOOT_ON_FLASH_UPDATE 0x12\r | |
210 | #define BOOT_IN_RECOVERY_MODE 0x20\r | |
bb89ec1a | 211 | gEmulatorPkgTokenSpaceGuid.PcdEmuBootMode|0\r |
d18d8a1d | 212 | \r |
bb89ec1a | 213 | gEmulatorPkgTokenSpaceGuid.PcdEmuApCount|L"1"\r |
949f388f | 214 | \r |
5dcda296 | 215 | # For a CD-ROM/DVD use L"diag.dmg:RO:2048"\r |
bb89ec1a | 216 | gEmulatorPkgTokenSpaceGuid.PcdEmuVirtualDisk|L"disk.dmg:FW"\r |
217 | gEmulatorPkgTokenSpaceGuid.PcdEmuGop|L"GOP Window"\r | |
033949a8 | 218 | gEmulatorPkgTokenSpaceGuid.PcdEmuFileSystem|L"."\r |
bb89ec1a | 219 | gEmulatorPkgTokenSpaceGuid.PcdEmuSerialPort|L"/dev/ttyS0"\r |
220 | gEmulatorPkgTokenSpaceGuid.PcdEmuNetworkInterface|L"en0"\r | |
949f388f | 221 | \r |
bb89ec1a | 222 | gEmulatorPkgTokenSpaceGuid.PcdEmuCpuModel|L"Intel(R) Processor Model"\r |
223 | gEmulatorPkgTokenSpaceGuid.PcdEmuCpuSpeed|L"3000"\r | |
949f388f | 224 | \r |
1c145953 | 225 | # 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM\r |
7e284acb | 226 | gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1\r |
227 | \r | |
949f388f | 228 | [PcdsDynamicDefault.common.DEFAULT]\r |
229 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0\r | |
230 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0\r | |
231 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r | |
232 | \r | |
233 | [PcdsDynamicHii.common.DEFAULT]\r | |
234 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Setup"|gEmuSystemConfigGuid|0x0|80\r | |
235 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Setup"|gEmuSystemConfigGuid|0x4|25\r | |
e0123894 | 236 | gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10\r |
949f388f | 237 | \r |
949f388f | 238 | [Components]\r |
53a6813f | 239 | !ifdef $(UNIX_SEC_BUILD)\r |
949f388f | 240 | ##\r |
5dcda296 | 241 | # Emulator, OS POSIX application\r |
949f388f | 242 | ##\r |
59ad461d | 243 | EmulatorPkg/Unix/Host/Host.inf\r |
53a6813f | 244 | !endif\r |
245 | \r | |
3c859dfe RN |
246 | !ifdef $(WIN_SEC_BUILD)\r |
247 | ##\r | |
248 | # Emulator, OS WIN application\r | |
249 | ##\r | |
250 | EmulatorPkg/Win/Host/WinHost.inf\r | |
251 | !endif\r | |
252 | \r | |
53a6813f | 253 | !ifndef $(SKIP_MAIN_BUILD)\r |
65e3f333 | 254 | #\r |
255 | # Generic SEC\r | |
256 | #\r | |
bb89ec1a | 257 | EmulatorPkg/Sec/Sec.inf\r |
65e3f333 | 258 | \r |
949f388f | 259 | ##\r |
260 | # PEI Phase modules\r | |
261 | ##\r | |
262 | MdeModulePkg/Core/Pei/PeiMain.inf\r | |
263 | MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r | |
264 | <LibraryClasses>\r | |
265 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
266 | }\r | |
267 | MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf\r | |
d18d8a1d | 268 | MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf\r |
269 | \r | |
949f388f | 270 | IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r |
bb89ec1a | 271 | EmulatorPkg/BootModePei/BootModePei.inf\r |
94c4575c | 272 | MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf\r |
949f388f | 273 | MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r |
bb89ec1a | 274 | EmulatorPkg/AutoScanPei/AutoScanPei.inf\r |
275 | EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.inf\r | |
276 | EmulatorPkg/FlashMapPei/FlashMapPei.inf\r | |
277 | EmulatorPkg/ThunkPpiToProtocolPei/ThunkPpiToProtocolPei.inf\r | |
45aee4c8 | 278 | MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r |
949f388f | 279 | \r |
280 | ##\r | |
281 | # DXE Phase modules\r | |
282 | ##\r | |
283 | MdeModulePkg/Core/Dxe/DxeMain.inf {\r | |
284 | <LibraryClasses>\r | |
1453e773 | 285 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r |
bed0bbc3 | 286 | SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf\r |
287 | DxeEmuLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf\r | |
949f388f | 288 | NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r |
7bbe0b3e | 289 | NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r |
949f388f | 290 | }\r |
291 | MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r | |
292 | <LibraryClasses>\r | |
293 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
294 | }\r | |
295 | \r | |
296 | MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r | |
297 | MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {\r | |
298 | <LibraryClasses>\r | |
1453e773 | 299 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r |
d18d8a1d | 300 | SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf\r |
949f388f | 301 | }\r |
302 | \r | |
1ef41207 | 303 | MdeModulePkg/Universal/Metronome/Metronome.inf\r |
bb89ec1a | 304 | EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.inf\r |
305 | EmulatorPkg/ResetRuntimeDxe/Reset.inf\r | |
949f388f | 306 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r |
bb89ec1a | 307 | EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r |
949f388f | 308 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r |
309 | MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r | |
310 | MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r | |
bb89ec1a | 311 | EmulatorPkg/EmuThunkDxe/EmuThunk.inf\r |
312 | EmulatorPkg/CpuRuntimeDxe/Cpu.inf\r | |
949f388f | 313 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r |
63f9b9b9 | 314 | EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.inf\r |
bb89ec1a | 315 | EmulatorPkg/TimerDxe/Timer.inf\r |
949f388f | 316 | \r |
317 | \r | |
1432065e SZ |
318 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r |
319 | <LibraryClasses>\r | |
320 | NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r | |
321 | }\r | |
949f388f | 322 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r |
323 | MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r | |
324 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r | |
325 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r | |
326 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r | |
327 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r | |
9fffd8e2 | 328 | MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {\r |
7e284acb | 329 | <LibraryClasses>\r |
330 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r | |
d18d8a1d | 331 | SerialPortLib|EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.inf\r |
7e284acb | 332 | }\r |
d18d8a1d | 333 | \r |
949f388f | 334 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r |
e0123894 RN |
335 | MdeModulePkg/Universal/BdsDxe/BdsDxe.inf\r |
336 | MdeModulePkg/Logo/LogoDxe.inf\r | |
337 | MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.inf\r | |
338 | MdeModulePkg/Application/UiApp/UiApp.inf {\r | |
339 | <LibraryClasses>\r | |
340 | NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r | |
341 | NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r | |
342 | NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r | |
343 | }\r | |
344 | MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf\r | |
345 | \r | |
d18d8a1d | 346 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r |
5dcda296 | 347 | #{\r |
d18d8a1d | 348 | # <LibraryClasses>\r |
bb89ec1a | 349 | # NULL|EmulatorPkg/Library/DevicePathTextLib/DevicePathTextLib.inf\r |
5dcda296 | 350 | #}\r |
d18d8a1d | 351 | \r |
949f388f | 352 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r |
353 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r | |
354 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r | |
355 | MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r | |
356 | MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r | |
357 | MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r | |
358 | IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf\r | |
359 | \r | |
bb89ec1a | 360 | EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.inf\r |
361 | EmulatorPkg/EmuGopDxe/EmuGopDxe.inf\r | |
362 | EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystemDxe.inf\r | |
363 | EmulatorPkg/EmuBlockIoDxe/EmuBlockIoDxe.inf\r | |
364 | EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf\r | |
949f388f | 365 | \r |
949f388f | 366 | MdeModulePkg/Application/HelloWorld/HelloWorld.inf\r |
367 | \r | |
368 | #\r | |
369 | # Network stack drivers\r | |
370 | #\r | |
949f388f | 371 | MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r |
372 | MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r | |
373 | MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r | |
949f388f | 374 | MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r |
375 | MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r | |
376 | MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r | |
377 | MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r | |
949f388f | 378 | MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r |
6cf3aeae | 379 | NetworkPkg/TcpDxe/TcpDxe.inf\r |
949f388f | 380 | \r |
381 | MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r | |
382 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r | |
9a25ad8b | 383 | MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r |
949f388f | 384 | MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r |
385 | MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r | |
386 | MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {\r | |
387 | <LibraryClasses>\r | |
388 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
389 | }\r | |
390 | \r | |
949f388f | 391 | FatPkg/EnhancedFatDxe/Fat.inf\r |
72a44be9 | 392 | \r |
fdd8463d RN |
393 | ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r |
394 | <PcdsFixedAtBuild>\r | |
395 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
396 | }\r | |
72a44be9 | 397 | ShellPkg/Application/Shell/Shell.inf {\r |
398 | <LibraryClasses>\r | |
399 | ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r | |
400 | NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r | |
401 | NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r | |
402 | NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r | |
403 | NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r | |
404 | NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r | |
405 | NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r | |
406 | NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r | |
407 | HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r | |
45aee4c8 | 408 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r |
72a44be9 | 409 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r |
3f2035e7 | 410 | # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf\r |
411 | # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf\r | |
9fe7c61b JJ |
412 | BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r |
413 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r | |
5dcda296 | 414 | \r |
72a44be9 | 415 | <PcdsFixedAtBuild>\r |
416 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r | |
417 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
418 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r | |
419 | }\r | |
72a44be9 | 420 | \r |
53a6813f | 421 | !endif\r |
422 | \r | |
0d9b5c46 RN |
423 | [BuildOptions]\r |
424 | MSFT:DEBUG_*_*_CC_FLAGS = /Od /Oy-\r | |
425 | MSFT:NOOPT_*_*_CC_FLAGS = /Od /Oy-\r | |
426 | \r | |
427 | MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE\r | |
428 | MSFT:DEBUG_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000\r | |
429 | MSFT:NOOPT_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000\r | |
430 | \r |