From: Sughosh Ganu <sughosh.ganu@arm.com>
To: edk2-devel@lists.01.org
Subject: [PATCH v3 6/6] ArmPkg/ArmMmuLib: Add MMU library inf file suitable for use in S-EL0.
Date: Thu, 25 Oct 2018 13:02:39 +0530 [thread overview]
Message-ID: <1540452759-4875-7-git-send-email-sughosh.ganu@arm.com> (raw)
In-Reply-To: <1540452759-4875-1-git-send-email-sughosh.ganu@arm.com>
From: Achin Gupta <achin.gupta@arm.com>
This patch adds the definitions, sources, packages and library classes
needed to compile and link MMU Library suitable for use in S-EL0.
Currently, this is used only during the Standalone MM Core
initialization and hence defined as MM_CORE_STANDALONE Module.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Sughosh Ganu <sughosh.ganu@arm.com>
---
ArmPkg/Library/ArmMmuLib/{ArmMmuPeiLib.inf => ArmMmuStandaloneMmCoreLib.inf} | 23 +++++++++-----------
1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf b/ArmPkg/Library/ArmMmuLib/ArmMmuStandaloneMmCoreLib.inf
similarity index 51%
copy from ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf
copy to ArmPkg/Library/ArmMmuLib/ArmMmuStandaloneMmCoreLib.inf
index ecf13f790734..9f5593d3f6c8 100644
--- a/ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf
+++ b/ArmPkg/Library/ArmMmuLib/ArmMmuStandaloneMmCoreLib.inf
@@ -1,6 +1,6 @@
#/** @file
#
-# Copyright (c) 2016 Linaro Ltd. All rights reserved.
+# Copyright (c) 2017 - 2018, ARM Limited. All rights reserved.
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -13,22 +13,20 @@
#**/
[Defines]
- INF_VERSION = 0x00010005
- BASE_NAME = ArmMmuPeiLib
- FILE_GUID = b50d8d53-1ad1-44ea-9e69-8c89d4a6d08b
- MODULE_TYPE = PEIM
+ INF_VERSION = 0x0001001A
+ BASE_NAME = ArmMmuStandaloneMmCoreLib
+ FILE_GUID = da8f0232-fb14-42f0-922c-63104d2c70bd
+ MODULE_TYPE = MM_CORE_STANDALONE
VERSION_STRING = 1.0
- LIBRARY_CLASS = ArmMmuLib|PEIM
- CONSTRUCTOR = ArmMmuPeiLibConstructor
+ LIBRARY_CLASS = ArmMmuStandaloneMmCoreLib|MM_CORE_STANDALONE
+ PI_SPECIFICATION_VERSION = 0x00010032
+ CONSTRUCTOR = ArmMmuStandaloneMmCoreLibConstructor
[Sources.AARCH64]
- AArch64/ArmMmuLibCore.c
- AArch64/ArmMmuPeiLibConstructor.c
- AArch64/ArmMmuLibReplaceEntry.S
+ AArch64/ArmMmuStandaloneMmCoreLib.c
[Packages]
ArmPkg/ArmPkg.dec
- EmbeddedPkg/EmbeddedPkg.dec
MdePkg/MdePkg.dec
[LibraryClasses]
@@ -36,5 +34,4 @@ [LibraryClasses]
CacheMaintenanceLib
MemoryAllocationLib
-[Pcd.AARCH64]
- gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize
+
--
2.7.4
next prev parent reply other threads:[~2018-10-25 7:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-25 7:32 [PATCH v3 0/6] ArmPkg related changes for StandaloneMM package Sughosh Ganu
2018-10-25 7:32 ` [PATCH v3 1/6] ArmPkg: Add PCDs needed for MM communication driver Sughosh Ganu
2018-10-25 7:32 ` [PATCH v3 2/6] ArmPkg/Drivers: Add EFI_MM_COMMUNICATION_PROTOCOL DXE driver Sughosh Ganu
2018-11-23 18:20 ` Ard Biesheuvel
2018-10-25 7:32 ` [PATCH v3 3/6] ArmPkg/Include: Fix the SPM version SVC ID Sughosh Ganu
2018-10-25 7:32 ` [PATCH v3 4/6] ArmPkg/Include: Add MM interface SVC return codes Sughosh Ganu
2018-10-25 7:32 ` [PATCH v3 5/6] ArmPkg/ArmMmuLib: Add MMU Library suitable for use in S-EL0 Sughosh Ganu
2018-10-25 7:32 ` Sughosh Ganu [this message]
2018-11-23 18:28 ` [PATCH v3 6/6] ArmPkg/ArmMmuLib: Add MMU library inf file " Ard Biesheuvel
2018-11-25 5:58 ` Sughosh Ganu
2018-11-19 4:48 ` [PATCH v3 0/6] ArmPkg related changes for StandaloneMM package Sughosh Ganu
2018-11-19 5:00 ` Sughosh Ganu
2018-11-21 16:01 ` Thomas Abraham
2018-11-21 22:17 ` Ard Biesheuvel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1540452759-4875-7-git-send-email-sughosh.ganu@arm.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox