mirror of
https://github.com/acidanthera/audk.git
synced 2025-08-17 23:58:12 +02:00
The PlatformPeim() in the PlatformPeiLib is invoked by the PrePiMain() and provides the platform an opportunity to setup the plaform specific HOBs. This PlatfromPeiLib initialises the Kvmtool platform HOBs like the Fdt, 16550BaseAddress, etc. Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Reviewed-by: Ard Biesheuvel <Ard.Biesheuvel@arm.com> Acked-by: Laszlo Ersek <lersek@redhat.com>
50 lines
1.1 KiB
INI
50 lines
1.1 KiB
INI
## @file
|
|
# Kvmtool platform PEI library.
|
|
#
|
|
# Copyright (c) 2020, ARM Limited. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x0001001B
|
|
BASE_NAME = PlatformPeiLib
|
|
FILE_GUID = 21073FB3-BA6F-43EB-83F0-4A840C648165
|
|
MODULE_TYPE = BASE
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = KvmtoolPlatformPeiLib
|
|
|
|
[Sources]
|
|
KvmtoolPlatformPeiLib.c
|
|
|
|
[Packages]
|
|
ArmPkg/ArmPkg.dec
|
|
ArmVirtPkg/ArmVirtPkg.dec
|
|
EmbeddedPkg/EmbeddedPkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
MdePkg/MdePkg.dec
|
|
|
|
[LibraryClasses]
|
|
DebugLib
|
|
HobLib
|
|
FdtLib
|
|
PcdLib
|
|
PeiServicesLib
|
|
|
|
[FixedPcd]
|
|
gArmTokenSpaceGuid.PcdFvSize
|
|
gArmVirtTokenSpaceGuid.PcdDeviceTreeAllocationPadding
|
|
|
|
[Pcd]
|
|
gArmTokenSpaceGuid.PcdFvBaseAddress
|
|
gArmVirtTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase
|
|
|
|
[Guids]
|
|
gFdtHobGuid
|
|
gEarly16550UartBaseAddressGuid
|
|
|
|
[Depex]
|
|
gEfiPeiMemoryDiscoveredPpiGuid
|