]> git.proxmox.com Git - mirror_edk2.git/blob - DuetPkg/DuetPkg.dsc
Fix many bugs in DUET package and now DUET package is enabled for floppy successful.
[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|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.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 #TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
83 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
84
85 [LibraryClasses.common.UEFI_DRIVER]
86 MemoryAllocationLib|MdePkg/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.inf
87 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf
88 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
89 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
90
91 [LibraryClasses.common.UEFI_APPLICATION]
92 MemoryAllocationLib|MdePkg/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.inf
93 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf
94 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
95 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
96
97 [PcdsPatchableInModule]
98 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042
99 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
100 gEfiSioTokenSpaceGuid.PcdSerialRegisterBase|0x3F8
101 gEfiSioTokenSpaceGuid.PcdSerialLineControl|0x07
102 gEfiSioTokenSpaceGuid.PcdSerialBoudRate|115200
103 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
104
105 [PcdsFeatureFlag]
106 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseHardSerial|TRUE
107
108 [Components.common]
109 DuetPkg/DxeIpl/DxeIpl.inf
110
111 MdeModulePkg/Core/Dxe/DxeMain.inf
112 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
113 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
114 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
115
116 DuetPkg/FSVariable/FSVariable.inf
117 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
118 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
119 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
120 IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCode.inf
121 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
122 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
123 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
124 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
125
126 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
127 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
128 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
129 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
130
131
132 DuetPkg/DataHubGenDxe/DataHubGen.inf
133 #DuetPkg/FvbRuntimeService/DUETFwh.inf
134 DuetPkg/EfiLdr/EfiLdr.inf
135 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
136 DuetPkg/CpuIoDxe/CpuIo.inf
137 DuetPkg/CpuDxe/Cpu.inf
138 IntelFrameworkModulePkg/Universal/Legacy8259Dxe/8259.inf
139 DuetPkg/KbcResetDxe/Reset.inf
140 DuetPkg/LegacyMetronome/Metronome.inf
141
142 DuetPkg/PcRtc/RealTimeClock.inf
143 DuetPkg/8254TimerDxe/8254Timer.inf
144 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
145 DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
146 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf
147 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
148
149 # IDE Support
150 #IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
151
152 # Usb Support
153 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
154 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
155 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
156 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
157 MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
158
159 # ISA Support
160 DuetPkg/IsaAcpiDxe/IsaAcpi.inf
161 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
162 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
163 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
164 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
165
166 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
167 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
168 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
169
170 DuetPkg/BootSector/BootSector.inf
171 FatPkg/EnhancedFatDxe/Fat.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 EFI64