]> git.proxmox.com Git - mirror_edk2.git/blob - DuetPkg/DuetPkg.dsc
Add some customization BAT steps 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|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
17 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
18 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
19 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
20 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
21 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
22 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
23 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
24 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
25 HiiLib|MdePkg/Library/HiiLib/HiiLib.inf
26 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
27 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
28 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
29 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
30 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
31 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
32 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
33 BaseUefiTianoDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
34 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
35 PlatformBdsLib|DuetPkg/Library/DuetBdsLib/PlatformBds.inf
36 IfrSupportLib|MdePkg/Library/IfrSupportLib/IfrSupportLib.inf
37 ExtendedIfrSupportLib|MdeModulePkg/Library/ExtendedIfrSupportLib/ExtendedIfrSupportLib.inf
38 GenericBdsLib|MdeModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
39 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
40 GraphicsLib|MdeModulePkg/Library/GraphicsLib/GraphicsLib.inf
41 ExtendedHiiLib|MdeModulePkg/Library/ExtendedHiiLib/ExtendedHiiLib.inf
42 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
43 DxePiLib|MdePkg/Library/DxePiLib/DxePiLib.inf
44 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
45 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
46 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
47 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
48 OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
49 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
50 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
51 TimerLib|DuetPkg/Library/DuetTimerLib/DuetTimerLib.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|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|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|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
82 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
83
84 [LibraryClasses.common.UEFI_DRIVER]
85 MemoryAllocationLib|MdePkg/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.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/DxeMemoryAllocationLib/DxeMemoryAllocationLib.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
110 MdeModulePkg/Core/Dxe/DxeMain.inf
111 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
112 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
113 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
114
115 DuetPkg/FSVariable/FSVariable.inf
116 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
117 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
118 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
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
131 DuetPkg/DataHubGenDxe/DataHubGen.inf
132 #DuetPkg/FvbRuntimeService/DUETFwh.inf
133 DuetPkg/EfiLdr/EfiLdr.inf {
134 <LibraryClasses>
135 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
136 }
137 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
138 DuetPkg/CpuIoDxe/CpuIo.inf
139 DuetPkg/CpuDxe/Cpu.inf
140 IntelFrameworkModulePkg/Universal/Legacy8259Dxe/8259.inf
141 DuetPkg/KbcResetDxe/Reset.inf
142 DuetPkg/LegacyMetronome/Metronome.inf
143
144 DuetPkg/PcRtc/RealTimeClock.inf
145 DuetPkg/8254TimerDxe/8254Timer.inf
146 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
147 DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
148 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf
149 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
150
151 # IDE Support
152 #IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
153
154 # Usb Support
155 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
156 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
157 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
158 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
159 MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
160
161 # ISA Support
162 DuetPkg/IsaAcpiDxe/IsaAcpi.inf
163 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
164 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
165 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
166 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
167
168 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
169 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
170 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
171
172 DuetPkg/BootSector/BootSector.inf
173
174 [BuildOptions.common]
175 MSFT:*_*_*_CC_FLAGS = /Fa$* /FAsc /FR$(@R).SBR
176 MSFT:*_*_IA32_CC_FLAGS = /D EFI32
177 MSFT:*_*_X64_CC_FLAGS = /D EFI64