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:
@@ -3,7 +3,7 @@
|
||||
#
|
||||
# This DXE runtime driver implements and produces the Fimware Volue Block Protocol on
|
||||
# Unix emulator.
|
||||
# Copyright (c) 2008, Intel Corporation
|
||||
# Copyright (c) 2008 - 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 = f42fd042-8985-11db-a7db-0040d02b1835
|
||||
MODULE_TYPE = DXE_RUNTIME_DRIVER
|
||||
VERSION_STRING = 1.0
|
||||
EDK_RELEASE_VERSION = 0x00020000
|
||||
EFI_SPECIFICATION_VERSION = 0x00020000
|
||||
|
||||
ENTRY_POINT = FvbInitialize
|
||||
|
||||
#
|
||||
@@ -32,17 +29,15 @@
|
||||
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
||||
#
|
||||
|
||||
[Sources.Ia32]
|
||||
[Sources]
|
||||
FvbInfo.c
|
||||
FWBlockService.c
|
||||
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
UnixPkg/UnixPkg.dec
|
||||
|
||||
|
||||
[LibraryClasses]
|
||||
UefiBootServicesTableLib
|
||||
MemoryAllocationLib
|
||||
@@ -56,7 +51,6 @@
|
||||
UefiLib
|
||||
DevicePathLib
|
||||
|
||||
|
||||
[Guids]
|
||||
gEfiEventVirtualAddressChangeGuid # ALWAYS_CONSUMED Create Event: EVENT_GROUP_GUID
|
||||
|
||||
@@ -64,17 +58,15 @@
|
||||
gEfiFirmwareVolumeBlockProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
||||
gEfiDevicePathProtocolGuid # PROTOCOL SOMETIMES_PRODUCED
|
||||
|
||||
|
||||
[FixedPcd.common]
|
||||
[FixedPcd]
|
||||
gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareFdSize
|
||||
gEfiUnixPkgTokenSpaceGuid.PcdUnixFirmwareBlockSize
|
||||
|
||||
gEfiUnixPkgTokenSpaceGuid.PcdUnixFlashFvRecoveryBase
|
||||
gEfiUnixPkgTokenSpaceGuid.PcdUnixFlashFvRecoverySize
|
||||
gEfiUnixPkgTokenSpaceGuid.PcdUnixFlashNvStorageEventLogBase
|
||||
gEfiUnixPkgTokenSpaceGuid.PcdUnixFlashNvStorageEventLogSize
|
||||
|
||||
[Pcd.common]
|
||||
[Pcd]
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
|
||||
@@ -82,7 +74,6 @@
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase
|
||||
|
||||
|
||||
[Depex]
|
||||
TRUE
|
||||
|
||||
|
Reference in New Issue
Block a user