StandaloneMmPkg: build for 32bit arm machines
This change allows to build StandaloneMmPkg components for 32bit Arm StandaloneMm firmware. This change mainly moves AArch64/ source files to Arm/ side directory for several components: StandaloneMmCpu, StandaloneMmCoreEntryPoint and StandaloneMmMemLib. The source file is built for both 32b and 64b Arm targets. Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
committed by
mergify[bot]
parent
b7f0226a46
commit
a776bbabd9
52
StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.inf
Normal file
52
StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.inf
Normal file
@@ -0,0 +1,52 @@
|
||||
## @file
|
||||
# Standalone MM CPU driver for ARM Standard Platforms
|
||||
#
|
||||
# Copyright (c) 2009, Apple Inc. All rights reserved.<BR>
|
||||
# Copyright (c) 2016 HP Development Company, L.P.
|
||||
# Copyright (c) 2017 - 2021, Arm Limited. All rights reserved.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
##
|
||||
|
||||
[Defines]
|
||||
INF_VERSION = 0x0001001A
|
||||
BASE_NAME = StandaloneMmCpu
|
||||
FILE_GUID = 58F7A62B-6280-42A7-BC38-10535A64A92C
|
||||
MODULE_TYPE = MM_STANDALONE
|
||||
VERSION_STRING = 1.0
|
||||
PI_SPECIFICATION_VERSION = 0x00010032
|
||||
ENTRY_POINT = StandaloneMmCpuInitialize
|
||||
|
||||
[Sources]
|
||||
StandaloneMmCpu.c
|
||||
StandaloneMmCpu.h
|
||||
EventHandle.c
|
||||
|
||||
[Packages]
|
||||
ArmPkg/ArmPkg.dec
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
StandaloneMmPkg/StandaloneMmPkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
ArmLib
|
||||
ArmSvcLib
|
||||
BaseMemoryLib
|
||||
DebugLib
|
||||
HobLib
|
||||
StandaloneMmDriverEntryPoint
|
||||
|
||||
[Protocols]
|
||||
gEfiMmConfigurationProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
||||
gEfiMmCpuProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
||||
|
||||
[Guids]
|
||||
gEfiHobListGuid
|
||||
gEfiMmPeiMmramMemoryReserveGuid
|
||||
gZeroGuid
|
||||
gMpInformationHobGuid
|
||||
gEfiStandaloneMmNonSecureBufferGuid
|
||||
gEfiArmTfCpuDriverEpDescriptorGuid
|
||||
|
||||
[Depex]
|
||||
TRUE
|
Reference in New Issue
Block a user