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::143; helo=mail-it1-x143.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-it1-x143.google.com (mail-it1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) (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 454A82115740E for ; Tue, 25 Sep 2018 01:32:06 -0700 (PDT) Received: by mail-it1-x143.google.com with SMTP id w200-v6so5947976itc.4 for ; Tue, 25 Sep 2018 01:32:06 -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=Wp+sWKfDLsD4NJc6ChQ+ETfnnS7dt3uIakwXVfrdC1U=; b=JhyMLUtMMb4vcTZpDe69J+M74ZXGKEu9+nitwjlPh+eFmyYI8PIepaHYsD6RMqJH5b vUgFBJHTQl5KmKeBHkjK31X30RzZHTGUAp8IlGjmxX0n98sNpWrtoXqtlVrs/Im1sXpP W1j+RwHbx230EC82inOIsjzEiSMScAkQaKvhQ= 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=Wp+sWKfDLsD4NJc6ChQ+ETfnnS7dt3uIakwXVfrdC1U=; b=eTH4LM9nwEIYmEzk69SH249bfySPsr7DVDPErEW1nW8DUmLqTs5PuXpcCkSjyBRx1f r6Cznv2vIDyDIwaBPPSoywJ1+SHw1J7ThOvdpLNnlrP+If/hA8sbVpr/FnFVSAtOc/Kc KvAQfEmH5ufJE9NI0g6UleghD/Q7Di/i3BLP8Izj0uubtIow8KzBB0QFj5sjv9lUvGug e2jhrg69aOmbymx9NnQoQsNSEjxvesIKlaMe3TmnFcEURmnFECez/yiOJcOpiCXdjO92 fYatr6LzdPBpjvTp0py4z3Wu0HMuHtl3cAGn+wb2Xr6//KlyxrATbe0KstjB9Usb2EEd HHKQ== X-Gm-Message-State: ABuFfohBoAquwiJnRA0mNJo3jgEu4WYqSJQMKIBxNLJqUGtJAAZLK6KT n3E0QVE10qmlHhMVDBFSfhyDkKDHEBDi8Mq5b4JIpg== X-Google-Smtp-Source: ACcGV63FQ6w0s20nsTE3bCIzLxWS8r+F6ZeABRkc+jNlp1D9tp0DVO/vD3aD2sclpHZbmKlYw+KZwc2BmnwqRv+nU+o= X-Received: by 2002:a24:57cb:: with SMTP id u194-v6mr1766241ita.148.1537864325465; Tue, 25 Sep 2018 01:32:05 -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: Ard Biesheuvel Date: Tue, 25 Sep 2018 10:31:51 +0200 Message-ID: To: Sumit Garg Cc: "Kinney, Michael D" , "edk2-devel@lists.01.org" , tee-dev@lists.linaro.org, Leif Lindholm , Daniel Thompson , Matteo Carlini , Achin Gupta , Udit Kumar , "Gao, Liming" 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:32:06 -0000 Content-Type: text/plain; charset="UTF-8" On Tue, 25 Sep 2018 at 10:27, Sumit Garg wrote: > > 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 > Thanks Sumit. Mike, are you saying this content should not be [click through] license encumbered if we want to put it into MdePkg as an industry standard? > > > -----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 > > > > >