From: Sumit Garg <sumit.garg@linaro.org>
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 <sumit.garg@linaro.org>,
Michael D Kinney <michael.d.kinney@intel.com>,
Liming Gao <liming.gao@intel.com>
Subject: [PATCH v2 1/2] MdePkg/IndustryStandard: Add Global Plaform header file
Date: Mon, 27 Aug 2018 17:20:19 +0530 [thread overview]
Message-ID: <1535370620-10032-2-git-send-email-sumit.garg@linaro.org> (raw)
In-Reply-To: <1535370620-10032-1-git-send-email-sumit.garg@linaro.org>
Add Global Plaform header file specific to TEE Client API Specification v1
<http://www.globalplatform.org/specificationsdevice.asp>.
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
---
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: <http://www.globalplatform.org/specificationsdevice.asp>
+
+ Copyright (c) 2018, Linaro Ltd. All rights reserved.<BR>
+
+ 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
next prev parent reply other threads:[~2018-08-27 11:51 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-27 11:50 [PATCH v2 0/2] Add ArmPkg/Optee library APIs Sumit Garg
2018-08-27 11:50 ` Sumit Garg [this message]
2018-09-21 23:15 ` [PATCH v2 1/2] MdePkg/IndustryStandard: Add Global Plaform header file Ard Biesheuvel
2018-09-24 8:26 ` Ard Biesheuvel
2018-09-24 16:49 ` Kinney, Michael D
2018-09-25 8:27 ` Sumit Garg
2018-09-25 8:31 ` Ard Biesheuvel
2018-09-26 18:02 ` Kinney, Michael D
2018-09-27 12:10 ` Sumit Garg
[not found] ` <20180927125156.3ylxviy5lnu5pm4w@debby>
2018-09-28 6:29 ` Sumit Garg
2018-09-28 11:50 ` Leif Lindholm
2018-08-27 11:50 ` [PATCH v2 2/2] ArmPkg/OpteeLib: Add APIs to communicate with OP-TEE Sumit Garg
2018-09-12 7:28 ` [PATCH v2 0/2] Add ArmPkg/Optee library APIs Sumit Garg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1535370620-10032-2-git-send-email-sumit.garg@linaro.org \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox