Nt32Pkg.dsc revision 061b1c204fade0b5140bb66ced1ceec162841edb
1#/** @file
2# EFI/Framework Emulation Platform with UEFI HII interface supported.
3#
4# The Emulation Platform can be used to debug individual modules, prior to creating
5#    a real platform. This also provides an example for how an DSC is created.
6#
7# Copyright (c) 2006 - 2009, Intel Corporation
8#
9#  All rights reserved. This program and the accompanying materials
10#    are licensed and made available under the terms and conditions of the BSD License
11#    which accompanies this distribution. The full text of the license may be found at
12#    http://opensource.org/licenses/bsd-license.php
13#
14#    THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15#    WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16#
17#**/
18
19################################################################################
20#
21# Defines Section - statements that will be processed to create a Makefile.
22#
23################################################################################
24[Defines]
25  PLATFORM_NAME                  = NT32
26  PLATFORM_GUID                  = EB216561-961F-47EE-9EF9-CA426EF547C2
27  PLATFORM_VERSION               = 0.3
28  DSC_SPECIFICATION              = 0x00010005
29  OUTPUT_DIRECTORY               = Build/NT32
30  SUPPORTED_ARCHITECTURES        = IA32
31  BUILD_TARGETS                  = DEBUG
32  SKUID_IDENTIFIER               = DEFAULT
33  FLASH_DEFINITION               = Nt32Pkg/Nt32Pkg.fdf
34 
35
36################################################################################
37#
38# SKU Identification section - list of all SKU IDs supported by this
39#                              Platform.
40#
41################################################################################
42[SkuIds]
43  0|DEFAULT              # The entry: 0|DEFAULT is reserved and always required.
44
45################################################################################
46#
47# Library Class section - list of all Library Classes needed by this Platform.
48#
49################################################################################
50
51[LibraryClasses.common]
52  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
53  TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
54  PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
55  SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
56  BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
57  BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
58  SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
59  CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
60  PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
61  PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
62  PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
63  CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
64  IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
65  UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
66  UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
67  HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
68  GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
69  PlatformBdsLib|Nt32Pkg/Library/Nt32BdsLib/Nt32BdsLib.inf
70  CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
71  DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
72  PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
73  DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
74  
75[LibraryClasses.common.USER_DEFINED]
76  DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
77  PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
78  ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
79  PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
80  OemHookStatusCodeLib|Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/PeiNt32OemHookStatusCodeLib.inf
81  PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
82  MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
83
84[LibraryClasses.common.DXE_CORE]
85  DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
86  UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
87  HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
88  DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
89  MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
90  UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
91  ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
92  UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
93  DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
94  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
95  PeCoffExtraActionLib|Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.inf
96  ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
97
98[LibraryClasses.common.DXE_SMM_DRIVER]
99  DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
100  UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
101  UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
102  HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
103  DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
104  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
105  MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
106  UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
107  ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
108  UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
109  WinNtLib|Nt32Pkg/Library/DxeWinNtLib/DxeWinNtLib.inf
110  OemHookStatusCodeLib|Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/DxeNt32OemHookStatusCodeLib.inf
111  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
112  DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
113
114[LibraryClasses.common.PEIM]
115  BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptPei/BaseMemoryLibOptPei.inf
116  HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
117  PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
118  IoLib|MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf
119  PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
120  PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
121  MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
122  ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
123  PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
124  OemHookStatusCodeLib|Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/PeiNt32OemHookStatusCodeLib.inf
125  PeCoffGetEntryPointLib|Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/Nt32PeiPeCoffGetEntryPointLib.inf
126  DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
127  PeCoffExtraActionLib|Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.inf
128  ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
129
130[LibraryClasses.common.PEI_CORE]
131  BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptPei/BaseMemoryLibOptPei.inf
132  HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
133  PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
134  IoLib|MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf
135  PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
136  MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
137  PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
138  ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
139  OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
140  PeCoffGetEntryPointLib|Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/Nt32PeiPeCoffGetEntryPointLib.inf
141  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
142  DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
143  PeCoffExtraActionLib|Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/PeiNt32PeCoffExtraActionLib.inf
144
145[LibraryClasses.common.DXE_RUNTIME_DRIVER]
146  UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
147  HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
148  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
149  MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
150  UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
151  UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
152  ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
153  DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
154  UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
155  DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
156  UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
157  UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
158  WinNtLib|Nt32Pkg/Library/DxeWinNtLib/DxeWinNtLib.inf
159  OemHookStatusCodeLib|Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/DxeNt32OemHookStatusCodeLib.inf
160  DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
161  PeCoffExtraActionLib|Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.inf
162
163[LibraryClasses.common.UEFI_DRIVER]
164  UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
165  HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
166  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
167  MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
168  UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
169  UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
170  ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
171  DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
172  UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
173  DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
174  UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
175  WinNtLib|Nt32Pkg/Library/DxeWinNtLib/DxeWinNtLib.inf
176  OemHookStatusCodeLib|Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/DxeNt32OemHookStatusCodeLib.inf
177  DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
178  NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
179  IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
180  UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
181  DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
182  PeCoffExtraActionLib|Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/DxeNt32PeCoffExtraActionLib.inf
183
184[LibraryClasses.common.DXE_DRIVER]
185  UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
186  HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
187  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
188  MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
189  UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
190  UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
191  ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
192  DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
193  UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
194  DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
195  UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
196  WinNtLib|Nt32Pkg/Library/DxeWinNtLib/DxeWinNtLib.inf
197  OemHookStatusCodeLib|Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/DxeNt32OemHookStatusCodeLib.inf
198  DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
199  NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
200  IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
201  UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
202  DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
203
204[LibraryClasses.common.UEFI_APPLICATION]
205  DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
206  UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
207  UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
208  UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
209  HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
210  DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
211  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
212  MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
213  UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
214  ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
215  UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
216  WinNtLib|Nt32Pkg/Library/DxeWinNtLib/DxeWinNtLib.inf
217  OemHookStatusCodeLib|Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/DxeNt32OemHookStatusCodeLib.inf
218  DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
219  PrintLib|MdeModulePkg/Library/DxePrintLibPrint2Protocol/DxePrintLibPrint2Protocol.inf
220
221
222################################################################################
223#
224# Pcd Section - list of all EDK II PCD Entries defined by this Platform
225#
226################################################################################
227
228[PcdsFeatureFlag.common]
229  gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText|FALSE
230  gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText|FALSE
231  gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|TRUE
232  gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultLangDeprecate|FALSE
233  gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|TRUE
234  gEfiMdeModulePkgTokenSpaceGuid.PcdUnicodeCollationSupport|TRUE
235  gEfiMdeModulePkgTokenSpaceGuid.PcdUnicodeCollation2Support|TRUE
236  gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
237  gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|TRUE
238
239[PcdsFixedAtBuild.IA32]
240  gEfiNt32PkgTokenSpaceGuid.PcdWinNtMemorySizeForSecMain|L"64!64"|VOID*|12
241  gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareVolume|L"..\\Fv\\Nt32.fd"|VOID*|52
242  gEfiNt32PkgTokenSpaceGuid.PcdWinNtBootMode|1
243  gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
244  gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
245  gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
246  gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
247  gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
248  gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
249  gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
250  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
251  gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0
252  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPcdCallBackNumberPerPcdEntry|0x08
253  gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
254  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x0
255  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizePopulateCapsule|0x0
256  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueUncorrectableMemoryError|0x0005100   # EFI_COMPUTING_UNIT_MEMORY | EFI_CU_MEMORY_EC_UNCORRECTABLE3
257  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueRemoteConsoleError|0x01040006        # EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_EC_CONTROLLER_ERROR
258  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueRemoteConsoleReset|0x01040001        # EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_PC_RESET
259  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueRemoteConsoleInputError|0x01040007   # EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_EC_INPUT_ERROR
260  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueRemoteConsoleOutputError|0x01040008  # EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_EC_OUTPUT_ERROR
261  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueEfiWatchDogTimerExpired|0x00011003
262  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMemoryTestStarted|0x00051006
263  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueSetVirtualAddressMap|0x03101004
264  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueUncorrectableMemoryError|0x00051003
265  gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
266  gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200
267  gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|8
268  gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|1
269  gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|1
270  gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|0
271
272  gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareFdSize|0x2a0000
273  gEfiNt32PkgTokenSpaceGuid.PcdWinNtFirmwareBlockSize|0x10000
274  gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageEventLogBase|0x28c000
275  gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageEventLogSize|0x2000
276  gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashFvRecoveryBase|0x0
277  gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashFvRecoverySize|0x280000
278
279  gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageVariableBase|0x280000
280  gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageFtwSpareBase|0x290000
281  gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageFtwWorkingBase|0x28e000
282
283  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x10000
284  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x2000
285  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x00c000
286  gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
287  gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
288  gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
289  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400
290  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
291  gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000
292
293[PcdsFeatureFlag.IA32]
294  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
295  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseOEM|TRUE
296  gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
297  gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|FALSE
298  gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|FALSE
299  gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathToText|TRUE
300  gEfiMdeModulePkgTokenSpaceGuid.PcdDevicePathSupportDevicePathFromText|TRUE
301  gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|FALSE
302  gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|FALSE
303  gEfiMdeModulePkgTokenSpaceGuid.PcdPciBusHotplugDeviceSupport|TRUE
304  gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
305
306
307################################################################################
308#
309# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
310#
311################################################################################
312
313[PcdsDynamicDefault.common.DEFAULT]
314  gEfiNt32PkgTokenSpaceGuid.PcdWinNtSerialPort|L"COM1!COM2"|VOID*|18
315  gEfiNt32PkgTokenSpaceGuid.PcdWinNtFileSystem|L".!..\..\..\..\EdkShellBinPkg\Bin\Ia32\Apps"|VOID*|106
316  gEfiNt32PkgTokenSpaceGuid.PcdWinNtGop|L"UGA Window 1!UGA Window 2"|VOID*|50
317  gEfiNt32PkgTokenSpaceGuid.PcdWinNtConsole|L"Bus Driver Console Window"|VOID*|50
318  gEfiNt32PkgTokenSpaceGuid.PcdWinNtVirtualDisk|L"FW;40960;512"|VOID*|24
319  gEfiNt32PkgTokenSpaceGuid.PcdWinNtMemorySize|L"64!64"|VOID*|10
320  gEfiNt32PkgTokenSpaceGuid.PcdWinNtPhysicalDisk|L"a:RW;2880;512!d:RO;307200;2048!j:RW;262144;512"|VOID*|100
321  gEfiNt32PkgTokenSpaceGuid.PcdWinNtUga|L"UGA Window 1!UGA Window 2"|VOID*|50
322
323  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
324  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
325  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0
326
327[PcdsDynamicHii.common.DEFAULT]
328  gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Setup"|gEfiWinNtSystemConfigGuid|0x0|80
329  gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Setup"|gEfiWinNtSystemConfigGuid|0x4|25
330  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10
331  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|L"HwErrRecSupport"|gEfiGlobalVariableGuid|0x0|1
332  
333###################################################################################################
334#
335# Components Section - list of the modules and components that will be processed by compilation
336#                      tools and the EDK II tools to generate PE32/PE32+/Coff image files.
337#
338# Note: The EDK II DSC file is not used to specify how compiled binary images get placed
339#       into firmware volume images. This section is just a list of modules to compile from
340#       source into UEFI-compliant binaries.
341#       It is the FDF file that contains information on combining binary files into firmware
342#       volume images, whose concept is beyond UEFI and is described in PI specification.
343#       Binary modules do not need to be listed in this section, as they should be
344#       specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
345#       Logo (Logo.bmp), and etc.
346#       There may also be modules listed in this section that are not required in the FDF file,
347#       When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
348#       generated for it, but the binary will not be put into any firmware volume.
349#
350###################################################################################################
351
352[Components.IA32]
353  ##
354  #  SEC Phase modules
355  ##
356  Nt32Pkg/Sec/SecMain.inf
357
358  ##
359  #  PEI Phase modules
360  ##
361  MdeModulePkg/Core/Pei/PeiMain.inf
362  MdeModulePkg/Universal/PCD/Pei/Pcd.inf  {
363   <LibraryClasses>
364      PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
365  }
366  IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
367  Nt32Pkg/BootModePei/BootModePei.inf
368  Nt32Pkg/WinNtFlashMapPei/WinNtFlashMapPei.inf
369  MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
370  Nt32Pkg/WinNtAutoScanPei/WinNtAutoScanPei.inf
371  Nt32Pkg/WinNtFirmwareVolumePei/WinNtFirmwareVolumePei.inf
372  Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocolPei.inf
373  MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
374  ##
375  #  DXE Phase modules
376  ##
377  MdeModulePkg/Core/Dxe/DxeMain.inf {
378    <LibraryClasses>
379      NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
380    <BuildOptions>
381      *_*_IA32_CC_FLAGS = 
382  }
383
384  MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
385    <LibraryClasses>
386      PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
387  }
388  Nt32Pkg/MetronomeDxe/MetronomeDxe.inf
389  Nt32Pkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
390  Nt32Pkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
391  MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
392  Nt32Pkg/FvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
393  MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
394  IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
395  MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
396  MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
397  Nt32Pkg/WinNtThunkDxe/WinNtThunkDxe.inf
398  Nt32Pkg/CpuRuntimeDxe/CpuRuntimeDxe.inf
399  MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
400  IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErrDxe.inf
401  Nt32Pkg/MiscSubClassPlatformDxe/MiscSubClassPlatformDxe.inf
402  Nt32Pkg/TimerDxe/TimerDxe.inf
403  IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
404  MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
405  MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
406  MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
407  MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
408  MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
409  MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
410    <LibraryClasses>
411      PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
412  }
413  MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
414  MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
415  MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
416  MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
417  MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
418  MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
419  MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
420  MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf     ##This driver follows UEFI specification definition
421  MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf    ##This driver follows UEFI specification definition
422  IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
423  Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriverDxe.inf {
424    <LibraryClasses>
425      PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
426  }
427  Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIoDxe.inf
428  Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIoDxe.inf
429  Nt32Pkg/WinNtGopDxe/WinNtGopDxe.inf
430  Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystemDxe.inf
431  MdeModulePkg/Application/HelloWorld/HelloWorld.inf
432
433  #
434  # Network stack drivers
435  # To test network drivers, need network Io driver(SnpNt32Io.dll), please refer to NETWORK-IO Subproject.
436  #
437  MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
438  MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
439  MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
440  MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
441  MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
442  MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
443  MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
444  MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
445  MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
446  MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
447  Nt32Pkg/SnpNt32Dxe/SnpNt32Dxe.inf
448
449  MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
450
451  IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf 
452  MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
453  MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
454  MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
455  MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf {
456    <LibraryClasses>
457      PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
458  }
459  MdeModulePkg/Application/VariableInfo/VariableInfo.inf
460  
461  MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf
462
463[BuildOptions]
464  DEBUG_*_IA32_DLINK_FLAGS = /EXPORT:InitializeDriver=$(IMAGE_ENTRY_POINT) /ALIGN:4096 /FILEALIGN:4096 /SUBSYSTEM:CONSOLE
465  RELEASE_*_IA32_DLINK_FLAGS = /ALIGN:4096 /FILEALIGN:4096
466  *_*_IA32_CC_FLAGS = /D EFI_SPECIFICATION_VERSION=0x0002000A /D TIANO_RELEASE_VERSION=0x00080006
467
468
469
470
471#############################################################################################################
472# NOTE:
473# The following [Libraries.IA32] section is for building R8 module under the R9 tool chain.
474# If you want build R8 module for Nt32 platform, please uncomment [Libraries.IA32] section and
475# libraries used by that R8 module.
476# Currently, Nt32 platform do not has any R8 style module
477#  
478#
479#[Libraries.IA32]
480  #
481  # Libraries common to PEI and DXE
482  #
483  #  EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf
484  #  EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf
485  #  EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf
486  #  EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib.inf
487  #  EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib.inf
488  #  EdkCompatibilityPkg/Foundation/Cpu/Itanium/CpuIa64Lib/CpuIA64Lib.inf
489  #  EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.inf
490  #  EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf
491  #  EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/HobLib.inf
492
493  #
494  # PEI libraries
495  #
496  #  EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf
497  #  EdkCompatibilityPkg/Foundation/Ppi/EdkPpiLib.inf
498  #  EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib.inf
499  #  EdkCompatibilityPkg/Foundation/Library/Pei/Hob/PeiHobLib.inf
500
501  #
502  # DXE libraries
503  #
504  #  EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf
505  #  EdkCompatibilityPkg/Foundation/Efi/Protocol/EfiProtocolLib.inf
506  #  EdkCompatibilityPkg/Foundation/Framework/Protocol/EdkFrameworkProtocolLib.inf
507  #  EdkCompatibilityPkg/Foundation/Protocol/EdkProtocolLib.inf
508  #  EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiDriverLib.inf
509  #  EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/EfiRuntimeLib.inf
510  #  EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/Graphics.inf
511  #  EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/EfiIfrSupportLib.inf
512  #  EdkCompatibilityPkg/Foundation/Library/Dxe/Print/PrintLib.inf
513  #  EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.inf
514  #  EdkCompatibilityPkg/Foundation/Library/Dxe/EfiUiLib/EfiUiLib.inf
515
516  #
517  # Print/Graphics Library consume SetupBrowser Print Protocol
518  #
519  #  EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/PrintLib.inf
520  #  EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Graphics.inf
521
522