]> git.proxmox.com Git - mirror_edk2.git/blame - DuetPkg/DuetPkg.dsc
1, Enable USB boot for R9's Duet.
[mirror_edk2.git] / DuetPkg / DuetPkg.dsc
CommitLineData
ca162103 1\r
ca162103 2[Defines]\r
3 PLATFORM_NAME = DuetPkg\r
4 PLATFORM_GUID = 199E24E0-0989-42aa-87F2-611A8C397E72\r
5 PLATFORM_VERSION = 0.3\r
6 DSC_SPECIFICATION = 0x00010005\r
7 OUTPUT_DIRECTORY = Build/DuetPkg\r
8 SUPPORTED_ARCHITECTURES = IA32|X64\r
9 BUILD_TARGETS = DEBUG\r
10 SKUID_IDENTIFIER = DEFAULT\r
b9a31177 11 FLASH_DEFINITION = DuetPkg/DuetPkg.fdf\r
ca162103 12\r
13[LibraryClasses.common]\r
14 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
be768885 15 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
ca162103 16 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
17 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
18 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
19 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
be768885 20 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
ca162103 21 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
22 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
23 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
765ee7b9 24 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
91aac0e4 25 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
26 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
c69dd9df 27 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
28 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
29 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
30 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
31 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
32 BaseUefiTianoDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
33 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
34 PlatformBdsLib|DuetPkg/Library/DuetBdsLib/PlatformBds.inf\r
765ee7b9 35 IfrSupportLib|MdeModulePkg/Library/UefiIfrSupportLib/UefiIfrSupportLib.inf\r
c69dd9df 36 ExtendedIfrSupportLib|MdeModulePkg/Library/ExtendedIfrSupportLib/ExtendedIfrSupportLib.inf\r
37 GenericBdsLib|MdeModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
38 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
c69dd9df 39 ExtendedHiiLib|MdeModulePkg/Library/ExtendedHiiLib/ExtendedHiiLib.inf\r
40 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
765ee7b9 41 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
c69dd9df 42 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
43 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
44 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
45 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
46 OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
3da85e63 47 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
d17b2862 48 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
f5752cb2 49 TimerLib|DuetPkg/Library/DuetTimerLib/DuetTimerLib.inf\r
765ee7b9 50 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
289598a3 51 \r
ca162103 52[LibraryClasses.common.DXE_DRIVER]\r
aa79e015 53 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
ca162103 54 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
c69dd9df 55 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
d17b2862 56 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf\r
aa79e015 57 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
cb56d4e4 58 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
765ee7b9 59 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
d17b2862 60 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
61 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
c69dd9df 62\r
63[LibraryClasses.common.DXE_CORE]\r
64 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
65 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
66 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
05e2f68f 67 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
c69dd9df 68 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
d17b2862 69 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
e25803f0 70 ReportStatusCodeLib|DuetPkg/Library/DuetDxeReportStatusCodeLib/DuetDxeReportStatusCodeLib.inf\r
d17b2862 71 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf\r
72 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
73 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
e25803f0 74 \r
75 \r
c69dd9df 76[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
aa79e015 77 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
c69dd9df 78 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
79 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
d17b2862 80 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf\r
cb56d4e4 81 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
be768885 82 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
ca162103 83\r
c69dd9df 84[LibraryClasses.common.UEFI_DRIVER]\r
aa79e015 85 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
d17b2862 86 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf\r
be768885 87 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
88 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
c69dd9df 89\r
90[LibraryClasses.common.UEFI_APPLICATION]\r
aa79e015 91 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
d17b2862 92 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf\r
be768885 93 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
94 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
d17b2862 95\r
82ec45f1 96[PcdsFixedAtBuild]\r
97 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
98 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
99 \r
d17b2862 100[PcdsPatchableInModule]\r
101 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042\r
102 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
103 gEfiSioTokenSpaceGuid.PcdSerialRegisterBase|0x3F8\r
104 gEfiSioTokenSpaceGuid.PcdSerialLineControl|0x07\r
105 gEfiSioTokenSpaceGuid.PcdSerialBoudRate|115200\r
106 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
107\r
108[PcdsFeatureFlag]\r
109 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseHardSerial|TRUE\r
c69dd9df 110\r
111[Components.common]\r
df166ce5 112 DuetPkg/DxeIpl/DxeIpl.inf {\r
113 <LibraryClasses>\r
114 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
115 }\r
c69dd9df 116\r
117 MdeModulePkg/Core/Dxe/DxeMain.inf\r
118 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
119 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
120 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
121 \r
122 DuetPkg/FSVariable/FSVariable.inf\r
eb16e240 123 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
c69dd9df 124 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
125 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
cb56d4e4 126 IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCode.inf \r
c69dd9df 127 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
128 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
129 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
130 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
131\r
132 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf\r
133 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
134 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
135 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
e5653d94 136 \r
137 \r
ca162103 138 DuetPkg/DataHubGenDxe/DataHubGen.inf\r
be768885 139 #DuetPkg/FvbRuntimeService/DUETFwh.inf\r
6d3f7723 140 DuetPkg/EfiLdr/EfiLdr.inf {\r
141 <LibraryClasses>\r
142 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
143 }\r
c69dd9df 144 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf\r
145 DuetPkg/CpuIoDxe/CpuIo.inf\r
146 DuetPkg/CpuDxe/Cpu.inf\r
c69dd9df 147 IntelFrameworkModulePkg/Universal/Legacy8259Dxe/8259.inf\r
148 DuetPkg/KbcResetDxe/Reset.inf\r
149 DuetPkg/LegacyMetronome/Metronome.inf\r
ca162103 150\r
c69dd9df 151 DuetPkg/PcRtc/RealTimeClock.inf\r
eb16e240 152 DuetPkg/8254TimerDxe/8254Timer.inf\r
c69dd9df 153 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf\r
e5653d94 154 DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf\r
155 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf\r
c69dd9df 156 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf\r
e5653d94 157 \r
c69dd9df 158 # IDE Support\r
159 #IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf\r
160 \r
161 # Usb Support\r
162 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
163 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
164 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
165 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
c69dd9df 166 \r
167 # ISA Support\r
168 DuetPkg/IsaAcpiDxe/IsaAcpi.inf\r
e5653d94 169 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
170 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
171 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
be768885 172 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
e5653d94 173\r
174 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
175 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
176 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
177\r
79f16ea3 178[BuildOptions.common]\r
be768885 179 MSFT:*_*_*_CC_FLAGS = /Fa$* /FAsc /FR$(@R).SBR\r
180 MSFT:*_*_IA32_CC_FLAGS = /D EFI32\r
c5dfb477 181 MSFT:*_*_X64_CC_FLAGS = /D EFIX64\r
54cdf471
LG
182 MSFT:*_*_IPF_CC_FLAGS = /D EFI64\r
183