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::636; helo=mail-pl1-x636.google.com; envelope-from=sumit.garg@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) (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 A5AB121164C6F for ; Tue, 9 Oct 2018 22:19:38 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id y15-v6so1916122plr.12 for ; Tue, 09 Oct 2018 22:19:38 -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=MujFKY+PigIETt2BmckI1Wyv6v4yNMuIsOrZEg9NX6s=; b=Kpwue88IIXDkfUi3GAdETzWLZfLZ/hNR0/q1BF5W/ayqH2Xs902emdUdXW7IspZtom 5PXLcayk7R9jGD2LCRmbo6D+dZfaJlPxhkZXrsWBhwKsK+I1RQ7F8HHtlcCraBDgwVWw nu2RtXkSGDDis9iM74YloEfv+fsBY2jdYFjs4= 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=MujFKY+PigIETt2BmckI1Wyv6v4yNMuIsOrZEg9NX6s=; b=VEb6tFhvNeu2+dAdUd6IBgGypLzSQhC3HEL9yK9Xg9b/eSHTlrcPxVuvOzb/vs9shi L5WCVW/aA6wgkquXIhkmPWSCxoLeiOX6EcYs1xuwFXB0QkE/oGCO4axI0BB9+Gs5+bC9 iuqduYyMIaxfrs/h15X5ZR3DqhdeaJWEQznMaN8JK2A2i3OkuSiGq+A2ZYg4l195SiH9 x6UAuuDj0qVHZMGCxEiyYNl8bGBjLIg1ZKkRtbneDbNrVcI1yUbgI/lzqGcmdyTIleG/ hh75yySf5Myc4wbIK2XTrGJeMIzCkgxMLL1ESdqGf6AYMLdQrl+YibvndkbXtEJZ8/lW BkFQ== X-Gm-Message-State: ABuFfoiZnOFrEzRr4+3xEhhtEs5VdICJS9yQeSNxhjNTaX5Tv236dqvv 9DTyQzUZYw7FsSuvR+o7CvLoaJz1yQk= X-Google-Smtp-Source: ACcGV62WK/ZmANxwj5N7yzk4OknBwY4lukexMdGqPRouw31fmwDUy9tVBXP/oC+jZBDPPMhHKq0BrQ== X-Received: by 2002:a17:902:4403:: with SMTP id k3-v6mr31432252pld.243.1539148778258; Tue, 09 Oct 2018 22:19:38 -0700 (PDT) Received: from localhost.localdomain ([117.241.99.153]) by smtp.gmail.com with ESMTPSA id v5-v6sm47283406pfd.64.2018.10.09.22.19.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Oct 2018 22:19:37 -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: Wed, 10 Oct 2018 10:48:52 +0530 Message-Id: <1539148733-5426-1-git-send-email-sumit.garg@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [PATCH v4 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: Wed, 10 Oct 2018 05:19:39 -0000 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 | 43 +++ ArmPkg/Library/OpteeLib/Optee.c | 397 ++++++++++++++++++++ 4 files changed, 530 insertions(+) create mode 100644 ArmPkg/Library/OpteeLib/OpteeSmc.h -- 2.7.4