]> git.proxmox.com Git - mirror_edk2.git/blame - DuetPkg/DuetPkg.dsc
Enhance memory copy logic for PEI core image read. The change uses CopyMem() library...
[mirror_edk2.git] / DuetPkg / DuetPkg.dsc
CommitLineData
9f485cc7 1#/** @file\r
2# An EFI/Framework Emulation Platform with UEFI HII interface supported. \r
3#\r
4# Developer's UEFI Emulation. DUET provides an EFI/UEFI IA32/X64 environment on legacy BIOS, \r
5# to help developing and debugging native EFI/UEFI drivers.\r
6# \r
7# Copyright (c) 2010, Intel Corporation. All rights reserved. <BR>\r
8#\r
9# This program and the accompanying materials\r
10# are licensed and made available under the terms and conditions of the BSD License\r
11# which accompanies this distribution. The full text of the license may be found at\r
12# http://opensource.org/licenses/bsd-license.php\r
13#\r
14# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
15# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
16#\r
86c8520c
RN
17#**/\r
18\r
19[Defines]\r
20 PLATFORM_NAME = DuetPkg\r
21 PLATFORM_GUID = 199E24E0-0989-42aa-87F2-611A8C397E72\r
22 PLATFORM_VERSION = 0.3\r
23 DSC_SPECIFICATION = 0x00010005\r
24 OUTPUT_DIRECTORY = Build/DuetPkg\r
25 SUPPORTED_ARCHITECTURES = IA32|X64\r
26 BUILD_TARGETS = DEBUG\r
27 SKUID_IDENTIFIER = DEFAULT\r
28 FLASH_DEFINITION = DuetPkg/DuetPkg.fdf\r
29\r
30[LibraryClasses.common]\r
31 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
32 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
33 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
34 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
35 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
36 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
37 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
38 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
39 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
40 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
41 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
42 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
43 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
44 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
45 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
46 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
47 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
48 PlatformBdsLib|DuetPkg/Library/DuetBdsLib/PlatformBds.inf\r
49 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
50 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
51 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
52 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
53 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
54 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
55 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
56 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
57 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
58 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
59 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
0e047a2a
RN
60 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
61 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
86c8520c
RN
62 TimerLib|DuetPkg/Library/DuetTimerLib/DuetTimerLib.inf\r
63 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
64 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
65 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
66 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
67 \r
68 #\r
69 # To save size, use NULL library for DebugLib and ReportStatusCodeLib.\r
70 # If need status code output, do library instance overriden as below DxeMain.inf does\r
71 #\r
72 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
73 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
74 \r
75[LibraryClasses.common.DXE_CORE]\r
76 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
77 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
78 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
79 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
80 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
81\r
82[PcdsFixedAtBuild]\r
83 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0\r
84 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0\r
85 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x0\r
86\r
c943ee03
RN
87[PcdsFeatureFlag.common]\r
88 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE\r
89\r
86c8520c
RN
90###################################################################################################\r
91#\r
92# Components Section - list of the modules and components that will be processed by compilation\r
93# tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
94#\r
95# Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
96# into firmware volume images. This section is just a list of modules to compile from\r
97# source into UEFI-compliant binaries.\r
98# It is the FDF file that contains information on combining binary files into firmware\r
99# volume images, whose concept is beyond UEFI and is described in PI specification.\r
100# Binary modules do not need to be listed in this section, as they should be\r
101# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r
102# Logo (Logo.bmp), and etc.\r
103# There may also be modules listed in this section that are not required in the FDF file,\r
104# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
105# generated for it, but the binary will not be put into any firmware volume.\r
106#\r
107###################################################################################################\r
108\r
109[Components.common]\r
110 DuetPkg/DxeIpl/DxeIpl.inf {\r
111 <LibraryClasses>\r
112 #\r
113 # If no following overriden for ReportStatusCodeLib library class, \r
114 # All other module can *not* output debug information even they are use not NULL library\r
115 # instance for DebugLib and ReportStatusCodeLib\r
116 #\r
117 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
118 }\r
119\r
120 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
121 #\r
122 # Enable debug output for DxeCore module, this is a sample for how to enable debug output\r
123 # for a module. If need turn on debug output for other module, please copy following overriden\r
124 # PCD and library instance to other module's override section.\r
125 #\r
126 <PcdsFixedAtBuild>\r
127 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
128 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
129 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042\r
130 <LibraryClasses>\r
131 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
132 ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf\r
133 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf\r
134 }\r
135 \r
136 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf\r
137 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
138 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
139 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
140\r
141 DuetPkg/FSVariable/FSVariable.inf\r
142 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
143 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
144 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
145 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
146 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {\r
147 <LibraryClasses>\r
148 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
149 }\r
150 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
151 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
152\r
153 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf\r
154 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
155 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
156 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
157 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
158\r
159\r
160 DuetPkg/SmbiosGenDxe/SmbiosGen.inf\r
161 #DuetPkg/FvbRuntimeService/DUETFwh.inf\r
162 DuetPkg/EfiLdr/EfiLdr.inf {\r
163 <LibraryClasses>\r
164 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
165 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
166 }\r
167 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
168 <LibraryClasses>\r
169 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
170 }\r
171 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
172 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
173 DuetPkg/CpuDxe/Cpu.inf\r
174 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
0e047a2a 175 DuetPkg/AcpiResetDxe/Reset.inf\r
86c8520c
RN
176 DuetPkg/LegacyMetronome/Metronome.inf\r
177\r
178 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
179 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
180 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf\r
181 DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf\r
182 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf\r
183 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf\r
184\r
185 # IDE Support\r
186 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf\r
187 PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf\r
188 \r
189 # Usb Support\r
190 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
191 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
192 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
193 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
194 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
195\r
196 # ISA Support\r
197 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
198 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
199 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
200 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
201 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
202\r
203 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
204 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
205 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
206\r
207 # Bios Thunk\r
208 DuetPkg/BiosVideoThunkDxe/BiosVideo.inf\r
209\r
210 #\r
211 # Sample Application\r
212 #\r
213 MdeModulePkg/Application/HelloWorld/HelloWorld.inf\r
214\r
215[BuildOptions.common]\r
216 MSFT:*_*_*_CC_FLAGS = /FAsc /FR$(@R).SBR\r
217\r