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::d43; helo=mail-io1-xd43.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) (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 B7A4A211546FB for ; Fri, 21 Sep 2018 16:15:14 -0700 (PDT) Received: by mail-io1-xd43.google.com with SMTP id h16-v6so3346501ioj.1 for ; Fri, 21 Sep 2018 16:15:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Du1lggzqSIMoG9VxH3g2LBGXqlHOAxbT9Et4ewM5P1Y=; b=Z3PPvNdnmbXZOhwDvgPX6Nu5NBerTxL7qeCVA1G3kXJ2xaNC+dZyNRaCBEuaZXFaG5 V0Fs3XGx+yNH0OHbcOpDv+FJ7G5yHYF842Opywx/Qdr2vbENrVJ9eN644WqY2zyG1gNa k1uuZsB4VkhqgioIjlVPjNzVyEExACjLPyOhk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Du1lggzqSIMoG9VxH3g2LBGXqlHOAxbT9Et4ewM5P1Y=; b=r1JtCxTB85TpNsZ0qbbSjawAdJ/cy1hMHwW33D6L26lAY55y5qksgo2tI7MyZ12A+L yIzMs2++mX0CoYDop2/fOplH2zu+N8vRCXgdLHRe11eXGtBaZ1uBS5wL77k95SiZyEsr rGj2q3MtlPLxuD2i5oyA298IfkDSjD2z0N6Ds03m2UGDaw0tD+hBBQciF06j/c23ABv5 KIqso/DiHZwannybBtzk1V0NhYipFEmQ3mphExB0voc4QAbPYDdc03dUL7hTrmY9A2A/ HMe+sCmG0dD++4sXDiivwwHl3vbY0wqZBkCpFX5MxK3EAyRPksiLvdpX2FAVJEg+ZXMn BvEQ== X-Gm-Message-State: ABuFfoiVnbTyovcVP51WhJTnTpFaMt8SgjmMjE+f1bE/JVvHl/cLX2eD gVDLh+QkOZb8CNnaj7hPvRdIuutG+wV9imvUr+XVsw== X-Google-Smtp-Source: ACcGV63zscDHIOJrQdZNXH586oUzgdOATC8jj0rVtG6mIritrBhVjXZxC2ez+T2Uew/e25kIiUFGm6OFPZ14v4z8hKc= X-Received: by 2002:a6b:5d12:: with SMTP id r18-v6mr3286225iob.170.1537571713593; Fri, 21 Sep 2018 16:15:13 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:2848:0:0:0:0:0 with HTTP; Fri, 21 Sep 2018 16:15:13 -0700 (PDT) In-Reply-To: <1535370620-10032-2-git-send-email-sumit.garg@linaro.org> References: <1535370620-10032-1-git-send-email-sumit.garg@linaro.org> <1535370620-10032-2-git-send-email-sumit.garg@linaro.org> From: Ard Biesheuvel Date: Fri, 21 Sep 2018 16:15:13 -0700 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 , Michael D Kinney , 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: Fri, 21 Sep 2018 23:15:15 -0000 Content-Type: text/plain; charset="UTF-8" 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. > --- > 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 >