]>
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 | |
6e9f7e5e | 7 | # Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR>\r |
949f388f | 8 | # Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.<BR>\r |
61a85646 | 9 | # Copyright (c) Microsoft Corporation.\r |
949f388f | 10 | #\r |
e3ba31da | 11 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r |
949f388f | 12 | #\r |
13 | ##\r | |
14 | \r | |
949f388f | 15 | [Defines]\r |
e23e488e | 16 | PLATFORM_NAME = EmulatorPkg\r |
949f388f | 17 | PLATFORM_GUID = 05FD064D-1073-E844-936C-A0E16317107D\r |
18 | PLATFORM_VERSION = 0.3\r | |
52cb711d | 19 | DSC_SPECIFICATION = 0x00010005\r |
f89c018f | 20 | OUTPUT_DIRECTORY = Build/Emulator$(ARCH)\r |
e7523e06 | 21 | \r |
112a857f | 22 | SUPPORTED_ARCHITECTURES = X64|IA32\r |
57c320c9 | 23 | BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r |
949f388f | 24 | SKUID_IDENTIFIER = DEFAULT\r |
e23e488e | 25 | FLASH_DEFINITION = EmulatorPkg/EmulatorPkg.fdf\r |
949f388f | 26 | \r |
3b7a897c FS |
27 | \r |
28 | #\r | |
29 | # Network definition\r | |
30 | #\r | |
31 | DEFINE NETWORK_SNP_ENABLE = FALSE\r | |
32 | DEFINE NETWORK_IP6_ENABLE = FALSE\r | |
33 | DEFINE NETWORK_TLS_ENABLE = FALSE\r | |
34 | DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE\r | |
35 | DEFINE NETWORK_ISCSI_ENABLE = FALSE\r | |
7faece69 | 36 | DEFINE SECURE_BOOT_ENABLE = FALSE\r |
3b7a897c | 37 | \r |
484e869d AC |
38 | #\r |
39 | # Redfish definition\r | |
40 | #\r | |
41 | DEFINE REDFISH_ENABLE = FALSE\r | |
42 | \r | |
949f388f | 43 | [SkuIds]\r |
44 | 0|DEFAULT\r | |
45 | \r | |
949f388f | 46 | [LibraryClasses]\r |
47 | #\r | |
48 | # Entry point\r | |
49 | #\r | |
50 | PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r | |
51 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r | |
52 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r | |
53 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r | |
54 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r | |
55 | #\r | |
56 | # Basic\r | |
57 | #\r | |
58 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r | |
59 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r | |
60 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
61 | CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r | |
62 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r | |
63 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
64 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
d773459e | 65 | FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r |
949f388f | 66 | \r |
67 | #\r | |
68 | # UEFI & PI\r | |
69 | #\r | |
70 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r | |
71 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r | |
72 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r | |
73 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r | |
74 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r | |
75 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
76 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
0108a91c | 77 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r |
949f388f | 78 | \r |
79 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r | |
80 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r | |
81 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r | |
63f9b9b9 | 82 | SmbiosLib|EmulatorPkg/Library/SmbiosLib/SmbiosLib.inf\r |
83 | \r | |
949f388f | 84 | #\r |
85 | # Generic Modules\r | |
86 | #\r | |
87 | UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r | |
949f388f | 88 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r |
e0123894 RN |
89 | BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r |
90 | FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r | |
91 | UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r | |
44b5d55d MK |
92 | BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r |
93 | SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r | |
9a25ad8b | 94 | CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r |
949f388f | 95 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r |
96 | TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r | |
97 | SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r | |
98 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r | |
99 | #\r | |
100 | # Platform\r | |
101 | #\r | |
e0123894 | 102 | PlatformBootManagerLib|EmulatorPkg/Library/PlatformBmLib/PlatformBmLib.inf\r |
bb89ec1a | 103 | KeyMapLib|EmulatorPkg/Library/KeyMapLibNull/KeyMapLibNull.inf\r |
484e869d AC |
104 | !if $(REDFISH_ENABLE) == TRUE\r |
105 | RedfishPlatformHostInterfaceLib|EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.inf\r | |
106 | !endif\r | |
949f388f | 107 | #\r |
108 | # Misc\r | |
109 | #\r | |
110 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r | |
111 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r | |
112 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r | |
bb89ec1a | 113 | PeiServicesTablePointerLib|EmulatorPkg/Library/PeiServicesTablePointerLibMagicPage/PeiServicesTablePointerLibMagicPage.inf\r |
7bbe0b3e | 114 | DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r |
7f5d7425 | 115 | LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf\r |
5d81a9b3 | 116 | CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf\r |
c8f451eb | 117 | TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r |
b6e3355a | 118 | VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r |
61a85646 BB |
119 | VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf\r |
120 | VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf\r | |
3df29b5d | 121 | SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf\r |
fdd8463d RN |
122 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r |
123 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r | |
949f388f | 124 | \r |
7faece69 | 125 | !if $(SECURE_BOOT_ENABLE) == TRUE\r |
ea9af514 | 126 | RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf\r |
7faece69 DRW |
127 | IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r |
128 | OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf\r | |
129 | PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf\r | |
130 | AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r | |
131 | !else\r | |
132 | AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r | |
133 | !endif\r | |
134 | \r | |
65e3f333 | 135 | [LibraryClasses.common.SEC]\r |
bb89ec1a | 136 | PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf\r |
65e3f333 | 137 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r |
bb89ec1a | 138 | PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf\r |
139 | PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf\r | |
140 | SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf\r | |
141 | PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf\r | |
1453e773 | 142 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r |
bb89ec1a | 143 | TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf\r |
65e3f333 | 144 | \r |
949f388f | 145 | [LibraryClasses.common.USER_DEFINED, LibraryClasses.common.BASE]\r |
146 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r | |
147 | PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r | |
148 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
149 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
bb89ec1a | 150 | PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf\r |
151 | ThunkPpiList|EmulatorPkg/Library/ThunkPpiList/ThunkPpiList.inf\r | |
152 | ThunkProtocolList|EmulatorPkg/Library/ThunkProtocolList/ThunkProtocolList.inf\r | |
65e3f333 | 153 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r |
bb89ec1a | 154 | PpiListLib|EmulatorPkg/Library/SecPpiListLib/SecPpiListLib.inf\r |
155 | PeiServicesLib|EmulatorPkg/Library/SecPeiServicesLib/SecPeiServicesLib.inf\r | |
65e3f333 | 156 | \r |
949f388f | 157 | \r |
158 | [LibraryClasses.common.PEIM, LibraryClasses.common.PEI_CORE]\r | |
159 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r | |
160 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r | |
161 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r | |
bb89ec1a | 162 | PeCoffGetEntryPointLib|EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/PeiEmuPeCoffGetEntryPointLib.inf\r |
163 | PeCoffExtraActionLib|EmulatorPkg/Library/PeiEmuPeCoffExtraActionLib/PeiEmuPeCoffExtraActionLib.inf\r | |
949f388f | 164 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r |
bb89ec1a | 165 | SerialPortLib|EmulatorPkg/Library/PeiEmuSerialPortLib/PeiEmuSerialPortLib.inf\r |
1453e773 | 166 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r |
bb89ec1a | 167 | TimerLib|EmulatorPkg/Library/PeiTimerLib/PeiTimerLib.inf\r |
949f388f | 168 | \r |
169 | [LibraryClasses.common.PEI_CORE]\r | |
170 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
949f388f | 171 | \r |
172 | [LibraryClasses.common.PEIM]\r | |
173 | PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r | |
949f388f | 174 | \r |
175 | [LibraryClasses.common.DXE_CORE]\r | |
176 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r | |
177 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r | |
178 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
bb89ec1a | 179 | PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf\r |
949f388f | 180 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r |
181 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
bb89ec1a | 182 | TimerLib|EmulatorPkg/Library/DxeCoreTimerLib/DxeCoreTimerLib.inf\r |
183 | EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf\r | |
949f388f | 184 | \r |
7faece69 DRW |
185 | [LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]\r |
186 | !if $(SECURE_BOOT_ENABLE) == TRUE\r | |
187 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r | |
188 | !endif\r | |
189 | \r | |
190 | [LibraryClasses.common.DXE_RUNTIME_DRIVER]\r | |
191 | !if $(SECURE_BOOT_ENABLE) == TRUE\r | |
192 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r | |
193 | !endif\r | |
194 | \r | |
949f388f | 195 | [LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_APPLICATION]\r |
196 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
197 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r | |
198 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
199 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r | |
bb89ec1a | 200 | EmuThunkLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf\r |
201 | PeCoffExtraActionLib|EmulatorPkg/Library/DxeEmuPeCoffExtraActionLib/DxeEmuPeCoffExtraActionLib.inf\r | |
1453e773 | 202 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r |
bb89ec1a | 203 | TimerLib|EmulatorPkg/Library/DxeTimerLib/DxeTimerLib.inf\r |
949f388f | 204 | \r |
949f388f | 205 | [PcdsFeatureFlag]\r |
206 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r | |
949f388f | 207 | gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE\r |
1fc93083 | 208 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplBuildPageTables|FALSE\r |
949f388f | 209 | \r |
210 | [PcdsFixedAtBuild]\r | |
cf320090 | 211 | gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x00000000\r |
df1b7575 | 212 | gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r |
949f388f | 213 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040\r |
214 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f\r | |
215 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f\r | |
216 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0\r | |
217 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0\r | |
6e9f7e5e | 218 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE\r |
949f388f | 219 | \r |
bb89ec1a | 220 | gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareFdSize|0x002a0000\r |
221 | gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareBlockSize|0x10000\r | |
222 | gEmulatorPkgTokenSpaceGuid.PcdEmuFirmwareVolume|L"../FV/FV_RECOVERY.fd"\r | |
7faece69 DRW |
223 | !if $(SECURE_BOOT_ENABLE) == TRUE\r |
224 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r | |
225 | gEfiSecurityPkgTokenSpaceGuid.PcdUserPhysicalPresence|TRUE\r | |
226 | !endif\r | |
d18d8a1d | 227 | \r |
59ad461d | 228 | gEmulatorPkgTokenSpaceGuid.PcdEmuMemorySize|L"64!64"\r |
72a44be9 | 229 | \r |
e0123894 RN |
230 | # Change PcdBootManagerMenuFile to UiApp\r |
231 | gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r | |
232 | \r | |
72a44be9 | 233 | \r |
949f388f | 234 | #define BOOT_WITH_FULL_CONFIGURATION 0x00\r |
235 | #define BOOT_WITH_MINIMAL_CONFIGURATION 0x01\r | |
236 | #define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES 0x02\r | |
237 | #define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03\r | |
238 | #define BOOT_WITH_DEFAULT_SETTINGS 0x04\r | |
239 | #define BOOT_ON_S4_RESUME 0x05\r | |
240 | #define BOOT_ON_S5_RESUME 0x06\r | |
241 | #define BOOT_ON_S2_RESUME 0x10\r | |
242 | #define BOOT_ON_S3_RESUME 0x11\r | |
243 | #define BOOT_ON_FLASH_UPDATE 0x12\r | |
244 | #define BOOT_IN_RECOVERY_MODE 0x20\r | |
bb89ec1a | 245 | gEmulatorPkgTokenSpaceGuid.PcdEmuBootMode|0\r |
d18d8a1d | 246 | \r |
bb89ec1a | 247 | gEmulatorPkgTokenSpaceGuid.PcdEmuApCount|L"1"\r |
949f388f | 248 | \r |
5dcda296 | 249 | # For a CD-ROM/DVD use L"diag.dmg:RO:2048"\r |
bb89ec1a | 250 | gEmulatorPkgTokenSpaceGuid.PcdEmuVirtualDisk|L"disk.dmg:FW"\r |
251 | gEmulatorPkgTokenSpaceGuid.PcdEmuGop|L"GOP Window"\r | |
033949a8 | 252 | gEmulatorPkgTokenSpaceGuid.PcdEmuFileSystem|L"."\r |
bb89ec1a | 253 | gEmulatorPkgTokenSpaceGuid.PcdEmuSerialPort|L"/dev/ttyS0"\r |
254 | gEmulatorPkgTokenSpaceGuid.PcdEmuNetworkInterface|L"en0"\r | |
949f388f | 255 | \r |
bb89ec1a | 256 | gEmulatorPkgTokenSpaceGuid.PcdEmuCpuModel|L"Intel(R) Processor Model"\r |
257 | gEmulatorPkgTokenSpaceGuid.PcdEmuCpuSpeed|L"3000"\r | |
949f388f | 258 | \r |
1c145953 | 259 | # 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM\r |
7e284acb | 260 | gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1\r |
261 | \r | |
484e869d AC |
262 | !if $(REDFISH_ENABLE) == TRUE\r |
263 | gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath.DevicePathMatchMode|DEVICE_PATH_MATCH_MAC_NODE\r | |
264 | gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath.DevicePathNum|1\r | |
265 | #\r | |
266 | # Below is the MAC address of network adapter on EDK2 Emulator platform.\r | |
267 | # You can use ifconfig under EFI shell to get the MAC address of network adapter on EDK2 Emulator platform.\r | |
268 | #\r | |
269 | gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath.DevicePath|{DEVICE_PATH("MAC(000000000000,0x1)")}\r | |
270 | gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceAccessModeInBand|False\r | |
271 | gEfiRedfishPkgTokenSpaceGuid.PcdRedfishDiscoverAccessModeInBand|False\r | |
272 | !endif\r | |
273 | \r | |
949f388f | 274 | [PcdsDynamicDefault.common.DEFAULT]\r |
275 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0\r | |
276 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0\r | |
277 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r | |
278 | \r | |
279 | [PcdsDynamicHii.common.DEFAULT]\r | |
280 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Setup"|gEmuSystemConfigGuid|0x0|80\r | |
281 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Setup"|gEmuSystemConfigGuid|0x4|25\r | |
e0123894 | 282 | gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10\r |
949f388f | 283 | \r |
949f388f | 284 | [Components]\r |
50509ec6 | 285 | !if "IA32" in $(ARCH) || "X64" in $(ARCH)\r |
2737037a | 286 | !if "MSFT" in $(FAMILY) || $(WIN_HOST_BUILD) == TRUE\r |
50509ec6 MK |
287 | ##\r |
288 | # Emulator, OS WIN application\r | |
0b9ad0bc | 289 | # CLANGPDB is cross OS tool chain. It depends on WIN_HOST_BUILD flag\r |
2737037a | 290 | # to build WinHost application.\r |
50509ec6 MK |
291 | ##\r |
292 | EmulatorPkg/Win/Host/WinHost.inf\r | |
293 | !else\r | |
294 | ##\r | |
295 | # Emulator, OS POSIX application\r | |
296 | ##\r | |
297 | EmulatorPkg/Unix/Host/Host.inf\r | |
298 | !endif\r | |
3c859dfe RN |
299 | !endif\r |
300 | \r | |
53a6813f | 301 | !ifndef $(SKIP_MAIN_BUILD)\r |
65e3f333 | 302 | #\r |
303 | # Generic SEC\r | |
304 | #\r | |
bb89ec1a | 305 | EmulatorPkg/Sec/Sec.inf\r |
65e3f333 | 306 | \r |
949f388f | 307 | ##\r |
308 | # PEI Phase modules\r | |
309 | ##\r | |
310 | MdeModulePkg/Core/Pei/PeiMain.inf\r | |
311 | MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r | |
312 | <LibraryClasses>\r | |
313 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
314 | }\r | |
315 | MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf\r | |
d18d8a1d | 316 | MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf\r |
317 | \r | |
bb89ec1a | 318 | EmulatorPkg/BootModePei/BootModePei.inf\r |
94c4575c | 319 | MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf\r |
949f388f | 320 | MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r |
bb89ec1a | 321 | EmulatorPkg/AutoScanPei/AutoScanPei.inf\r |
322 | EmulatorPkg/FirmwareVolumePei/FirmwareVolumePei.inf\r | |
323 | EmulatorPkg/FlashMapPei/FlashMapPei.inf\r | |
324 | EmulatorPkg/ThunkPpiToProtocolPei/ThunkPpiToProtocolPei.inf\r | |
45aee4c8 | 325 | MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r |
949f388f | 326 | \r |
327 | ##\r | |
328 | # DXE Phase modules\r | |
329 | ##\r | |
330 | MdeModulePkg/Core/Dxe/DxeMain.inf {\r | |
331 | <LibraryClasses>\r | |
1453e773 | 332 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r |
bed0bbc3 | 333 | SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf\r |
334 | DxeEmuLib|EmulatorPkg/Library/DxeEmuLib/DxeEmuLib.inf\r | |
949f388f | 335 | NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r |
7bbe0b3e | 336 | NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r |
949f388f | 337 | }\r |
338 | MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r | |
339 | <LibraryClasses>\r | |
340 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
341 | }\r | |
342 | \r | |
343 | MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r | |
344 | MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {\r | |
345 | <LibraryClasses>\r | |
1453e773 | 346 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r |
d18d8a1d | 347 | SerialPortLib|EmulatorPkg/Library/DxeEmuStdErrSerialPortLib/DxeEmuStdErrSerialPortLib.inf\r |
949f388f | 348 | }\r |
349 | \r | |
1ef41207 | 350 | MdeModulePkg/Universal/Metronome/Metronome.inf\r |
bb89ec1a | 351 | EmulatorPkg/RealTimeClockRuntimeDxe/RealTimeClock.inf\r |
352 | EmulatorPkg/ResetRuntimeDxe/Reset.inf\r | |
949f388f | 353 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r |
bb89ec1a | 354 | EmulatorPkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r |
7faece69 DRW |
355 | \r |
356 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r | |
357 | <LibraryClasses>\r | |
358 | !if $(SECURE_BOOT_ENABLE) == TRUE\r | |
359 | NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r | |
360 | !endif\r | |
361 | }\r | |
362 | \r | |
949f388f | 363 | MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r |
364 | MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r | |
bb89ec1a | 365 | EmulatorPkg/EmuThunkDxe/EmuThunk.inf\r |
366 | EmulatorPkg/CpuRuntimeDxe/Cpu.inf\r | |
949f388f | 367 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r |
63f9b9b9 | 368 | EmulatorPkg/PlatformSmbiosDxe/PlatformSmbiosDxe.inf\r |
bb89ec1a | 369 | EmulatorPkg/TimerDxe/Timer.inf\r |
949f388f | 370 | \r |
7faece69 DRW |
371 | !if $(SECURE_BOOT_ENABLE) == TRUE\r |
372 | SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r | |
373 | !endif\r | |
949f388f | 374 | \r |
1432065e SZ |
375 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r |
376 | <LibraryClasses>\r | |
377 | NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r | |
378 | }\r | |
949f388f | 379 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r |
380 | MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r | |
381 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r | |
382 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r | |
383 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r | |
384 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r | |
9fffd8e2 | 385 | MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {\r |
7e284acb | 386 | <LibraryClasses>\r |
387 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r | |
d18d8a1d | 388 | SerialPortLib|EmulatorPkg/Library/DxeEmuSerialPortLib/DxeEmuSerialPortLib.inf\r |
7e284acb | 389 | }\r |
d18d8a1d | 390 | \r |
949f388f | 391 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r |
e0123894 | 392 | MdeModulePkg/Universal/BdsDxe/BdsDxe.inf\r |
6ed2c8be | 393 | !if "XCODE5" not in $(TOOL_CHAIN_TAG)\r |
e0123894 | 394 | MdeModulePkg/Logo/LogoDxe.inf\r |
6ed2c8be | 395 | !endif\r |
e0123894 RN |
396 | MdeModulePkg/Universal/LoadFileOnFv2/LoadFileOnFv2.inf\r |
397 | MdeModulePkg/Application/UiApp/UiApp.inf {\r | |
398 | <LibraryClasses>\r | |
399 | NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r | |
400 | NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r | |
401 | NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r | |
402 | }\r | |
403 | MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf\r | |
404 | \r | |
d18d8a1d | 405 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r |
5dcda296 | 406 | #{\r |
d18d8a1d | 407 | # <LibraryClasses>\r |
bb89ec1a | 408 | # NULL|EmulatorPkg/Library/DevicePathTextLib/DevicePathTextLib.inf\r |
5dcda296 | 409 | #}\r |
d18d8a1d | 410 | \r |
949f388f | 411 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r |
412 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r | |
413 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r | |
414 | MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r | |
415 | MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r | |
416 | MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r | |
949f388f | 417 | \r |
bb89ec1a | 418 | EmulatorPkg/EmuBusDriverDxe/EmuBusDriverDxe.inf\r |
419 | EmulatorPkg/EmuGopDxe/EmuGopDxe.inf\r | |
420 | EmulatorPkg/EmuSimpleFileSystemDxe/EmuSimpleFileSystemDxe.inf\r | |
421 | EmulatorPkg/EmuBlockIoDxe/EmuBlockIoDxe.inf\r | |
422 | EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf\r | |
949f388f | 423 | \r |
949f388f | 424 | MdeModulePkg/Application/HelloWorld/HelloWorld.inf\r |
425 | \r | |
949f388f | 426 | MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r |
427 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r | |
9a25ad8b | 428 | MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r |
949f388f | 429 | MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r |
430 | MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r | |
431 | MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {\r | |
432 | <LibraryClasses>\r | |
433 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
434 | }\r | |
435 | \r | |
949f388f | 436 | FatPkg/EnhancedFatDxe/Fat.inf\r |
72a44be9 | 437 | \r |
6ed2c8be | 438 | !if "XCODE5" not in $(TOOL_CHAIN_TAG)\r |
fdd8463d RN |
439 | ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r |
440 | <PcdsFixedAtBuild>\r | |
441 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
442 | }\r | |
6ed2c8be | 443 | !endif\r |
72a44be9 | 444 | ShellPkg/Application/Shell/Shell.inf {\r |
445 | <LibraryClasses>\r | |
446 | ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r | |
447 | NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r | |
448 | NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r | |
449 | NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r | |
450 | NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r | |
451 | NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r | |
452 | NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r | |
453 | NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r | |
454 | HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r | |
45aee4c8 | 455 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r |
72a44be9 | 456 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r |
3f2035e7 | 457 | # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf\r |
458 | # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf\r | |
9fe7c61b JJ |
459 | BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r |
460 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r | |
5dcda296 | 461 | \r |
72a44be9 | 462 | <PcdsFixedAtBuild>\r |
463 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r | |
464 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
465 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r | |
466 | }\r | |
72a44be9 | 467 | \r |
53a6813f | 468 | !endif\r |
469 | \r | |
3b7a897c FS |
470 | !include NetworkPkg/Network.dsc.inc\r |
471 | \r | |
484e869d AC |
472 | !if $(REDFISH_ENABLE) == TRUE\r |
473 | EmulatorPkg/Application/RedfishPlatformConfig/RedfishPlatformConfig.inf\r | |
474 | !endif\r | |
475 | !include RedfishPkg/Redfish.dsc.inc\r | |
476 | \r | |
0d9b5c46 | 477 | [BuildOptions]\r |
9e3ab94d MK |
478 | #\r |
479 | # Disable deprecated APIs.\r | |
480 | #\r | |
481 | *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r | |
482 | \r | |
0d9b5c46 RN |
483 | MSFT:DEBUG_*_*_CC_FLAGS = /Od /Oy-\r |
484 | MSFT:NOOPT_*_*_CC_FLAGS = /Od /Oy-\r | |
0b9ad0bc | 485 | GCC:DEBUG_CLANGPDB_*_CC_FLAGS =-O0 -Wno-unused-command-line-argument -Wno-incompatible-pointer-types -Wno-enum-conversion -Wno-incompatible-pointer-types -Wno-sometimes-uninitialized -Wno-constant-conversion -Wno-main-return-type\r |
0d9b5c46 RN |
486 | \r |
487 | MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE\r | |
488 | MSFT:DEBUG_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000\r | |
489 | MSFT:NOOPT_*_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000\r | |
2737037a LG |
490 | \r |
491 | !if $(WIN_HOST_BUILD) == TRUE\r | |
492 | #\r | |
0b9ad0bc | 493 | # CLANGPDB tool chain depends on WIN_HOST_BUILD flag to generate the windows application.\r |
2737037a | 494 | #\r |
0b9ad0bc LG |
495 | GCC:*_CLANGPDB_*_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE\r |
496 | GCC:DEBUG_CLANGPDB_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000\r | |
497 | GCC:NOOPT_CLANGPDB_*_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /BASE:0x10000\r | |
2737037a | 498 | !endif\r |