]> git.proxmox.com Git - mirror_edk2.git/blob - DuetPkg/DuetPkg.dsc
sync comments, fix function header, rename variable name to follow coding style.
[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|MdePkg/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|MdePkg/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 GraphicsLib|MdeModulePkg/Library/GraphicsLib/GraphicsLib.inf
40 ExtendedHiiLib|MdeModulePkg/Library/ExtendedHiiLib/ExtendedHiiLib.inf
41 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
42 DxePiLib|MdePkg/Library/DxePiLib/DxePiLib.inf
43 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
44 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
45 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
46 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
47 OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
48 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
49 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
50 TimerLib|DuetPkg/Library/DuetTimerLib/DuetTimerLib.inf
51 UsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
52
53 [LibraryClasses.common.DXE_DRIVER]
54 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.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/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
59 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.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|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.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/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 [PcdsPatchableInModule]
97 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042
98 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
99 gEfiSioTokenSpaceGuid.PcdSerialRegisterBase|0x3F8
100 gEfiSioTokenSpaceGuid.PcdSerialLineControl|0x07
101 gEfiSioTokenSpaceGuid.PcdSerialBoudRate|115200
102 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
103
104 [PcdsFeatureFlag]
105 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseHardSerial|TRUE
106
107 [Components.common]
108 DuetPkg/DxeIpl/DxeIpl.inf {
109 <LibraryClasses>
110 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
111 }
112
113 MdeModulePkg/Core/Dxe/DxeMain.inf
114 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
115 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
116 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
117
118 DuetPkg/FSVariable/FSVariable.inf
119 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
120 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
121 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
122 IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCode.inf
123 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
124 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
125 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
126 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
127
128 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
129 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
130 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
131 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
132
133
134 DuetPkg/DataHubGenDxe/DataHubGen.inf
135 #DuetPkg/FvbRuntimeService/DUETFwh.inf
136 DuetPkg/EfiLdr/EfiLdr.inf {
137 <LibraryClasses>
138 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
139 }
140 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
141 DuetPkg/CpuIoDxe/CpuIo.inf
142 DuetPkg/CpuDxe/Cpu.inf
143 IntelFrameworkModulePkg/Universal/Legacy8259Dxe/8259.inf
144 DuetPkg/KbcResetDxe/Reset.inf
145 DuetPkg/LegacyMetronome/Metronome.inf
146
147 DuetPkg/PcRtc/RealTimeClock.inf
148 DuetPkg/8254TimerDxe/8254Timer.inf
149 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
150 DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
151 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf
152 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
153
154 # IDE Support
155 #IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
156
157 # Usb Support
158 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
159 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
160 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
161 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
162
163 # ISA Support
164 DuetPkg/IsaAcpiDxe/IsaAcpi.inf
165 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
166 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
167 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
168 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
169
170 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
171 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
172 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
173
174 DuetPkg/BootSector/BootSector.inf
175
176 [BuildOptions.common]
177 MSFT:*_*_*_CC_FLAGS = /Fa$* /FAsc /FR$(@R).SBR
178 MSFT:*_*_IA32_CC_FLAGS = /D EFI32
179 MSFT:*_*_X64_CC_FLAGS = /D EFIX64
180 MSFT:*_*_IPF_CC_FLAGS = /D EFI64