-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
StandaloneMmPkg: move core entry point lib and cpu driver to ArmPkg
StandaloneMmCpu driver is only used for Arm architecture and StandaloneMmCoreEntryPointLib for Arm has specific implementation with StandaloneMmCpu driver. Move StandaloneMmCpu Driver and StandaloneMmCoreEntryPointLib for Arm to ArmPkg. Continuous-integration-options: PatchCheck.ignore-multi-package Signed-off-by: Levi Yun <[email protected]>
- Loading branch information
1 parent
94f9b03
commit 761d141
Showing
16 changed files
with
100 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72 changes: 72 additions & 0 deletions
72
ArmPkg/Library/ArmStandaloneMmCoreEntryPoint/ArmStandaloneMmCoreEntryPoint.inf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
## @file | ||
# Module entry point library for DXE core. | ||
# | ||
# Copyright (c) 2024, Arm Ltd. All rights reserved.<BR> | ||
# | ||
# SPDX-License-Identifier: BSD-2-Clause-Patent | ||
# | ||
# | ||
## | ||
|
||
[Defines] | ||
INF_VERSION = 0x0001001A | ||
BASE_NAME = ArmStandaloneMmCoreEntryPoint | ||
FILE_GUID = 16d7b2e4-a025-11ef-8931-6b032fa329a6 | ||
MODULE_TYPE = MM_CORE_STANDALONE | ||
VERSION_STRING = 1.0 | ||
PI_SPECIFICATION_VERSION = 0x00010032 | ||
LIBRARY_CLASS = StandaloneMmCoreEntryPoint|MM_CORE_STANDALONE | ||
|
||
# | ||
# VALID_ARCHITECTURES = ARM AARCH64 | ||
# | ||
|
||
[Sources] | ||
ArmStandaloneMmCoreEntryPoint.c | ||
SetPermissions.c | ||
|
||
[Sources.AARCH64] | ||
AArch64/ModuleEntryPoint.S | ||
|
||
[Sources.ARM] | ||
Arm/ModuleEntryPoint.S | ||
|
||
[Packages] | ||
ArmPkg/ArmPkg.dec | ||
MdePkg/MdePkg.dec | ||
MdeModulePkg/MdeModulePkg.dec | ||
StandaloneMmPkg/StandaloneMmPkg.dec | ||
|
||
[Packages] | ||
ArmPkg/ArmPkg.dec | ||
|
||
[LibraryClasses] | ||
BaseLib | ||
DebugLib | ||
StandaloneMmMmuLib | ||
ArmSvcLib | ||
ArmTransferListLib | ||
ArmFfaLib | ||
|
||
[Guids] | ||
gMpInformationHobGuid | ||
gEfiMmPeiMmramMemoryReserveGuid | ||
gEfiStandaloneMmNonSecureBufferGuid | ||
gEfiHobListGuid | ||
|
||
[Protocols] | ||
gEdkiiPiMmCpuDriverEpProtocolGuid | ||
gEfiMmCommunication2ProtocolGuid | ||
|
||
[Pcd] | ||
gArmTokenSpaceGuid.PcdStMmStackSize | ||
|
||
# | ||
# This configuration fails for CLANGPDB, which does not support PIE in the GCC | ||
# sense. Such however is required for ARM family StandaloneMmCore | ||
# self-relocation, and thus the CLANGPDB toolchain is unsupported for ARM and | ||
# AARCH64 for this module. | ||
# | ||
[BuildOptions] | ||
GCC:*_*_ARM_CC_FLAGS = -fpie | ||
GCC:*_*_AARCH64_CC_FLAGS = -fpie |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters