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 8BCB921A07A82 for ; Mon, 26 Nov 2018 22:19:58 -0800 (PST) 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 689F02379; Mon, 26 Nov 2018 22:19:58 -0800 (PST) Received: from usa.arm.com (a074948-lin.blr.arm.com [10.162.4.56]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 963693F5AF; Mon, 26 Nov 2018 22:19:56 -0800 (PST) From: Sughosh Ganu To: edk2-devel@lists.01.org, Ard Biesheuvel , Leif Lindholm , Achin Gupta Date: Tue, 27 Nov 2018 11:49:23 +0530 Message-Id: <1543299564-25266-5-git-send-email-sughosh.ganu@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1543299564-25266-1-git-send-email-sughosh.ganu@arm.com> References: <1543299564-25266-1-git-send-email-sughosh.ganu@arm.com> Subject: [PATCH v4 4/5] ArmPkg/Include: Add MM interface SVC return codes. 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: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 X-List-Received-Date: Tue, 27 Nov 2018 06:19:58 -0000 From: Achin Gupta This patch adds the Management Mode(MM) - Secure Partition Manager(SPM) SVC return codes. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Sughosh Ganu --- ArmPkg/Include/IndustryStandard/ArmMmSvc.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ArmPkg/Include/IndustryStandard/ArmMmSvc.h b/ArmPkg/Include/IndustryStandard/ArmMmSvc.h index 81b4654fa5dd..a64b9ec23c4b 100644 --- a/ArmPkg/Include/IndustryStandard/ArmMmSvc.h +++ b/ArmPkg/Include/IndustryStandard/ArmMmSvc.h @@ -40,4 +40,11 @@ ((((c_perm) & SET_MEM_ATTR_CODE_PERM_MASK) << SET_MEM_ATTR_CODE_PERM_SHIFT) | \ (( (d_perm) & SET_MEM_ATTR_DATA_PERM_MASK) << SET_MEM_ATTR_DATA_PERM_SHIFT)) +/* MM SVC Return error codes */ +#define ARM_SVC_SPM_RET_SUCCESS 0 +#define ARM_SVC_SPM_RET_NOT_SUPPORTED -1 +#define ARM_SVC_SPM_RET_INVALID_PARAMS -2 +#define ARM_SVC_SPM_RET_DENIED -3 +#define ARM_SVC_SPM_RET_NO_MEMORY -5 + #endif -- 2.7.4