]> git.proxmox.com Git - mirror_edk2.git/blame - DuetPkg/DuetPkg.dsc
Change _CR() to BASE_CR() to follow naming convention
[mirror_edk2.git] / DuetPkg / DuetPkg.dsc
CommitLineData
ca162103 1\r
ca162103 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
b9a31177 11 FLASH_DEFINITION = DuetPkg/DuetPkg.fdf\r
ca162103 12\r
13[LibraryClasses.common]\r
14 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
be768885 15 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
ca162103 16 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
17 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
18 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
19 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
be768885 20 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
ca162103 21 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
22 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
23 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
765ee7b9 24 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
91aac0e4 25 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
26 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
c69dd9df 27 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
28 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
29 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
30 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
31 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
32 BaseUefiTianoDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
33 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
34 PlatformBdsLib|DuetPkg/Library/DuetBdsLib/PlatformBds.inf\r
765ee7b9 35 IfrSupportLib|MdeModulePkg/Library/UefiIfrSupportLib/UefiIfrSupportLib.inf\r
c69dd9df 36 ExtendedIfrSupportLib|MdeModulePkg/Library/ExtendedIfrSupportLib/ExtendedIfrSupportLib.inf\r
37 GenericBdsLib|MdeModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
38 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
c69dd9df 39 ExtendedHiiLib|MdeModulePkg/Library/ExtendedHiiLib/ExtendedHiiLib.inf\r
40 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
765ee7b9 41 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
c69dd9df 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
3da85e63 47 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
d17b2862 48 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
f5752cb2 49 TimerLib|DuetPkg/Library/DuetTimerLib/DuetTimerLib.inf\r
765ee7b9 50 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
289598a3 51 \r
ca162103 52[LibraryClasses.common.DXE_DRIVER]\r
aa79e015 53 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
ca162103 54 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
c69dd9df 55 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
d17b2862 56 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf\r
aa79e015 57 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
cb56d4e4 58 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
765ee7b9 59 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
d17b2862 60 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
61 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
c69dd9df 62\r
63[LibraryClasses.common.DXE_CORE]\r
64 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
65 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
66 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
05e2f68f 67 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
c69dd9df 68 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
d17b2862 69 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
70 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
71 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf\r
72 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
73 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
c69dd9df 74\r
75[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
aa79e015 76 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
c69dd9df 77 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
78 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
d17b2862 79 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf\r
cb56d4e4 80 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
be768885 81 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
ca162103 82\r
c69dd9df 83[LibraryClasses.common.UEFI_DRIVER]\r
aa79e015 84 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
d17b2862 85 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf\r
be768885 86 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
87 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
c69dd9df 88\r
89[LibraryClasses.common.UEFI_APPLICATION]\r
aa79e015 90 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
d17b2862 91 SerialPortLib|DuetPkg/Library/DuetSerialIoLib/DuetSerialIoLib.inf\r
be768885 92 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
93 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
d17b2862 94\r
95[PcdsPatchableInModule]\r
96 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042\r
97 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
98 gEfiSioTokenSpaceGuid.PcdSerialRegisterBase|0x3F8\r
99 gEfiSioTokenSpaceGuid.PcdSerialLineControl|0x07\r
100 gEfiSioTokenSpaceGuid.PcdSerialBoudRate|115200\r
101 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
102\r
103[PcdsFeatureFlag]\r
104 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseHardSerial|TRUE\r
c69dd9df 105\r
106[Components.common]\r
df166ce5 107 DuetPkg/DxeIpl/DxeIpl.inf {\r
108 <LibraryClasses>\r
109 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
110 }\r
c69dd9df 111\r
112 MdeModulePkg/Core/Dxe/DxeMain.inf\r
113 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
114 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
115 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
116 \r
117 DuetPkg/FSVariable/FSVariable.inf\r
eb16e240 118 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
c69dd9df 119 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
120 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
cb56d4e4 121 IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCode.inf \r
c69dd9df 122 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
123 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
124 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
125 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
126\r
127 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf\r
128 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
129 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
130 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
e5653d94 131 \r
132 \r
ca162103 133 DuetPkg/DataHubGenDxe/DataHubGen.inf\r
be768885 134 #DuetPkg/FvbRuntimeService/DUETFwh.inf\r
6d3f7723 135 DuetPkg/EfiLdr/EfiLdr.inf {\r
136 <LibraryClasses>\r
137 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
138 }\r
c69dd9df 139 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf\r
140 DuetPkg/CpuIoDxe/CpuIo.inf\r
141 DuetPkg/CpuDxe/Cpu.inf\r
c69dd9df 142 IntelFrameworkModulePkg/Universal/Legacy8259Dxe/8259.inf\r
143 DuetPkg/KbcResetDxe/Reset.inf\r
144 DuetPkg/LegacyMetronome/Metronome.inf\r
ca162103 145\r
c69dd9df 146 DuetPkg/PcRtc/RealTimeClock.inf\r
eb16e240 147 DuetPkg/8254TimerDxe/8254Timer.inf\r
c69dd9df 148 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf\r
e5653d94 149 DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf\r
150 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf\r
c69dd9df 151 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf\r
e5653d94 152 \r
c69dd9df 153 # IDE Support\r
154 #IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf\r
155 \r
156 # Usb Support\r
157 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
158 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
159 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
160 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
c69dd9df 161 \r
162 # ISA Support\r
163 DuetPkg/IsaAcpiDxe/IsaAcpi.inf\r
e5653d94 164 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
165 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
166 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
be768885 167 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
e5653d94 168\r
169 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
170 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
171 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
172\r
79f16ea3 173[BuildOptions.common]\r
be768885 174 MSFT:*_*_*_CC_FLAGS = /Fa$* /FAsc /FR$(@R).SBR\r
175 MSFT:*_*_IA32_CC_FLAGS = /D EFI32\r
c5dfb477 176 MSFT:*_*_X64_CC_FLAGS = /D EFIX64\r
177 MSFT:*_*_IPF_CC_FLAGS = /D EFI64