From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by ml01.01.org (Postfix) with ESMTP id 2519621D046C1 for ; Wed, 20 Sep 2017 12:45:17 -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 1453480D; Wed, 20 Sep 2017 12:48:23 -0700 (PDT) Received: from u201365.usa.Arm.com (bc-c3-3-14.eu.iaas.arm.com [10.6.43.238]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2578D3F483; Wed, 20 Sep 2017 12:48:22 -0700 (PDT) From: Supreeth Venkatesh To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, Supreeth Venkatesh Date: Wed, 20 Sep 2017 20:48:10 +0100 Message-Id: <20170920194813.43665-1-supreeth.venkatesh@arm.com> X-Mailer: git-send-email 2.14.1 Subject: [Patch v2 0/3] *** Add ArmSvc Library *** X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2017 19:45:17 -0000 *** This patchset adds a library that enables invocation of SVCs from Exception Level EL0. It will be used by the Standalone MM environment to request services from a software running in a privileged EL e.g. ARM Trusted Firmware. The library is derived directly from Arm SMC Library. Further, it builds the library during the build of Arm Pacakge and the library exports the header file for inclusion in other modules. This is tested on AARCH64 Reference platform and has not been tested on ARM 32 bit Platform. Changes Since v1: (*) Update Review Comments from Ard. (*) Reword Commit subject for the patches in the set to convey meaningful summary. *** Supreeth Venkatesh (3): ArmPkg/ArmSvcLib: Add ArmSvcLib implementation. ArmPkg: Modify description file to build ArmSvcLib. ArmPkg/Include: Add ArmSvcLib header file. ArmPkg/ArmPkg.dsc | 1 + ArmPkg/Include/Library/ArmSvcLib.h | 46 +++++++++++++++++++++++++++++++ ArmPkg/Library/ArmSvcLib/AArch64/ArmSvc.S | 43 +++++++++++++++++++++++++++++ ArmPkg/Library/ArmSvcLib/Arm/ArmSvc.S | 41 +++++++++++++++++++++++++++ ArmPkg/Library/ArmSvcLib/Arm/ArmSvc.asm | 39 ++++++++++++++++++++++++++ ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf | 31 +++++++++++++++++++++ 6 files changed, 201 insertions(+) create mode 100644 ArmPkg/Include/Library/ArmSvcLib.h create mode 100644 ArmPkg/Library/ArmSvcLib/AArch64/ArmSvc.S create mode 100644 ArmPkg/Library/ArmSvcLib/Arm/ArmSvc.S create mode 100644 ArmPkg/Library/ArmSvcLib/Arm/ArmSvc.asm create mode 100644 ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf -- 2.14.1