]> git.proxmox.com Git - mirror_edk2.git/blob - DuetPkg/DuetPkg.dsc
Change _CR() to BASE_CR() to follow naming convention
[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|MdeModulePkg/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|MdeModulePkg/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 ExtendedHiiLib|MdeModulePkg/Library/ExtendedHiiLib/ExtendedHiiLib.inf
40 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
41 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
42 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
43 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
44 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
45 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
46 OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
47 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
48 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
49 TimerLib|DuetPkg/Library/DuetTimerLib/DuetTimerLib.inf
50 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
51
52 [LibraryClasses.common.DXE_DRIVER]
53 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
54 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
55 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
56 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf
57 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
58 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
59 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
60 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
61 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
62
63 [LibraryClasses.common.DXE_CORE]
64 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
65 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
66 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
67 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
68 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
69 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
70 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
71 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf
72 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
73 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
74
75 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
76 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
77 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
78 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
79 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf
80 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
81 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
82
83 [LibraryClasses.common.UEFI_DRIVER]
84 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
85 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf
86 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
87 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
88
89 [LibraryClasses.common.UEFI_APPLICATION]
90 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
91 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf
92 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
93 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
94
95 [PcdsPatchableInModule]
96 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042
97 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
98 gEfiSioTokenSpaceGuid.PcdSerialRegisterBase|0x3F8
99 gEfiSioTokenSpaceGuid.PcdSerialLineControl|0x07
100 gEfiSioTokenSpaceGuid.PcdSerialBoudRate|115200
101 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
102
103 [PcdsFeatureFlag]
104 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseHardSerial|TRUE
105
106 [Components.common]
107 DuetPkg/DxeIpl/DxeIpl.inf {
108 <LibraryClasses>
109 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
110 }
111
112 MdeModulePkg/Core/Dxe/DxeMain.inf
113 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
114 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
115 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
116
117 DuetPkg/FSVariable/FSVariable.inf
118 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
119 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
120 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
121 IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCode.inf
122 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
123 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
124 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
125 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
126
127 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
128 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
129 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
130 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
131
132
133 DuetPkg/DataHubGenDxe/DataHubGen.inf
134 #DuetPkg/FvbRuntimeService/DUETFwh.inf
135 DuetPkg/EfiLdr/EfiLdr.inf {
136 <LibraryClasses>
137 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
138 }
139 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
140 DuetPkg/CpuIoDxe/CpuIo.inf
141 DuetPkg/CpuDxe/Cpu.inf
142 IntelFrameworkModulePkg/Universal/Legacy8259Dxe/8259.inf
143 DuetPkg/KbcResetDxe/Reset.inf
144 DuetPkg/LegacyMetronome/Metronome.inf
145
146 DuetPkg/PcRtc/RealTimeClock.inf
147 DuetPkg/8254TimerDxe/8254Timer.inf
148 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
149 DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
150 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf
151 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
152
153 # IDE Support
154 #IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
155
156 # Usb Support
157 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
158 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
159 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
160 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
161
162 # ISA Support
163 DuetPkg/IsaAcpiDxe/IsaAcpi.inf
164 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
165 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
166 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
167 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
168
169 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
170 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
171 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
172
173 [BuildOptions.common]
174 MSFT:*_*_*_CC_FLAGS = /Fa$* /FAsc /FR$(@R).SBR
175 MSFT:*_*_IA32_CC_FLAGS = /D EFI32
176 MSFT:*_*_X64_CC_FLAGS = /D EFIX64
177 MSFT:*_*_IPF_CC_FLAGS = /D EFI64