]> git.proxmox.com Git - mirror_edk2.git/blame - DuetPkg/DuetPkg.dsc
Update DuetPkg to include DxePcdDriver.
[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
914826ba 15 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
be768885 16 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
ca162103 17 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
18 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
19 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
20 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
8e0e028a 21 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
ca162103 22 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
23 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
24 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
765ee7b9 25 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
91aac0e4 26 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
27 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
c69dd9df 28 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
29 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
30 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
31 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
32 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
c69dd9df 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
80f73b51 37 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
c69dd9df 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
dc4dc1de 51 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
289598a3 52 \r
ca162103 53[LibraryClasses.common.DXE_DRIVER]\r
aa79e015 54 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
ca162103 55 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.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
c69dd9df 61\r
62[LibraryClasses.common.DXE_CORE]\r
63 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
64 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
65 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
05e2f68f 66 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
c69dd9df 67 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
d17b2862 68 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
8e0e028a 69 ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf\r
d17b2862 70 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf\r
71 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
72 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
e25803f0 73 \r
74 \r
c69dd9df 75[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
aa79e015 76 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
c69dd9df 77 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
d17b2862 78 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf\r
cb56d4e4 79 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
be768885 80 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
ca162103 81\r
c69dd9df 82[LibraryClasses.common.UEFI_DRIVER]\r
aa79e015 83 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
d17b2862 84 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf\r
be768885 85 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
c69dd9df 86\r
87[LibraryClasses.common.UEFI_APPLICATION]\r
aa79e015 88 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
d17b2862 89 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf\r
be768885 90 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
d17b2862 91\r
82ec45f1 92[PcdsFixedAtBuild]\r
93 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
94 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
95 \r
d17b2862 96[PcdsPatchableInModule]\r
97 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042\r
98 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
99 gEfiSioTokenSpaceGuid.PcdSerialRegisterBase|0x3F8\r
100 gEfiSioTokenSpaceGuid.PcdSerialLineControl|0x07\r
101 gEfiSioTokenSpaceGuid.PcdSerialBoudRate|115200\r
102 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
103\r
104[PcdsFeatureFlag]\r
105 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseHardSerial|TRUE\r
c69dd9df 106\r
6074a6fb 107###################################################################################################\r
108#\r
109# Components Section - list of the modules and components that will be processed by compilation\r
110# tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
111#\r
112# Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
113# into firmware volume images. This section is just a list of modules to compile from\r
114# source into UEFI-compliant binaries.\r
115# It is the FDF file that contains information on combining binary files into firmware\r
116# volume images, whose concept is beyond UEFI and is described in PI specification.\r
117# Binary modules do not need to be listed in this section, as they should be\r
118# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r
119# Logo (Logo.bmp), and etc.\r
120# There may also be modules listed in this section that are not required in the FDF file,\r
121# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
122# generated for it, but the binary will not be put into any firmware volume.\r
123#\r
124###################################################################################################\r
125\r
c69dd9df 126[Components.common]\r
df166ce5 127 DuetPkg/DxeIpl/DxeIpl.inf {\r
128 <LibraryClasses>\r
129 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
130 }\r
c69dd9df 131\r
132 MdeModulePkg/Core/Dxe/DxeMain.inf\r
b4e83ab7 133 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf\r
c69dd9df 134 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
135 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
136 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
137 \r
138 DuetPkg/FSVariable/FSVariable.inf\r
eb16e240 139 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
c69dd9df 140 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
141 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
cb56d4e4 142 IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCode.inf \r
c69dd9df 143 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
b4e83ab7 144 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {\r
145 <LibraryClasses>\r
146 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
147 }\r
c69dd9df 148 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
149 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
150\r
151 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf\r
152 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
153 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
154 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
e5653d94 155 \r
156 \r
ca162103 157 DuetPkg/DataHubGenDxe/DataHubGen.inf\r
be768885 158 #DuetPkg/FvbRuntimeService/DUETFwh.inf\r
6d3f7723 159 DuetPkg/EfiLdr/EfiLdr.inf {\r
160 <LibraryClasses>\r
161 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
162 }\r
b4e83ab7 163 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
164 <LibraryClasses>\r
165 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
166 }\r
c69dd9df 167 DuetPkg/CpuIoDxe/CpuIo.inf\r
168 DuetPkg/CpuDxe/Cpu.inf\r
c69dd9df 169 IntelFrameworkModulePkg/Universal/Legacy8259Dxe/8259.inf\r
170 DuetPkg/KbcResetDxe/Reset.inf\r
171 DuetPkg/LegacyMetronome/Metronome.inf\r
ca162103 172\r
c69dd9df 173 DuetPkg/PcRtc/RealTimeClock.inf\r
eb16e240 174 DuetPkg/8254TimerDxe/8254Timer.inf\r
c69dd9df 175 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf\r
e5653d94 176 DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf\r
177 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf\r
c69dd9df 178 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf\r
e5653d94 179 \r
c69dd9df 180 # IDE Support\r
181 #IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf\r
182 \r
183 # Usb Support\r
184 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
185 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
186 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
187 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
c69dd9df 188 \r
189 # ISA Support\r
190 DuetPkg/IsaAcpiDxe/IsaAcpi.inf\r
e5653d94 191 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
192 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
193 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
be768885 194 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
e5653d94 195\r
196 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
197 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
198 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
afbf572a 199 \r
200[Components.IA32] \r
201 DuetPkg/BootSector/BootSector.inf\r
202 \r
79f16ea3 203[BuildOptions.common]\r
ac4274dd 204 MSFT:*_*_*_CC_FLAGS = /FAsc /FR$(@R).SBR\r
be768885 205 MSFT:*_*_IA32_CC_FLAGS = /D EFI32\r
c5dfb477 206 MSFT:*_*_X64_CC_FLAGS = /D EFIX64\r
54cdf471
LG
207 MSFT:*_*_IPF_CC_FLAGS = /D EFI64\r
208