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.

Do some minor clean ups to INF files
 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9866 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
mdkinney
2010-01-29 23:33:08 +00:00
parent f7c58a94cf
commit cdccd99e24
4 changed files with 16 additions and 40 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, 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 = f40b7864-8985-11db-af21-0040d02b1835
MODULE_TYPE = PEIM
VERSION_STRING = 1.0
EDK_RELEASE_VERSION = 0x00020000
EFI_SPECIFICATION_VERSION = 0x00020000
ENTRY_POINT = PeimInitializeUnixFwh
#
@ -32,16 +29,14 @@
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
[Sources.common]
[Sources]
UnixFwh.c
[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
UnixPkg/UnixPkg.dec
[LibraryClasses]
PeiServicesTablePointerLib
PeiServicesLib
@ -49,20 +44,16 @@
PeimEntryPoint
DebugLib
[FixedPcd.common]
[Pcd]
gEfiUnixPkgTokenSpaceGuid.PcdUnixFlashNvStorageEventLogSize
gEfiUnixPkgTokenSpaceGuid.PcdUnixFlashNvStorageVariableBase
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
[Ppis]
gUnixFwhPpiGuid # PPI ALWAYS_CONSUMED
[Depex]
gUnixFwhPpiGuid AND gEfiPeiMemoryDiscoveredPpiGuid