]> git.proxmox.com Git - mirror_edk2.git/blame - DuetPkg/DuetPkg.dsc
Remove the workaround in DxeHobLib.inf that it over-specify UefiBootServicesTableLib...
[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
107[Components.common]\r
df166ce5 108 DuetPkg/DxeIpl/DxeIpl.inf {\r
109 <LibraryClasses>\r
110 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
111 }\r
c69dd9df 112\r
113 MdeModulePkg/Core/Dxe/DxeMain.inf\r
114 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
115 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
116 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
117 \r
118 DuetPkg/FSVariable/FSVariable.inf\r
eb16e240 119 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
c69dd9df 120 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
121 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
cb56d4e4 122 IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCode.inf \r
c69dd9df 123 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
124 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
125 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
126 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
127\r
128 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf\r
129 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
130 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
131 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
e5653d94 132 \r
133 \r
ca162103 134 DuetPkg/DataHubGenDxe/DataHubGen.inf\r
be768885 135 #DuetPkg/FvbRuntimeService/DUETFwh.inf\r
6d3f7723 136 DuetPkg/EfiLdr/EfiLdr.inf {\r
137 <LibraryClasses>\r
138 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
139 }\r
cc4678aa 140 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf\r
c69dd9df 141 DuetPkg/CpuIoDxe/CpuIo.inf\r
142 DuetPkg/CpuDxe/Cpu.inf\r
c69dd9df 143 IntelFrameworkModulePkg/Universal/Legacy8259Dxe/8259.inf\r
144 DuetPkg/KbcResetDxe/Reset.inf\r
145 DuetPkg/LegacyMetronome/Metronome.inf\r
ca162103 146\r
c69dd9df 147 DuetPkg/PcRtc/RealTimeClock.inf\r
eb16e240 148 DuetPkg/8254TimerDxe/8254Timer.inf\r
c69dd9df 149 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf\r
e5653d94 150 DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf\r
151 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf\r
c69dd9df 152 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf\r
e5653d94 153 \r
c69dd9df 154 # IDE Support\r
155 #IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf\r
156 \r
157 # Usb Support\r
158 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
159 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
160 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
161 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
c69dd9df 162 \r
163 # ISA Support\r
164 DuetPkg/IsaAcpiDxe/IsaAcpi.inf\r
e5653d94 165 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
166 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
167 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
be768885 168 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
e5653d94 169\r
170 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
171 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
172 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
afbf572a 173 \r
174[Components.IA32] \r
175 DuetPkg/BootSector/BootSector.inf\r
176 \r
693e49ca 177######################################################################################\r
178#\r
179# Following binaries are specified in FDF file and built in Firmware Volumes.\r
180# The are not included in DSC file because DSC only specifies modules to build.\r
181#\r
182######################################################################################\r
183##\r
184## FatBinPkg/EnhancedFatDxe/Ia32/Fat.efi\r
185## MdeModulePkg/Logo/Logo.bmp\r
186##\r
187\r
79f16ea3 188[BuildOptions.common]\r
ac4274dd 189 MSFT:*_*_*_CC_FLAGS = /FAsc /FR$(@R).SBR\r
be768885 190 MSFT:*_*_IA32_CC_FLAGS = /D EFI32\r
c5dfb477 191 MSFT:*_*_X64_CC_FLAGS = /D EFIX64\r
54cdf471
LG
192 MSFT:*_*_IPF_CC_FLAGS = /D EFI64\r
193