]> git.proxmox.com Git - mirror_edk2.git/blob - DuetPkg/DuetPkg.dsc
8254TimerDxe: DuetPkg => PcAtChipsetPkg
[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/PCD/Dxe/Pcd.inf
134 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
135 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
136 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
137
138 DuetPkg/FSVariable/FSVariable.inf
139 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
140 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
141 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
142 IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCode.inf
143 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
144 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
145 <LibraryClasses>
146 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
147 }
148 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
149 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
150
151 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
152 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
153 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
154 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
155
156
157 DuetPkg/DataHubGenDxe/DataHubGen.inf
158 #DuetPkg/FvbRuntimeService/DUETFwh.inf
159 DuetPkg/EfiLdr/EfiLdr.inf {
160 <LibraryClasses>
161 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
162 }
163 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
164 <LibraryClasses>
165 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
166 }
167 UefiCpuPkg/CpuIoDxe/CpuIo.inf
168 DuetPkg/CpuDxe/Cpu.inf
169 IntelFrameworkModulePkg/Universal/Legacy8259Dxe/8259.inf
170 DuetPkg/KbcResetDxe/Reset.inf
171 DuetPkg/LegacyMetronome/Metronome.inf
172
173 DuetPkg/PcRtc/RealTimeClock.inf
174 DuetPkg/8254TimerDxe/8254Timer.inf
175 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
176 DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
177 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf
178 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
179
180 # IDE Support
181 #IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
182
183 # Usb Support
184 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
185 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
186 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
187 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
188
189 # ISA Support
190 DuetPkg/IsaAcpiDxe/IsaAcpi.inf
191 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
192 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
193 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
194 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
195
196 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
197 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
198 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
199
200 [Components.IA32]
201 DuetPkg/BootSector/BootSector.inf
202
203 [BuildOptions.common]
204 MSFT:*_*_*_CC_FLAGS = /FAsc /FR$(@R).SBR
205 MSFT:*_*_IA32_CC_FLAGS = /D EFI32
206 MSFT:*_*_X64_CC_FLAGS = /D EFIX64
207 MSFT:*_*_IPF_CC_FLAGS = /D EFI64
208