remove PCI_MAX_SEGMENT from Industry Standard file.
[edk2.git] / DuetPkg / DuetPkg.dsc
blob0eb197753570c8af6a392ad21993e6048b79f1dd
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
13 [LibraryClasses.common]
14   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
15   SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.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|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.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   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|IntelFrameworkModulePkg/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   HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
53 [LibraryClasses.common.DXE_DRIVER]
54   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
55   HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
56   SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.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
62 [LibraryClasses.common.DXE_CORE]
63   HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
64   PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
65   DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
66   MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
67   UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
68   DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
69   ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf
70   SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
71   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
72   ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
75 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
76   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
77   HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
78   SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
79   IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
80   DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
82 [LibraryClasses.common.UEFI_DRIVER]
83   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
84   SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
85   DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
87 [LibraryClasses.common.UEFI_APPLICATION]
88   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
89   SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
90   DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
92 [PcdsFixedAtBuild]
93   gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
94   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
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
104 [PcdsFeatureFlag]
105   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseHardSerial|TRUE
107 ###################################################################################################
109 # Components Section - list of the modules and components that will be processed by compilation
110 #                      tools and the EDK II tools to generate PE32/PE32+/Coff image files.
112 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
113 #       into firmware volume images. This section is just a list of modules to compile from
114 #       source into UEFI-compliant binaries.
115 #       It is the FDF file that contains information on combining binary files into firmware
116 #       volume images, whose concept is beyond UEFI and is described in PI specification.
117 #       Binary modules do not need to be listed in this section, as they should be
118 #       specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
119 #       Logo (Logo.bmp), and etc.
120 #       There may also be modules listed in this section that are not required in the FDF file,
121 #       When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
122 #       generated for it, but the binary will not be put into any firmware volume.
124 ###################################################################################################
126 [Components.common]
127   DuetPkg/DxeIpl/DxeIpl.inf {
128     <LibraryClasses>
129       DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
130   }
132   MdeModulePkg/Core/Dxe/DxeMain.inf
133   MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
134   MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
135   MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
136   MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
138   DuetPkg/FSVariable/FSVariable.inf
139   MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
140   MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
141   MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
142   IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCode.inf
143   MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
144   MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
145     <LibraryClasses>
146       PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
147   }
148   MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
149   MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
151   IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
152   MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
153   MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
154   MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
157   DuetPkg/DataHubGenDxe/DataHubGen.inf
158   #DuetPkg/FvbRuntimeService/DUETFwh.inf
159   DuetPkg/EfiLdr/EfiLdr.inf {
160     <LibraryClasses>
161       DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
162   }
163   IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
164     <LibraryClasses>
165       PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
166   }
167   UefiCpuPkg/CpuIoDxe/CpuIo.inf
168   DuetPkg/CpuDxe/Cpu.inf
169   PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
170   PcAtChipsetPkg/KbcResetDxe/Reset.inf
171   DuetPkg/LegacyMetronome/Metronome.inf
173   PcAtChipsetPkg/PcRtc/RealTimeClock.inf
174   PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
175   DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
176   DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
177   IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf
178   IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
180   # IDE Support
181   #IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
183   # Usb Support
184   MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
185   MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
186   MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
187   MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
189   # ISA Support
190   PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
191   IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
192   IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
193   IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
194   IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
196   MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
197   MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
198   MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
200   # Bios Thunk
201   DuetPkg/BiosVideoThunkDxe/BiosVideo.inf
203 [Components.IA32]
204   DuetPkg/BootSector/BootSector.inf
206 [BuildOptions.common]
207   MSFT:*_*_*_CC_FLAGS = /FAsc /FR$(@R).SBR
208   MSFT:*_*_IA32_CC_FLAGS = /D EFI32
209   MSFT:*_*_X64_CC_FLAGS = /D EFIX64
210   MSFT:*_*_IPF_CC_FLAGS = /D EFI64