]>
Commit | Line | Data |
---|---|---|
9f485cc7 | 1 | #/** @file\r |
2 | # An EFI/Framework Emulation Platform with UEFI HII interface supported. \r | |
3 | #\r | |
4 | # Developer's UEFI Emulation. DUET provides an EFI/UEFI IA32/X64 environment on legacy BIOS, \r | |
5 | # to help developing and debugging native EFI/UEFI drivers.\r | |
6 | # \r | |
7 | # Copyright (c) 2010, Intel Corporation. All rights reserved. <BR>\r | |
8 | #\r | |
9 | # This program and the accompanying materials\r | |
10 | # are licensed and made available under the terms and conditions of the BSD License\r | |
11 | # which accompanies this distribution. The full text of the license may be found at\r | |
12 | # http://opensource.org/licenses/bsd-license.php\r | |
13 | #\r | |
14 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
15 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
16 | #\r | |
17 | #**/ | |
3efaa6e0 | 18 | |
19 | [Defines] | |
20 | PLATFORM_NAME = DuetPkg | |
21 | PLATFORM_GUID = 199E24E0-0989-42aa-87F2-611A8C397E72 | |
22 | PLATFORM_VERSION = 0.3 | |
23 | DSC_SPECIFICATION = 0x00010005 | |
24 | OUTPUT_DIRECTORY = Build/DuetPkg | |
25 | SUPPORTED_ARCHITECTURES = IA32|X64 | |
26 | BUILD_TARGETS = DEBUG | |
27 | SKUID_IDENTIFIER = DEFAULT | |
28 | FLASH_DEFINITION = DuetPkg/DuetPkg.fdf | |
29 | ||
30 | [LibraryClasses.common] | |
31 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf | |
32 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf | |
3efaa6e0 | 33 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf |
34 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf | |
35 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf | |
36 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf | |
3efaa6e0 | 37 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf |
38 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf | |
39 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf | |
87cac63d | 40 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf |
3efaa6e0 | 41 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf |
42 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf | |
3efaa6e0 | 43 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf |
3efaa6e0 | 44 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf |
45 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf | |
46 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf | |
47 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf | |
48 | PlatformBdsLib|DuetPkg/Library/DuetBdsLib/PlatformBds.inf | |
3efaa6e0 | 49 | GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf |
50 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf | |
3efaa6e0 | 51 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf |
52 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf | |
53 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf | |
54 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf | |
55 | CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf | |
56 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf | |
c6811ca1 | 57 | PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf |
74bafbae | 58 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf |
3efaa6e0 | 59 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf |
60 | TimerLib|DuetPkg/Library/DuetTimerLib/DuetTimerLib.inf | |
61 | UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf | |
87cac63d LG |
62 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf |
63 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
8273af4e | 64 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf |
87cac63d LG |
65 | |
66 | # | |
67 | # To save size, use NULL library for DebugLib and ReportStatusCodeLib. | |
68 | # If need status code output, do library instance overriden as below DxeMain.inf does | |
d6ca2c1e | 69 | # |
87cac63d LG |
70 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf |
71 | ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf | |
72 | ||
3efaa6e0 | 73 | [LibraryClasses.common.DXE_CORE] |
74 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf | |
3efaa6e0 | 75 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf |
76 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf | |
77 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf | |
3efaa6e0 | 78 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf |
79 | ||
3efaa6e0 | 80 | [PcdsFixedAtBuild] |
d6ca2c1e | 81 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0 |
82 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0 | |
83 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x0 | |
3efaa6e0 | 84 | |
85 | ################################################################################################### | |
86 | # | |
87 | # Components Section - list of the modules and components that will be processed by compilation | |
88 | # tools and the EDK II tools to generate PE32/PE32+/Coff image files. | |
89 | # | |
90 | # Note: The EDK II DSC file is not used to specify how compiled binary images get placed | |
91 | # into firmware volume images. This section is just a list of modules to compile from | |
92 | # source into UEFI-compliant binaries. | |
93 | # It is the FDF file that contains information on combining binary files into firmware | |
94 | # volume images, whose concept is beyond UEFI and is described in PI specification. | |
95 | # Binary modules do not need to be listed in this section, as they should be | |
96 | # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi), | |
97 | # Logo (Logo.bmp), and etc. | |
98 | # There may also be modules listed in this section that are not required in the FDF file, | |
99 | # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be | |
100 | # generated for it, but the binary will not be put into any firmware volume. | |
101 | # | |
102 | ################################################################################################### | |
103 | ||
104 | [Components.common] | |
105 | DuetPkg/DxeIpl/DxeIpl.inf { | |
87cac63d LG |
106 | <LibraryClasses> |
107 | # | |
108 | # If no following overriden for ReportStatusCodeLib library class, | |
109 | # All other module can *not* output debug information even they are use not NULL library | |
110 | # instance for DebugLib and ReportStatusCodeLib | |
bda1bdbb | 111 | # |
102e7087 | 112 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf |
3efaa6e0 | 113 | } |
114 | ||
87cac63d LG |
115 | MdeModulePkg/Core/Dxe/DxeMain.inf { |
116 | # | |
117 | # Enable debug output for DxeCore module, this is a sample for how to enable debug output | |
118 | # for a module. If need turn on debug output for other module, please copy following overriden | |
119 | # PCD and library instance to other module's override section. | |
120 | # | |
121 | <PcdsFixedAtBuild> | |
122 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07 | |
123 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F | |
124 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042 | |
125 | <LibraryClasses> | |
126 | DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf | |
127 | ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf | |
128 | SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf | |
129 | } | |
130 | ||
3efaa6e0 | 131 | MdeModulePkg/Universal/PCD/Dxe/Pcd.inf |
132 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf | |
133 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf | |
134 | MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf | |
135 | ||
136 | DuetPkg/FSVariable/FSVariable.inf | |
137 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf | |
138 | MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf | |
139 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf | |
3efaa6e0 | 140 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf |
141 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf { | |
142 | <LibraryClasses> | |
143 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf | |
144 | } | |
145 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf | |
146 | MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf | |
147 | ||
148 | IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf | |
149 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf | |
150 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf | |
151 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf | |
2b963c07 | 152 | MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf |
3efaa6e0 | 153 | |
154 | ||
21020c7c | 155 | DuetPkg/SmbiosGenDxe/SmbiosGen.inf |
3efaa6e0 | 156 | #DuetPkg/FvbRuntimeService/DUETFwh.inf |
157 | DuetPkg/EfiLdr/EfiLdr.inf { | |
158 | <LibraryClasses> | |
159 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf | |
8b85412a | 160 | NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf |
3efaa6e0 | 161 | } |
162 | IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf { | |
163 | <LibraryClasses> | |
164 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf | |
165 | } | |
b6d793e3 | 166 | UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf |
3efaa6e0 | 167 | DuetPkg/CpuDxe/Cpu.inf |
168 | PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf | |
169 | PcAtChipsetPkg/KbcResetDxe/Reset.inf | |
170 | DuetPkg/LegacyMetronome/Metronome.inf | |
171 | ||
ba6f7d36 | 172 | PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf |
3efaa6e0 | 173 | PcAtChipsetPkg/8254TimerDxe/8254Timer.inf |
174 | DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf | |
175 | DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf | |
176 | IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf | |
177 | IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf | |
178 | ||
179 | # IDE Support | |
93d4ce91 | 180 | IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf |
8273af4e | 181 | PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf |
93d4ce91 | 182 | |
3efaa6e0 | 183 | # Usb Support |
8273af4e | 184 | MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf |
595c3b6c | 185 | MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf |
3efaa6e0 | 186 | MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf |
187 | MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf | |
188 | MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf | |
189 | ||
190 | # ISA Support | |
191 | PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf | |
192 | IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf | |
193 | IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf | |
194 | IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf | |
195 | IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf | |
196 | ||
197 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf | |
198 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf | |
199 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf | |
200 | ||
201 | # Bios Thunk | |
202 | DuetPkg/BiosVideoThunkDxe/BiosVideo.inf | |
87cac63d LG |
203 | |
204 | # | |
205 | # Sample Application | |
206 | # | |
207 | MdeModulePkg/Application/HelloWorld/HelloWorld.inf | |
3efaa6e0 | 208 | |
209 | [BuildOptions.common] | |
210 | MSFT:*_*_*_CC_FLAGS = /FAsc /FR$(@R).SBR | |
3efaa6e0 | 211 |