]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - DuetPkg/DuetPkg.dsc
Update SecMain code to remove unused logic.
[mirror_edk2.git] / DuetPkg / DuetPkg.dsc
... / ...
CommitLineData
1\r
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
11 FLASH_DEFINITION = DuetPkg/DuetPkg.fdf\r
12\r
13[LibraryClasses.common]\r
14 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
15 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
16 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
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
21 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
22 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
23 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
24 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
25 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
26 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
27 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
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
33 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
34 PlatformBdsLib|DuetPkg/Library/DuetBdsLib/PlatformBds.inf\r
35 IfrSupportLib|MdeModulePkg/Library/UefiIfrSupportLib/UefiIfrSupportLib.inf\r
36 ExtendedIfrSupportLib|MdeModulePkg/Library/ExtendedIfrSupportLib/ExtendedIfrSupportLib.inf\r
37 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
38 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
39 ExtendedHiiLib|MdeModulePkg/Library/ExtendedHiiLib/ExtendedHiiLib.inf\r
40 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
41 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
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
47 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
48 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
49 TimerLib|DuetPkg/Library/DuetTimerLib/DuetTimerLib.inf\r
50 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
51 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
52 \r
53[LibraryClasses.common.DXE_DRIVER]\r
54 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
55 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
56 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf\r
57 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
58 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
59 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
60 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
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
66 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
67 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
68 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
69 ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf\r
70 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf\r
71 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
72 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
73 \r
74 \r
75[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
76 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
77 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
78 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf\r
79 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
80 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
81\r
82[LibraryClasses.common.UEFI_DRIVER]\r
83 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
84 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf\r
85 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
86\r
87[LibraryClasses.common.UEFI_APPLICATION]\r
88 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
89 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf\r
90 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
91\r
92[PcdsFixedAtBuild]\r
93 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
94 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
95 \r
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
106\r
107###################################################################################################\r
108#\r
109# Components Section - list of the modules and components that will be processed by compilation\r
110# tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
111#\r
112# Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
113# into firmware volume images. This section is just a list of modules to compile from\r
114# source into UEFI-compliant binaries.\r
115# It is the FDF file that contains information on combining binary files into firmware\r
116# volume images, whose concept is beyond UEFI and is described in PI specification.\r
117# Binary modules do not need to be listed in this section, as they should be\r
118# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r
119# Logo (Logo.bmp), and etc.\r
120# There may also be modules listed in this section that are not required in the FDF file,\r
121# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
122# generated for it, but the binary will not be put into any firmware volume.\r
123#\r
124###################################################################################################\r
125\r
126[Components.common]\r
127 DuetPkg/DxeIpl/DxeIpl.inf {\r
128 <LibraryClasses>\r
129 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
130 }\r
131\r
132 MdeModulePkg/Core/Dxe/DxeMain.inf\r
133 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf\r
134 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
135 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
136 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
137 \r
138 DuetPkg/FSVariable/FSVariable.inf\r
139 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
140 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
141 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
142 IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCode.inf \r
143 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
144 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {\r
145 <LibraryClasses>\r
146 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
147 }\r
148 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
149 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
150\r
151 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf\r
152 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
153 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
154 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
155 \r
156 \r
157 DuetPkg/DataHubGenDxe/DataHubGen.inf\r
158 #DuetPkg/FvbRuntimeService/DUETFwh.inf\r
159 DuetPkg/EfiLdr/EfiLdr.inf {\r
160 <LibraryClasses>\r
161 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
162 }\r
163 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
164 <LibraryClasses>\r
165 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
166 }\r
167 DuetPkg/CpuIoDxe/CpuIo.inf\r
168 DuetPkg/CpuDxe/Cpu.inf\r
169 IntelFrameworkModulePkg/Universal/Legacy8259Dxe/8259.inf\r
170 DuetPkg/KbcResetDxe/Reset.inf\r
171 DuetPkg/LegacyMetronome/Metronome.inf\r
172\r
173 DuetPkg/PcRtc/RealTimeClock.inf\r
174 DuetPkg/8254TimerDxe/8254Timer.inf\r
175 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf\r
176 DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf\r
177 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf\r
178 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf\r
179 \r
180 # IDE Support\r
181 #IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf\r
182 \r
183 # Usb Support\r
184 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
185 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
186 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
187 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
188 \r
189 # ISA Support\r
190 DuetPkg/IsaAcpiDxe/IsaAcpi.inf\r
191 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
192 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
193 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
194 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
195\r
196 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
197 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
198 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
199 \r
200[Components.IA32] \r
201 DuetPkg/BootSector/BootSector.inf\r
202 \r
203[BuildOptions.common]\r
204 MSFT:*_*_*_CC_FLAGS = /FAsc /FR$(@R).SBR\r
205 MSFT:*_*_IA32_CC_FLAGS = /D EFI32\r
206 MSFT:*_*_X64_CC_FLAGS = /D EFIX64\r
207 MSFT:*_*_IPF_CC_FLAGS = /D EFI64\r
208