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::644; helo=mail-pl1-x644.google.com; envelope-from=sumit.garg@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) (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 34D012117CE8C for ; Sun, 21 Oct 2018 23:30:08 -0700 (PDT) Received: by mail-pl1-x644.google.com with SMTP id bb7-v6so1094334plb.13 for ; Sun, 21 Oct 2018 23:30:08 -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; bh=avWwK56TFSkz1jZg5eSppih0rIeO2iIKpvVArQutG2M=; b=GyUaWllr+lh/Qe1Ql5+DlrRVfXSYZE03epiB+3QH9/1502mv56LLZqqra71WZfePVT ykwtGJBK5dQDBkZKJaQWOBSy7YLIf6ADZ/8TRT4ZMn1GkX5AKdRksxiWkeqXyYNB6KT4 qtQey1Fc0XzRKSDh79+u37+1spi1mgnR7yIE0= 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; bh=avWwK56TFSkz1jZg5eSppih0rIeO2iIKpvVArQutG2M=; b=G5Uk6ceJ2axM9BqziYmJCOzgkT4W/40fUvFl269tphRqdJUg3cJp40SNsbwIiXIkTg 6tAx5ncdYQ8A23PU6FkPZoPf4b0UNeLiUIW6Xxsvt66v8nnIK4lkTDoMINfvZRZx/viM Uf0HfYhYxHEpRKykfv/qmtDyzW2ieLKcQR7riqxA/oS6eR3irwsV/htIK/ScdrBlxEZT v43lPxaLrjhPpipNfEbKgHblgzBqGvnMxU3nzMipenG4HpJsBhshyyctvb9GVBsMvqc8 mHYLkEvwwEqxDMMHryFVsg8Xve9tVect9fzO65EStBRvonEPf9gIuu7b9ZqQbgom24kw uPIw== X-Gm-Message-State: ABuFfoi7qtS7tNOCwx5sLu/VTGfNSyABahJg7qUN1UkOogfPgv12p844 jDmMbRGMs2OYhz5YtuSQCg1ei3ANz9M= X-Google-Smtp-Source: ACcGV63Lidfv9nJyo1cAiZoFxiybu4XYzvzz5fFAFanaQHFY6JUrg/GW7pdtzTqs4/K7AtHyn4Sumw== X-Received: by 2002:a17:902:ea:: with SMTP id a97-v6mr43299145pla.164.1540189807623; Sun, 21 Oct 2018 23:30:07 -0700 (PDT) Received: from localhost.localdomain ([117.241.99.11]) by smtp.gmail.com with ESMTPSA id x73-v6sm41681392pfk.139.2018.10.21.23.30.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 21 Oct 2018 23:30:07 -0700 (PDT) From: Sumit Garg To: edk2-devel@lists.01.org Cc: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, michael.d.kinney@intel.com, tee-dev@lists.linaro.org, daniel.thompson@linaro.org, joakim.bech@linaro.org, Matteo.Carlini@arm.com, Achin.Gupta@arm.com, udit.kumar@nxp.com, Sumit Garg Date: Mon, 22 Oct 2018 11:59:35 +0530 Message-Id: <1540189776-22806-1-git-send-email-sumit.garg@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [PATCH v5 0/1] Add ArmPkg/Optee library APIs 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, 22 Oct 2018 06:30:09 -0000 Changes in v5: Define RFC4122_UUID struct using network byte order instead of 16 byte octects for passing Trusted Application UUID. Changes in v4: Replaced abbreviations with full name which are not defined in [1]. Also used EFI_GUID for Trusted Application UUIDs. [1] https://edk2-docs.gitbooks.io/edk-ii-c-coding-standards-specification/content/v/release/2.20/4_naming_conventions/#table-2-efi-supported-abbreviations Changes in v3: Removed GlobalPlatform TEE return codes (IndustryStandard/GlobalPlatform.h) that were rejected by EDK2 maintainers. Rather used custom ones for this OP-TEE driver. Changes in v2: 1. Separate patch for MdePkg/Include/IndustryStandard/GlobalPlatform.h. 2. Correct comments style for struct members. 3. Update commit message. Sumit Garg (1): ArmPkg/OpteeLib: Add APIs to communicate with OP-TEE ArmPkg/Library/OpteeLib/OpteeLib.inf | 2 + ArmPkg/Include/Library/OpteeLib.h | 88 +++++ ArmPkg/Library/OpteeLib/OpteeSmc.h | 53 +++ ArmPkg/Library/OpteeLib/Optee.c | 392 ++++++++++++++++++++ 4 files changed, 535 insertions(+) create mode 100644 ArmPkg/Library/OpteeLib/OpteeSmc.h -- 2.7.4