Remove unnecessary use of FixedPcdxxx() functions and [FixedPcd] INF sections. These should only be used for PCDs that are used to pre-init global variables, pre-init global structures, or size arrays.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9865 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
mdkinney
2010-01-29 23:30:55 +00:00
parent d5b0f232f7
commit f7c58a94cf
7 changed files with 35 additions and 65 deletions

View File

@@ -3,7 +3,7 @@
#
# This PEIM will produce the HOB to describe Firmware Volume, Firmware Devices
# on the NT32 emulator.
# Copyright (c) 2006 - 2007, Intel Corporation
# Copyright (c) 2006 - 2010, Intel Corporation
#
# All rights reserved. This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -21,9 +21,6 @@
FILE_GUID = F0384FFD-8633-452f-9010-F6B7D2EAE2F1
MODULE_TYPE = PEIM
VERSION_STRING = 1.0
EDK_RELEASE_VERSION = 0x00020000
EFI_SPECIFICATION_VERSION = 0x00020000
ENTRY_POINT = PeimInitializeWinNtFwh
#
@@ -32,10 +29,9 @@
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
[Sources.common]
[Sources]
WinntFwh.c
[Packages]
Nt32Pkg/Nt32Pkg.dec
MdePkg/MdePkg.dec
@@ -50,18 +46,16 @@
[Ppis]
gNtFwhPpiGuid # PPI ALWAYS_CONSUMED
[FixedPcd.common]
[Pcd]
gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashFvRecoveryBase
gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashFvRecoverySize
gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageEventLogBase
gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageEventLogSize
gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageVariableBase
gEfiNt32PkgTokenSpaceGuid.PcdWinNtFlashNvStorageFtwSpareBase
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
[depex]
[Depex]
gNtFwhPpiGuid AND gEfiPeiMemoryDiscoveredPpiGuid