]> git.proxmox.com Git - mirror_edk2.git/blob - DuetPkg/DuetPkg.dsc
1, Enable USB boot for R9's Duet.
[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 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
16 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
17 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
18 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
19 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
20 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
21 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
22 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
23 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
24 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
25 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
26 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
27 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
28 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
29 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
30 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
31 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
32 BaseUefiTianoDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.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|MdeModulePkg/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
52 [LibraryClasses.common.DXE_DRIVER]
53 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
54 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
55 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.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 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
62
63 [LibraryClasses.common.DXE_CORE]
64 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
65 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
66 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
67 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
68 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
69 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
70 ReportStatusCodeLib|DuetPkg/Library/DuetDxeReportStatusCodeLib/DuetDxeReportStatusCodeLib.inf
71 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf
72 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
73 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
74
75
76 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
77 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
78 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
79 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
80 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf
81 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
82 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
83
84 [LibraryClasses.common.UEFI_DRIVER]
85 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
86 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf
87 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
88 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
89
90 [LibraryClasses.common.UEFI_APPLICATION]
91 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
92 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf
93 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
94 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
95
96 [PcdsFixedAtBuild]
97 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
98 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
99
100 [PcdsPatchableInModule]
101 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042
102 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
103 gEfiSioTokenSpaceGuid.PcdSerialRegisterBase|0x3F8
104 gEfiSioTokenSpaceGuid.PcdSerialLineControl|0x07
105 gEfiSioTokenSpaceGuid.PcdSerialBoudRate|115200
106 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
107
108 [PcdsFeatureFlag]
109 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseHardSerial|TRUE
110
111 [Components.common]
112 DuetPkg/DxeIpl/DxeIpl.inf {
113 <LibraryClasses>
114 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
115 }
116
117 MdeModulePkg/Core/Dxe/DxeMain.inf
118 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
119 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
120 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
121
122 DuetPkg/FSVariable/FSVariable.inf
123 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
124 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
125 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
126 IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCode.inf
127 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
128 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
129 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
130 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
131
132 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
133 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
134 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
135 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
136
137
138 DuetPkg/DataHubGenDxe/DataHubGen.inf
139 #DuetPkg/FvbRuntimeService/DUETFwh.inf
140 DuetPkg/EfiLdr/EfiLdr.inf {
141 <LibraryClasses>
142 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
143 }
144 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
145 DuetPkg/CpuIoDxe/CpuIo.inf
146 DuetPkg/CpuDxe/Cpu.inf
147 IntelFrameworkModulePkg/Universal/Legacy8259Dxe/8259.inf
148 DuetPkg/KbcResetDxe/Reset.inf
149 DuetPkg/LegacyMetronome/Metronome.inf
150
151 DuetPkg/PcRtc/RealTimeClock.inf
152 DuetPkg/8254TimerDxe/8254Timer.inf
153 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
154 DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
155 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf
156 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
157
158 # IDE Support
159 #IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
160
161 # Usb Support
162 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
163 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
164 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
165 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
166
167 # ISA Support
168 DuetPkg/IsaAcpiDxe/IsaAcpi.inf
169 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
170 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
171 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
172 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
173
174 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
175 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
176 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
177
178 [BuildOptions.common]
179 MSFT:*_*_*_CC_FLAGS = /Fa$* /FAsc /FR$(@R).SBR
180 MSFT:*_*_IA32_CC_FLAGS = /D EFI32
181 MSFT:*_*_X64_CC_FLAGS = /D EFIX64
182 MSFT:*_*_IPF_CC_FLAGS = /D EFI64
183