From patchwork Tue Dec 11 07:38:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Garg X-Patchwork-Id: 153403 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp347484ljp; Tue, 11 Dec 2018 00:12:51 -0800 (PST) X-Google-Smtp-Source: AFSGD/WzszP9TO1R0RCkKwiVQGsk6v/CGphPjDQC+u18qfGavUWq976E82uqzf5pvf/IOV2dVMp6 X-Received: by 2002:a63:a002:: with SMTP id r2mr13515460pge.212.1544515970879; Tue, 11 Dec 2018 00:12:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544515970; cv=none; d=google.com; s=arc-20160816; b=mcqJcQW4IRpHR5KTm+q11mqlklTLO01DdVauIGriyH5nF/Ex6fLvAr0JlW+khwblPX QI+bF4/YQfZ9DrlI5TVYodE/jDGglznfssK8yb5SJvo+6JdCugOoShUWv42SpPts/vNJ 9KxTyDNNDJPBqd1BALTOHnSwM5BQmjnvRoak9EPYdlCam9avxlqTV0ReUb14ZgTiFbJ2 4M1o2+a90cUEk6d/lWxBj5S1d+wI9TlD7Q/KY+KzgPocw3NrUirZJEoWzLc5Ev2TzLmy iTWGcCSLcwMb9jsztOtrnUJcy8+GbjwSfy2EQdIy2LyFNI1/oqLLUwH23DtvwKmKs0L7 CJOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to; bh=76bMzHthuphGbbi1yOiBk/yUk1vVMrGli8GeNbz6PZI=; b=kQ6IhvYEJ3eKi7ibBuVEJ0a49jMzKjPGeF/9Y3V+BBzRzWYWoDlW0vUwGoP1xrIuIi mxiK7CdSPHjzATozq+XxOgB0U30mnfJl2Eax4qeLz9U4ddcmP5OaplONlQpNKXkbCIW7 nI12TwA5TvQgv536390wJ2/OhfYJAe0O9yFbEiQNPOAPaG/eIJ2HR8Q6A1P7LctxYvqs bFkrGA1GkwKHjk6GkhqPI0sNQgKd8LnLX7qzbcPTQtOnVFXeyKS+keY4GizcDpa29JtE ZX3PLqZ/tvitYW++s9qyb1R12ZLMCL/ZwF3osrfcFZDqQU2bb/Uo4fG9fPSnyT0Ee6O6 LQLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=e90KYIzy; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id d65si12661310pfc.201.2018.12.11.00.12.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Dec 2018 00:12:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=e90KYIzy; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id AA7C921E11D26; Tue, 11 Dec 2018 00:12:17 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::643; helo=mail-pl1-x643.google.com; envelope-from=sumit.garg@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 541962194D3AE for ; Mon, 10 Dec 2018 23:39:31 -0800 (PST) Received: by mail-pl1-x643.google.com with SMTP id k8so6524085pls.11 for ; Mon, 10 Dec 2018 23:39:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=q092l0rmDeJ85qM2aO1n6MxACUnMe8go1mjVCO0K2dA=; b=e90KYIzyE+sHsh4fIxINBMoHrpCTFUrJEdCWO9PGwgU+wng+AdpXYJLuNozYnxBof1 j1z8s3bDC+sOHbBSzpPQrzOCTt3YePMULnSS1/CsudMb2C0xriSujhmI90JYBviJxQQo EBzk3RCrN98jp0ffQoQoYRMF2HuFyVnKxDWgk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=q092l0rmDeJ85qM2aO1n6MxACUnMe8go1mjVCO0K2dA=; b=o/Jtf3XXTOHNT9ev/OGpNKp7cQUdybKGyJrWFTFzwSakLrFQw6G5GjzLnFCzGZTEeN Q5W2u2DH4lY+Olx/ZktlHoc8S67abpen8e0RcYaLXWHzi0QGyGR4PXHpCucjrqPyUHIz OXZdW4wmKrKxr+w/Bm2Nh1VPKiueHPIwNtoW/nVABEVuM/z3ZJF1OVFtDjkuucLhH6Xq ngGzwj+/sxO4hEzyigio3SROJf0gEjmfZjmkidAQFmq6vgQdfijNfUqq3QJBmZaa1ZCH yYR82VTVWB+mMPBaO3xnX2dVmgOWEOw5l8Rz/UIeP8pLsGeOQPD62eVD0TOkzzqhSLAM UCow== X-Gm-Message-State: AA+aEWbnVeyCH45RKXCBL01Eb9zRjU2GoJnyb40Y+KtKcHk2NbcAIGvH n26xCyw3D3rM+FQeKVtB4EGFub0DLkA= X-Received: by 2002:a17:902:1005:: with SMTP id b5mr15123448pla.310.1544513971121; Mon, 10 Dec 2018 23:39:31 -0800 (PST) Received: from localhost.localdomain ([117.252.70.34]) by smtp.gmail.com with ESMTPSA id q1sm17858300pfb.96.2018.12.10.23.39.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 10 Dec 2018 23:39:30 -0800 (PST) From: Sumit Garg To: edk2-devel@lists.01.org Date: Tue, 11 Dec 2018 13:08:59 +0530 Message-Id: <1544513939-2953-1-git-send-email-sumit.garg@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH v1 1/1] ArmPkg/OpteeLib: Add OPTEE_SUCCESS return code 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: , MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Sumit Garg --- ArmPkg/Include/Library/OpteeLib.h | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Ard Biesheuvel diff --git a/ArmPkg/Include/Library/OpteeLib.h b/ArmPkg/Include/Library/OpteeLib.h index 6884d5681831..a7b2ff1b6b57 100644 --- a/ArmPkg/Include/Library/OpteeLib.h +++ b/ArmPkg/Include/Library/OpteeLib.h @@ -35,6 +35,7 @@ #define OPTEE_MESSAGE_ATTRIBUTE_TYPE_MASK 0xff +#define OPTEE_SUCCESS 0x00000000 #define OPTEE_ORIGIN_COMMUNICATION 0x00000002 #define OPTEE_ERROR_COMMUNICATION 0xFFFF000E