From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::e42; helo=mail-vs1-xe42.google.com; envelope-from=sumit.garg@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-vs1-xe42.google.com (mail-vs1-xe42.google.com [IPv6:2607:f8b0:4864:20::e42]) (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 0E72321155D21 for ; Tue, 25 Sep 2018 01:27:23 -0700 (PDT) Received: by mail-vs1-xe42.google.com with SMTP id z19-v6so9837633vso.3 for ; Tue, 25 Sep 2018 01:27:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AHsr4ky0BOnAEAO1IPDyVuZwWcwRKYBXImQBgE9vjdQ=; b=dJz8NrPwGCrFk/z3RqIZh7l9MLcovZadG0AIdUxlZInaZWkpp/odKbFf/YPYOpf2XD UZmy/5zT9jY/BqqyFyy9kfnLHRMiFJkxLNsRnFc18maCgo9p2u0m75La0dnXaXY9uUlH A6IAiUddBtcr2kI/YTLVzWK0325Pa9meEKlYY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AHsr4ky0BOnAEAO1IPDyVuZwWcwRKYBXImQBgE9vjdQ=; b=VQRFYZQ6RMcNftLUau47Aj1chb3kd/5qmbVj490dFVxgetyR9H3qkE8NzgcXTq5wOV SC0ab0FRxog4fvWZoDdGDCsyOzclHzUALRDA8WLD7zXFufIoQ7YehozGhbJDDVgVZqfz KYiMbXvJtivWQGxvTxEACYcYaiFE2vHnToN/weP2McZqCHIPW7JtlbnjXe95fj9/7Yny JHXzN9Hbwh/p9jJxs6dO2Av/swwnym8WDrHQHtNKa1f7Q+zxG/XGaM+POAf1dfG5LQ1d 1UDHkNTew/k+tsEUEAzQRp93xCuhsGbsRwbVOaRCqHL5/6NyHBuy5lHgG/ui0/8dZfg5 In7g== X-Gm-Message-State: ABuFfogPjJngcIyVVQ14VGjcqhmku/j6Z/YSN2mQ05Z8ZVfi+cOL+gg2 BlCh/p7ZShiafxKmgfwg1bitKSe1s10+IPglunAfcg== X-Google-Smtp-Source: ACcGV60PbgyoU8Q6+7c2fbKgAgtThngeRjPKxLnrs33XQz5Gb2dG6S0BlsOQEHC4QjYJ/RQxvLSMx4mesJneYxIFE8Q= X-Received: by 2002:a67:5e82:: with SMTP id s124-v6mr733205vsb.141.1537864042482; Tue, 25 Sep 2018 01:27:22 -0700 (PDT) MIME-Version: 1.0 References: <1535370620-10032-1-git-send-email-sumit.garg@linaro.org> <1535370620-10032-2-git-send-email-sumit.garg@linaro.org> In-Reply-To: From: Sumit Garg Date: Tue, 25 Sep 2018 13:57:11 +0530 Message-ID: To: Michael D Kinney Cc: Ard Biesheuvel , edk2-devel@lists.01.org, tee-dev@lists.linaro.org, Leif Lindholm , Daniel Thompson , Matteo.Carlini@arm.com, Achin.Gupta@arm.com, udit.kumar@nxp.com, Liming Gao Subject: Re: [PATCH v2 1/2] MdePkg/IndustryStandard: Add Global Plaform header file 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, 25 Sep 2018 08:27:24 -0000 Content-Type: text/plain; charset="UTF-8" Thanks Mike for your comments. On Mon, 24 Sep 2018 at 22:20, Kinney, Michael D wrote: > > Hi Ard, > > The initial content is only from the TEE Client API Specification. > I noticed that there is an errata to that spec as well. Does this > content follow the errata? Yes. > > I also noticed that the specifications require the acceptance of > an additional license to view the contents. Is there a version of > the content for this include file available that does not require > the acceptance of an additional license? > Yes, following is another version of the content for this include file: https://github.com/OP-TEE/optee_client/blob/master/public/tee_client_api.h#L163 -Sumit > Thanks, > > Mike > > > -----Original Message----- > > From: Ard Biesheuvel [mailto:ard.biesheuvel@linaro.org] > > Sent: Monday, September 24, 2018 1:26 AM > > To: Sumit Garg > > Cc: edk2-devel@lists.01.org; tee-dev@lists.linaro.org; > > Leif Lindholm ; Daniel > > Thompson ; Matteo Carlini > > ; Achin Gupta > > ; Udit Kumar ; > > Kinney, Michael D ; Gao, > > Liming > > Subject: Re: [edk2][PATCH v2 1/2] > > MdePkg/IndustryStandard: Add Global Plaform header file > > > > On Sat, 22 Sep 2018 at 01:15, Ard Biesheuvel > > wrote: > > > > > > On 27 August 2018 at 04:50, Sumit Garg > > wrote: > > > > Add Global Plaform header file specific to TEE > > Client API Specification v1 > > > > > > > >. > > > > > > > > Cc: Michael D Kinney > > > > Cc: Liming Gao > > > > Cc: Ard Biesheuvel > > > > Cc: Leif Lindholm > > > > Contributed-under: TianoCore Contribution Agreement > > 1.1 > > > > Signed-off-by: Sumit Garg > > > > > > Acked-by: Ard Biesheuvel > > > > > > Mike, > > > > > > The header file is a bit light on content at > > introduction, but as > > > discussed online, we can add stuff as we go for other > > use cases. > > > > > > > ... as discussed *offline* > > > > > > > > > --- > > > > MdePkg/Include/IndustryStandard/GlobalPlatform.h | > > 27 ++++++++++++++++++++++++ > > > > 1 file changed, 27 insertions(+) > > > > create mode 100644 > > MdePkg/Include/IndustryStandard/GlobalPlatform.h > > > > > > > > diff --git > > a/MdePkg/Include/IndustryStandard/GlobalPlatform.h > > b/MdePkg/Include/IndustryStandard/GlobalPlatform.h > > > > new file mode 100644 > > > > index 000000000000..72c5af4ef588 > > > > --- /dev/null > > > > +++ > > b/MdePkg/Include/IndustryStandard/GlobalPlatform.h > > > > @@ -0,0 +1,27 @@ > > > > +/** @file > > > > + Standardized Global Platform header file. > > GlobalPlatform TEE Client API > > > > + Specification v1.0: > > > > > > > > + > > > > + Copyright (c) 2018, Linaro Ltd. All rights > > reserved.
> > > > + > > > > + This program and the accompanying materials > > > > + are licensed and made available under the terms > > and conditions of the BSD License > > > > + which accompanies this distribution. The full > > text of the license may be found at > > > > + http://opensource.org/licenses/bsd-license.php > > > > + > > > > + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE > > ON AN "AS IS" BASIS, > > > > + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY > > KIND, EITHER EXPRESS OR IMPLIED. > > > > + > > > > +**/ > > > > + > > > > +#ifndef _GLOBAL_PLATFORM_H_ > > > > +#define _GLOBAL_PLATFORM_H_ > > > > + > > > > +#define TEEC_ORIGIN_COMMS > > 0x00000002 > > > > + > > > > +#define TEEC_SUCCESS > > 0x00000000 > > > > +#define TEEC_ERROR_BAD_PARAMETERS > > 0xFFFF0006 > > > > +#define TEEC_ERROR_OUT_OF_MEMORY > > 0xFFFF000C > > > > +#define TEEC_ERROR_COMMUNICATION > > 0xFFFF000E > > > > + > > > > +#endif > > > > -- > > > > 2.7.4 > > > >