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 5CF1421BADAB2 for ; Fri, 13 Jul 2018 08:05:50 -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 C42797A9; Fri, 13 Jul 2018 08:05:50 -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 77FC53F5B1; Fri, 13 Jul 2018 08:05:49 -0700 (PDT) From: Sughosh Ganu To: edk2-devel@lists.01.org Cc: Achin Gupta , Jiewen Yao Date: Fri, 13 Jul 2018 20:35:20 +0530 Message-Id: <1531494330-1280-1-git-send-email-sughosh.ganu@arm.com> X-Mailer: git-send-email 2.7.4 Subject: [PATCH v2 00/10] Standalone Management Mode Core Interface for AARCH64 Platforms X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2018 15:05:51 -0000 The following patch series adds StandaloneMM core interface for aarch64 platforms. Following earlier comments from Jeiwen [1], the patch series has been split into three parts and this series handles StandaloneMMPkg related changes. [1] - https://lists.01.org/pipermail/edk2-devel/2018-June/026211.html Changes since V1: - Handle review comments from Achin - Coding style fixes Supreeth Venkatesh (10): StandaloneMmPkg: Delete StandaloneMmPkg file. StandaloneMmPkg/FvLib: Add a common FV Library for management mode. StandaloneMmPkg/MemLib: Add Standalone MM instance of memory check library. StandaloneMmPkg/MemoryAllocationLib: Add MM memory allocation library. StandaloneMmPkg/HobLib: Add HOB Library for management mode. StandaloneMmPkg: MM driver entry point library. StandaloneMmPkg/Core: Implementation of Standalone MM Core Module. StandaloneMmPkg: Add an AArch64 specific entry point library. StandaloneMmPkg: Add CPU driver suitable for ARM Platforms. StandaloneMmPkg: Describe the declaration and definition files. StandaloneMmPkg | 0 StandaloneMmPkg/Core/Dependency.c | 389 +++++++ StandaloneMmPkg/Core/Dispatcher.c | 1071 ++++++++++++++++++++ StandaloneMmPkg/Core/FwVol.c | 104 ++ StandaloneMmPkg/Core/Handle.c | 533 ++++++++++ StandaloneMmPkg/Core/InstallConfigurationTable.c | 178 ++++ StandaloneMmPkg/Core/Locate.c | 496 +++++++++ StandaloneMmPkg/Core/Mmi.c | 337 ++++++ StandaloneMmPkg/Core/Notify.c | 203 ++++ StandaloneMmPkg/Core/Page.c | 384 +++++++ StandaloneMmPkg/Core/Pool.c | 293 ++++++ StandaloneMmPkg/Core/StandaloneMmCore.c | 712 +++++++++++++ StandaloneMmPkg/Core/StandaloneMmCore.h | 903 +++++++++++++++++ StandaloneMmPkg/Core/StandaloneMmCore.inf | 80 ++ StandaloneMmPkg/Core/StandaloneMmCorePrivateData.h | 66 ++ .../Drivers/StandaloneMmCpu/AArch64/EventHandle.c | 220 ++++ .../StandaloneMmCpu/AArch64/StandaloneMmCpu.c | 232 +++++ .../StandaloneMmCpu/AArch64/StandaloneMmCpu.h | 64 ++ .../StandaloneMmCpu/AArch64/StandaloneMmCpu.inf | 59 ++ StandaloneMmPkg/Include/Guid/MmCoreData.h | 133 +++ StandaloneMmPkg/Include/Guid/MmFvDispatch.h | 39 + StandaloneMmPkg/Include/Guid/MmramMemoryReserve.h | 62 ++ StandaloneMmPkg/Include/Guid/MpInformation.h | 41 + .../Library/AArch64/StandaloneMmCoreEntryPoint.h | 215 ++++ StandaloneMmPkg/Include/Library/FvLib.h | 109 ++ .../Include/Library/StandaloneMmCoreEntryPoint.h | 101 ++ .../Include/Library/StandaloneMmDriverEntryPoint.h | 148 +++ .../Include/Library/StandaloneMmMemLib.h | 140 +++ StandaloneMmPkg/Include/StandaloneMm.h | 36 + StandaloneMmPkg/Library/FvLib/FvLib.c | 385 +++++++ StandaloneMmPkg/Library/FvLib/FvLib.inf | 57 ++ .../AArch64/CreateHobList.c | 209 ++++ .../AArch64/SetPermissions.c | 289 ++++++ .../AArch64/StandaloneMmCoreEntryPoint.c | 306 ++++++ .../StandaloneMmCoreEntryPoint.inf | 55 + .../AArch64/StandaloneMmCoreHobLibInternal.c | 64 ++ .../StandaloneMmCoreHobLib.c | 608 +++++++++++ .../StandaloneMmCoreHobLib.inf | 47 + .../StandaloneMmCoreMemoryAllocationLib.c | 908 +++++++++++++++++ .../StandaloneMmCoreMemoryAllocationLib.inf | 49 + .../StandaloneMmCoreMemoryAllocationServices.h | 38 + .../StandaloneMmDriverEntryPoint.c | 99 ++ .../StandaloneMmDriverEntryPoint.inf | 41 + .../AArch64/StandaloneMmMemLibInternal.c | 49 + .../StandaloneMmMemLib/StandaloneMmMemLib.c | 269 +++++ .../StandaloneMmMemLib/StandaloneMmMemLib.inf | 50 + StandaloneMmPkg/StandaloneMmPkg.dec | 47 + StandaloneMmPkg/StandaloneMmPkg.dsc | 130 +++ 48 files changed, 11048 insertions(+) delete mode 100644 StandaloneMmPkg create mode 100644 StandaloneMmPkg/Core/Dependency.c create mode 100644 StandaloneMmPkg/Core/Dispatcher.c create mode 100644 StandaloneMmPkg/Core/FwVol.c create mode 100644 StandaloneMmPkg/Core/Handle.c create mode 100644 StandaloneMmPkg/Core/InstallConfigurationTable.c create mode 100644 StandaloneMmPkg/Core/Locate.c create mode 100644 StandaloneMmPkg/Core/Mmi.c create mode 100644 StandaloneMmPkg/Core/Notify.c create mode 100644 StandaloneMmPkg/Core/Page.c create mode 100644 StandaloneMmPkg/Core/Pool.c create mode 100644 StandaloneMmPkg/Core/StandaloneMmCore.c create mode 100644 StandaloneMmPkg/Core/StandaloneMmCore.h create mode 100644 StandaloneMmPkg/Core/StandaloneMmCore.inf create mode 100644 StandaloneMmPkg/Core/StandaloneMmCorePrivateData.h create mode 100644 StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/EventHandle.c create mode 100644 StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c create mode 100644 StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.h create mode 100644 StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf create mode 100644 StandaloneMmPkg/Include/Guid/MmCoreData.h create mode 100644 StandaloneMmPkg/Include/Guid/MmFvDispatch.h create mode 100644 StandaloneMmPkg/Include/Guid/MmramMemoryReserve.h create mode 100644 StandaloneMmPkg/Include/Guid/MpInformation.h create mode 100644 StandaloneMmPkg/Include/Library/AArch64/StandaloneMmCoreEntryPoint.h create mode 100644 StandaloneMmPkg/Include/Library/FvLib.h create mode 100644 StandaloneMmPkg/Include/Library/StandaloneMmCoreEntryPoint.h create mode 100644 StandaloneMmPkg/Include/Library/StandaloneMmDriverEntryPoint.h create mode 100644 StandaloneMmPkg/Include/Library/StandaloneMmMemLib.h create mode 100644 StandaloneMmPkg/Include/StandaloneMm.h create mode 100644 StandaloneMmPkg/Library/FvLib/FvLib.c create mode 100644 StandaloneMmPkg/Library/FvLib/FvLib.inf create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/CreateHobList.c create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/SetPermissions.c create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/StandaloneMmCoreEntryPoint.c create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreHobLib/AArch64/StandaloneMmCoreHobLibInternal.c create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.c create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.inf create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.c create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.inf create mode 100644 StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationServices.h create mode 100644 StandaloneMmPkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.c create mode 100644 StandaloneMmPkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf create mode 100644 StandaloneMmPkg/Library/StandaloneMmMemLib/AArch64/StandaloneMmMemLibInternal.c create mode 100644 StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.c create mode 100644 StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf create mode 100644 StandaloneMmPkg/StandaloneMmPkg.dec create mode 100644 StandaloneMmPkg/StandaloneMmPkg.dsc -- 2.7.4