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::62f; helo=mail-pl1-x62f.google.com; envelope-from=sumit.garg@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) (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 971AA21160A29 for ; Wed, 3 Oct 2018 00:45:04 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id f8-v6so3045337plb.2 for ; Wed, 03 Oct 2018 00:45:04 -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=KvtXccYn6cg2FuCshuOX7R/ViovTeJDj4lShuBHoQKo=; b=CuRUP2wrNbelc3IicZKLJ+rvNMYRia1fqxnnCq+dr6pn4djRJ7eCfgJijeM+K5LlSh tfDCNLzDT9KmIfLyNRsf/LLxaKxwtoyciFN0/91UFLs0P9XtflAeFcQRIOAHwgDxAijQ PwNo+z+CjZLCHteIQZvKjLmv40PqqM2K1/NGE= 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=KvtXccYn6cg2FuCshuOX7R/ViovTeJDj4lShuBHoQKo=; b=UJs4jaAfAmDmPjOFege9Bo/qmHDxHbUpqUdL1EmWaox41NLhsGliIyniF0oglMyKKy ydrp7X5j9Bp578pM2aA8Oi9jE0siJpJOL9h0pVKdCj03nUTAnRFq2VcjjE0zvLAx6fAs kd7wwZreHW6qyXzmIH+OADf7iYpf4ZwLcFcdRyyjdXAPeXD9AxfxACH0LqrOuoVoKgxE QKZL5VWZSMRl8lDudyGaThpuwizR+nZgNaIaxZkfE4kaxtOK+ZFSVdtv771sowuyJmr0 +S3pHrROlER5wwwoBt8SwXY7jYiDKBf4E34zgmOrNpcet04lR8DksLx9dGFcDX1iOq1E OZ1Q== X-Gm-Message-State: ABuFfog2V675OuMuVQuIBa2bGf2noqqtrjZy3h8W0gYSig6m1MZvOMoP CBhgZ+5nYi8b4751rDgbXn/59hTtiDs= X-Google-Smtp-Source: ACcGV61cXjhQXOa16cn5uA0RbRaVz1KaGQ211JPWW53XBY6oEzMo24t/xnY+VPPIfvMdGtU/mw/LHQ== X-Received: by 2002:a17:902:d68e:: with SMTP id v14-v6mr288854ply.140.1538552702906; Wed, 03 Oct 2018 00:45:02 -0700 (PDT) Received: from localhost.localdomain ([117.255.221.171]) by smtp.gmail.com with ESMTPSA id z3-v6sm2051494pfm.150.2018.10.03.00.44.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 Oct 2018 00:45:02 -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, 3 Oct 2018 13:13:56 +0530 Message-Id: <1538552637-6972-1-git-send-email-sumit.garg@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [PATCH v3 1/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, 03 Oct 2018 07:45:05 -0000 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/Include/Library/OpteeLib.h | 90 +++++++++ ArmPkg/Library/OpteeLib/Optee.c | 357 +++++++++++++++++++++++++++++++++++ ArmPkg/Library/OpteeLib/OpteeLib.inf | 2 + ArmPkg/Library/OpteeLib/OpteeSmc.h | 43 +++++ 4 files changed, 492 insertions(+) create mode 100644 ArmPkg/Library/OpteeLib/OpteeSmc.h -- 2.7.4