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::542; helo=mail-pg1-x542.google.com; envelope-from=sumit.garg@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) (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 87DB0210FB9FA for ; Mon, 27 Aug 2018 04:51:10 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id r1-v6so7321932pgp.11 for ; Mon, 27 Aug 2018 04:51:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=VfmNJ5cKj+eRblHamSpHnEa1qLSW0dGOIsRM+RLXAdE=; b=MZRwyoJGvmnJN+McqLLMC6oQS9yqrqFgGN+cp2DKHeLuxArx5FNwunPreeotM7qpfc azMj8BPseWd7uCjQ3xVCMn1kTSWlze/fmhDbjEGoWBEA8EspE/IO18QiWfn1M64VqXTE pYaDj0LaJSPCOIku4LeAREsg01X5kPfNzFHLY= 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:in-reply-to :references; bh=VfmNJ5cKj+eRblHamSpHnEa1qLSW0dGOIsRM+RLXAdE=; b=d98J4PdE1h2jjh99CtTv+FAwCHOel1yOImdLtlD9VINoVya0pVhglaHIcV0ZePoJuU eKg1DS+/vDMg+V9xIac1A4jzSKHmoA3R5Z7pUKGog/EB26DQtBw8IxYRDZI7QfhOPdSa 9gPE6O9u8ucOBiHBaHVzevlR22PJ/1R5T4Mqszg+T1HBbnqC5zNI5ybpBjJk45VVZoE9 a3VZ1rbqxnkE9i2SCJ4O05fK2b0BNz8BLO3IF8UxwyptcgrRYUDEJJ+8hPEbC6lmWG0N Q329C5dV6Slb/dowo9Q38/IGgEQjX1datrchb4tpfEwP1XEifDvD8NQaanZtfHIAUV+V DOgQ== X-Gm-Message-State: APzg51ClaOD/By6wptH6DLDHS6fBFn2HX7Kkht28Gp5Hd4podfIZJQgl IscnXUuU+9cohupiHaF+mVjeJtWbIw8= X-Google-Smtp-Source: ANB0VdY9VpWgUFRRvCGuEf++G4TKs4ulK2e5VJoW1/S7pTJlNcIZ7qODt6yDzIEKeTqAsuki8GZSww== X-Received: by 2002:a63:e647:: with SMTP id p7-v6mr11601163pgj.218.1535370669950; Mon, 27 Aug 2018 04:51:09 -0700 (PDT) Received: from localhost.localdomain ([117.212.89.101]) by smtp.gmail.com with ESMTPSA id p11-v6sm26927249pfj.72.2018.08.27.04.51.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Aug 2018 04:51:09 -0700 (PDT) From: Sumit Garg To: edk2-devel@lists.01.org Cc: tee-dev@lists.linaro.org, ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, daniel.thompson@linaro.org, Matteo.Carlini@arm.com, Achin.Gupta@arm.com, udit.kumar@nxp.com, Sumit Garg , Michael D Kinney , Liming Gao Date: Mon, 27 Aug 2018 17:20:19 +0530 Message-Id: <1535370620-10032-2-git-send-email-sumit.garg@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535370620-10032-1-git-send-email-sumit.garg@linaro.org> References: <1535370620-10032-1-git-send-email-sumit.garg@linaro.org> Subject: [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, 27 Aug 2018 11:51:10 -0000 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 --- 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