-#/** @file\r
+## @file\r
# Component description file for WinNtFwh module\r
#\r
# This PEIM will produce the HOB to describe Firmware Volume, Firmware Devices\r
# on the NT32 emulator.\r
-# Copyright (c) 2006 - 2007, Intel Corporation\r
+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
#\r
-# All rights reserved. This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
#\r
-#**/\r
+##\r
\r
-################################################################################\r
-#\r
-# Defines Section - statements that will be processed to create a Makefile.\r
-#\r
-################################################################################\r
[Defines]\r
INF_VERSION = 0x00010005\r
BASE_NAME = WinNtFirmwareVolumePei\r
FILE_GUID = F0384FFD-8633-452f-9010-F6B7D2EAE2F1\r
MODULE_TYPE = PEIM\r
VERSION_STRING = 1.0\r
- EDK_RELEASE_VERSION = 0x00020000\r
- EFI_SPECIFICATION_VERSION = 0x00020000\r
-\r
ENTRY_POINT = PeimInitializeWinNtFwh\r
\r
#\r
# The following information is for reference only and not required by the build tools.\r
#\r
-# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
-#\r
-\r
-################################################################################\r
-#\r
-# Sources Section - list of files that are required for the build to succeed.\r
+# VALID_ARCHITECTURES = IA32 X64 EBC\r
#\r
-################################################################################\r
\r
-[Sources.common]\r
+[Sources]\r
WinntFwh.c\r
\r
-\r
-################################################################################\r
-#\r
-# Includes Section - list of Include locations that are required for\r
-# this module.\r
-#\r
-################################################################################\r
-\r
-[Includes]\r
- $(WORKSPACE)/MdePkg/Include/Library\r
-\r
-################################################################################\r
-#\r
-# Package Dependency Section - list of Package files that are required for\r
-# this module.\r
-#\r
-################################################################################\r
-\r
[Packages]\r
Nt32Pkg/Nt32Pkg.dec\r
MdePkg/MdePkg.dec\r
-\r
-\r
-################################################################################\r
-#\r
-# Library Class Section - list of Library Classes that are required for\r
-# this module.\r
-#\r
-################################################################################\r
+ MdeModulePkg/MdeModulePkg.dec\r
\r
[LibraryClasses]\r
HobLib\r
PeimEntryPoint\r
DebugLib\r
-\r
-\r
-################################################################################\r
-#\r
-# PPI C Name Section - list of PPI and PPI Notify C Names that this module\r
-# uses or produces.\r
-#\r
-################################################################################\r
+ PcdLib \r
\r
[Ppis]\r
gNtFwhPpiGuid # PPI ALWAYS_CONSUMED\r
\r
-[depex]\r
- gNtFwhPpiGuid AND gEfiPeiMemoryDiscoveredPpiGuid
\ No newline at end of file
+[Pcd]\r
+ gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashFvRecoveryBase\r
+ gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashFvRecoverySize\r
+ gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageEventLogBase\r
+ gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageEventLogSize\r
+ gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageVariableBase\r
+ gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageFtwSpareBase\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize\r
+\r
+[Depex]\r
+ gNtFwhPpiGuid AND gEfiPeiMemoryDiscoveredPpiGuid\r