]> git.proxmox.com Git - mirror_edk2.git/blob - DuetPkg/DuetPkg.dsc
Add missing library instance and module for Duet platform.
[mirror_edk2.git] / DuetPkg / DuetPkg.dsc
1
2
3 [Defines]
4 PLATFORM_NAME = DuetPkg
5 PLATFORM_GUID = 199E24E0-0989-42aa-87F2-611A8C397E72
6 PLATFORM_VERSION = 0.3
7 DSC_SPECIFICATION = 0x00010005
8 OUTPUT_DIRECTORY = Build/DuetPkg
9 SUPPORTED_ARCHITECTURES = IA32|X64
10 BUILD_TARGETS = DEBUG
11 SKUID_IDENTIFIER = DEFAULT
12 FLASH_DEFINITION = DuetPkg/DuetPkg.fdf
13
14 [LibraryClasses.common]
15 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
16 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
17 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
18 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
19 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
20 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
21 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
22 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/BaseReportStatusCodeLib/BaseReportStatusCodeLib.inf
23 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
24 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
25 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
26 HiiLib|MdePkg/Library/HiiLib/HiiLib.inf
27 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
28 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
29 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
30 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
31 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
32 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
33 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
34 BaseUefiTianoDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
35 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
36 PlatformBdsLib|DuetPkg/Library/DuetBdsLib/PlatformBds.inf
37 IfrSupportLib|MdePkg/Library/IfrSupportLib/IfrSupportLib.inf
38 ExtendedIfrSupportLib|MdeModulePkg/Library/ExtendedIfrSupportLib/ExtendedIfrSupportLib.inf
39 GenericBdsLib|MdeModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
40 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
41 GraphicsLib|MdeModulePkg/Library/GraphicsLib/GraphicsLib.inf
42 ExtendedHiiLib|MdeModulePkg/Library/ExtendedHiiLib/ExtendedHiiLib.inf
43 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
44 DxePiLib|MdePkg/Library/DxePiLib/DxePiLib.inf
45 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
46 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
47 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
48 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
49 OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
50 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
51 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
52
53 [LibraryClasses.common.DXE_DRIVER]
54 MemoryAllocationLib|MdePkg/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.inf
55 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
56 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
57 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf
58 MemoryAllocationLib|MdePkg/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.inf
59 IoLib|IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeIoLibCpuIo.inf
60 UsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
61 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
62 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
63
64 [LibraryClasses.common.DXE_CORE]
65 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
66 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
67 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
68 MemoryAllocationLib|MdePkg/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.inf
69 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
70 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
71 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
72 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf
73 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
74 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
75
76 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
77 MemoryAllocationLib|MdePkg/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.inf
78 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
79 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
80 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf
81 IoLib|IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeIoLibCpuIo.inf
82 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
83
84 [LibraryClasses.common.UEFI_DRIVER]
85 MemoryAllocationLib|MdePkg/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.inf
86 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf
87
88 [LibraryClasses.common.UEFI_APPLICATION]
89 MemoryAllocationLib|MdePkg/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.inf
90 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf
91
92 [PcdsPatchableInModule]
93 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042
94 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
95 gEfiSioTokenSpaceGuid.PcdSerialRegisterBase|0x3F8
96 gEfiSioTokenSpaceGuid.PcdSerialLineControl|0x07
97 gEfiSioTokenSpaceGuid.PcdSerialBoudRate|115200
98 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
99
100 [PcdsFeatureFlag]
101 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseHardSerial|TRUE
102
103 [Components.common]
104 DuetPkg/DxeIpl/DxeIpl.inf
105
106 MdeModulePkg/Core/Dxe/DxeMain.inf
107 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
108 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
109 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
110
111 DuetPkg/FSVariable/FSVariable.inf
112
113 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
114 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
115 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf {
116 <LibraryClasses>
117 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
118 }
119 IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCode.inf
120 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
121 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
122 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
123 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
124
125 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
126 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
127 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
128 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
129
130 DuetPkg/DataHubGenDxe/DataHubGen.inf
131 DuetPkg/FvbRuntimeService/DUETFwh.inf
132 DuetPkg/EfiLdr/EfiLdr.inf
133 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
134 DuetPkg/CpuIoDxe/CpuIo.inf
135 DuetPkg/CpuDxe/Cpu.inf
136
137 IntelFrameworkModulePkg/Universal/Legacy8259Dxe/8259.inf
138 DuetPkg/KbcResetDxe/Reset.inf
139 DuetPkg/LegacyMetronome/Metronome.inf
140
141 DuetPkg/PcRtc/RealTimeClock.inf
142 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
143 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
144
145 # IDE Support
146 #IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
147
148 # Usb Support
149 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
150 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
151 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
152 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
153 MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
154
155 # ISA Support
156 DuetPkg/IsaAcpiDxe/IsaAcpi.inf
157 DuetPkg/BootSector/BootSector.inf
158
159 [BuildOptions.common]
160 MSFT:*_*_*_CC_FLAGS = /Fa$* /FAsc /FR$(@R).SBR