]> git.proxmox.com Git - mirror_edk2.git/blob - DuetPkg/DuetPkg.dsc
fixed typo
[mirror_edk2.git] / DuetPkg / DuetPkg.dsc
1
2 [Defines]
3 PLATFORM_NAME = DuetPkg
4 PLATFORM_GUID = 199E24E0-0989-42aa-87F2-611A8C397E72
5 PLATFORM_VERSION = 0.3
6 DSC_SPECIFICATION = 0x00010005
7 OUTPUT_DIRECTORY = Build/DuetPkg
8 SUPPORTED_ARCHITECTURES = IA32|X64
9 BUILD_TARGETS = DEBUG
10 SKUID_IDENTIFIER = DEFAULT
11 FLASH_DEFINITION = DuetPkg/DuetPkg.fdf
12
13 [LibraryClasses.common]
14 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
15 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
16 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
17 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
18 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
19 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
20 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
21 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
22 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
23 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
24 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
25 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
26 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
27 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
28 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
29 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
30 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
31 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
32 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
33 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
34 PlatformBdsLib|DuetPkg/Library/DuetBdsLib/PlatformBds.inf
35 IfrSupportLib|MdeModulePkg/Library/UefiIfrSupportLib/UefiIfrSupportLib.inf
36 ExtendedIfrSupportLib|MdeModulePkg/Library/ExtendedIfrSupportLib/ExtendedIfrSupportLib.inf
37 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
38 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
39 ExtendedHiiLib|MdeModulePkg/Library/ExtendedHiiLib/ExtendedHiiLib.inf
40 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
41 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
42 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
43 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
44 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
45 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
46 OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
47 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
48 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
49 TimerLib|DuetPkg/Library/DuetTimerLib/DuetTimerLib.inf
50 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
51 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
52
53 [LibraryClasses.common.DXE_DRIVER]
54 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
55 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
56 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf
57 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
58 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
59 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
60 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
61
62 [LibraryClasses.common.DXE_CORE]
63 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
64 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
65 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
66 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
67 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
68 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
69 ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf
70 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf
71 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
72 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
73
74
75 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
76 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
77 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
78 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf
79 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
80 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
81
82 [LibraryClasses.common.UEFI_DRIVER]
83 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
84 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf
85 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
86
87 [LibraryClasses.common.UEFI_APPLICATION]
88 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
89 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf
90 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
91
92 [PcdsFixedAtBuild]
93 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
94 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
95
96 [PcdsPatchableInModule]
97 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042
98 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
99 gEfiSioTokenSpaceGuid.PcdSerialRegisterBase|0x3F8
100 gEfiSioTokenSpaceGuid.PcdSerialLineControl|0x07
101 gEfiSioTokenSpaceGuid.PcdSerialBoudRate|115200
102 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
103
104 [PcdsFeatureFlag]
105 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseHardSerial|TRUE
106
107 ###################################################################################################
108 #
109 # Components Section - list of the modules and components that will be processed by compilation
110 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
111 #
112 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
113 # into firmware volume images. This section is just a list of modules to compile from
114 # source into UEFI-compliant binaries.
115 # It is the FDF file that contains information on combining binary files into firmware
116 # volume images, whose concept is beyond UEFI and is described in PI specification.
117 # Binary modules do not need to be listed in this section, as they should be
118 # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
119 # Logo (Logo.bmp), and etc.
120 # There may also be modules listed in this section that are not required in the FDF file,
121 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
122 # generated for it, but the binary will not be put into any firmware volume.
123 #
124 ###################################################################################################
125
126 [Components.common]
127 DuetPkg/DxeIpl/DxeIpl.inf {
128 <LibraryClasses>
129 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
130 }
131
132 MdeModulePkg/Core/Dxe/DxeMain.inf
133 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
134 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
135 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
136
137 DuetPkg/FSVariable/FSVariable.inf
138 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
139 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
140 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
141 IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCode.inf
142 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
143 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
144 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
145 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
146
147 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
148 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
149 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
150 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
151
152
153 DuetPkg/DataHubGenDxe/DataHubGen.inf
154 #DuetPkg/FvbRuntimeService/DUETFwh.inf
155 DuetPkg/EfiLdr/EfiLdr.inf {
156 <LibraryClasses>
157 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
158 }
159 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
160 DuetPkg/CpuIoDxe/CpuIo.inf
161 DuetPkg/CpuDxe/Cpu.inf
162 IntelFrameworkModulePkg/Universal/Legacy8259Dxe/8259.inf
163 DuetPkg/KbcResetDxe/Reset.inf
164 DuetPkg/LegacyMetronome/Metronome.inf
165
166 DuetPkg/PcRtc/RealTimeClock.inf
167 DuetPkg/8254TimerDxe/8254Timer.inf
168 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
169 DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
170 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf
171 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
172
173 # IDE Support
174 #IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
175
176 # Usb Support
177 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
178 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
179 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
180 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
181
182 # ISA Support
183 DuetPkg/IsaAcpiDxe/IsaAcpi.inf
184 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
185 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
186 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
187 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
188
189 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
190 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
191 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
192
193 [Components.IA32]
194 DuetPkg/BootSector/BootSector.inf
195
196 [BuildOptions.common]
197 MSFT:*_*_*_CC_FLAGS = /FAsc /FR$(@R).SBR
198 MSFT:*_*_IA32_CC_FLAGS = /D EFI32
199 MSFT:*_*_X64_CC_FLAGS = /D EFIX64
200 MSFT:*_*_IPF_CC_FLAGS = /D EFI64
201