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::d41; helo=mail-io1-xd41.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-io1-xd41.google.com (mail-io1-xd41.google.com [IPv6:2607:f8b0:4864:20::d41]) (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 2886321CAD998 for ; Mon, 24 Sep 2018 01:26:39 -0700 (PDT) Received: by mail-io1-xd41.google.com with SMTP id v14-v6so16948076iob.4 for ; Mon, 24 Sep 2018 01:26:39 -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=AqXZ7t+Q5kvQwsqdyUiBBCsuPsTt5fgsQup3NnPqf3c=; b=SX7TfAuRYYS80XFpiwxgLW7uONkmjr2SW+kT4ZBrN/pHJBn3Ye9HVy0vqmIyKXToYL hcWef/ITlPjJMOuXOvIavgSLdvGJCCDdLIpUB7D5Qbe468kum2ZyBcpAAZ17IuypY5SD M9bg/O6wuUUDmi83ORUBtbWU2UJNgBQR1WnHY= 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=AqXZ7t+Q5kvQwsqdyUiBBCsuPsTt5fgsQup3NnPqf3c=; b=EUvReQTPKlFB7YQ3wkDULUzx+BjJIQChteuJkXgWdkjteKOPW05gsBDYfBUENkyylo PegNQARXWz1beEUOSEV0iDrWvkIlIS6z5zDW1AwjSkRFMXVMJc70QUh0YxsWv2QPTNfZ SM9D/Q4NQSzyr+vmjPlHx+giF7h7wlVJybx0MvVPS3D/wcI5mrqfsVZxhMt1BA2N3+BK k5zNw3UFU3UoY3uDT5xrFFcczvOi0l6EMhaVjb7YDMd+MZ6NOrwn8scn/zgrU6oGFKON rCsVoIKjJe4DvOrFXOAG+6tI5H5O0t62Y/NvIgPRi0jMHPfAtm+t1GvOrWIDq1uyjd1P iNfg== X-Gm-Message-State: ABuFfohs8pZ3fNdQ1AwpOe6esdI1dxJ7FvNKPoNmnI7aKGTiwth6K6oP jKNF4IBj4vbKM8dGpPjupVBSadh3n/YsMVPcLxZdWQ== X-Google-Smtp-Source: ACcGV62yU4NZrsU0oWe9PLHbkbJDTO6r7iokXiPQGJWVCEvJZg1dzR5xWYndlG5e27XA5yH6NFaZgrAwsdvRiDACu44= X-Received: by 2002:a6b:5d12:: with SMTP id r18-v6mr7047416iob.170.1537777598966; Mon, 24 Sep 2018 01:26:38 -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: Mon, 24 Sep 2018 10:26:28 +0200 Message-ID: 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: [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: Mon, 24 Sep 2018 08:26:40 -0000 Content-Type: text/plain; charset="UTF-8" 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 > >