From cdccd99e24c120a25520a4abce46a617db2311a3 Mon Sep 17 00:00:00 2001 From: mdkinney Date: Fri, 29 Jan 2010 23:33:08 +0000 Subject: 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 --- UnixPkg/UnixFirmwareVolumePei/UnixFwh.inf | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'UnixPkg/UnixFirmwareVolumePei') diff --git a/UnixPkg/UnixFirmwareVolumePei/UnixFwh.inf b/UnixPkg/UnixFirmwareVolumePei/UnixFwh.inf index 126e893..ddc7195 100644 --- a/UnixPkg/UnixFirmwareVolumePei/UnixFwh.inf +++ b/UnixPkg/UnixFirmwareVolumePei/UnixFwh.inf @@ -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 -- cgit v1.1