From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=217.140.101.70; helo=foss.arm.com; envelope-from=sughosh.ganu@arm.com; receiver=edk2-devel@lists.01.org Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by ml01.01.org (Postfix) with ESMTP id A315E2117FD7A for ; Thu, 25 Oct 2018 00:33:31 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 711E3A78; Thu, 25 Oct 2018 00:33:31 -0700 (PDT) Received: from usa.arm.com (a074948-lin.blr.arm.com [10.162.4.138]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id A8E8F3F627; Thu, 25 Oct 2018 00:33:29 -0700 (PDT) From: Sughosh Ganu To: edk2-devel@lists.01.org Date: Thu, 25 Oct 2018 13:02:39 +0530 Message-Id: <1540452759-4875-7-git-send-email-sughosh.ganu@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1540452759-4875-1-git-send-email-sughosh.ganu@arm.com> References: <1540452759-4875-1-git-send-email-sughosh.ganu@arm.com> Subject: [PATCH v3 6/6] ArmPkg/ArmMmuLib: Add MMU library inf file suitable for use in S-EL0. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 07:33:31 -0000 From: Achin Gupta 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 --- 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