From patchwork Tue Dec 5 10:13:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 120633 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5551812qgn; Tue, 5 Dec 2017 02:13:38 -0800 (PST) X-Google-Smtp-Source: AGs4zMZm5U2tHO+mUs75bDNaX3Q4PqVrk1ob7IusjhHIqGl6+G+JqZw4mv6aa2u2IZl9lb839dTQ X-Received: by 10.84.194.163 with SMTP id h32mr17275425pld.335.1512468818665; Tue, 05 Dec 2017 02:13:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512468818; cv=none; d=google.com; s=arc-20160816; b=dC973pq0N4RrgvA8ywy2wEMZPK0ijNitRwGw/WAaJqTHCRQ7TevW0iSZJEVJgOctwV KqFdpfZ2zLi1Xb26sIXU1dDq5dQHsgbt+wFcVUDE0W5hkL0DyNLgR8HM+3JjWUAH1zbe q9ye8NcEsOweRgkmVQEMD5q598tHqqe2f5Dr4L/gOUv0+R9C2M5C9cq7yp98kplhBcxZ M9egog9XBW948eK2U/yA7pKNdW6DXISFpLQrUrwzgPM2VooT3kfITpZY2wIXKMw0zFP0 LvjhnrfUj98o/5pd3JJ2/2EE6n+lkU73XO6/UKyh2WfpX3zSowhJEsoVwtngpAnQPtr5 oC/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=rciYaf/CJ/9hs0fCuG/mJQh9a9lhueTU095ElI9gGBg=; b=gRVtrlQPmuktvP+pTSWLaGuwQ0P04YF1yQGgRZVUXRLxMc+xCuYSPyHFhu7et9OrNm X5If9s5087GP9f21hxR0ASCR2e1sJoDS/omTYpyCLP7NybAcJg1nihDSVsGqewhhjjQ+ xcJ8ALabxKLbh6HBmw/aJihhkdV6utrBDcvS4ueOilksb9ICp4C5Ox+tb9a4twv4SlR6 DDJZSK8IvwY+jmNiOMZiK1AzD23ILUAttCNM+Jd3uiqnZ7NmCrq44QVb6QRlZNMKwksu TeWDwJ0gf002JsJo2IRfUBTqejjDdTYyachi/2+udXBd+6dBdpKtCDSQr/J8GxXK3UgU MmQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EjCoi9AI; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id q23si10738985pgn.679.2017.12.05.02.13.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Dec 2017 02:13:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EjCoi9AI; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 638C520356271; Tue, 5 Dec 2017 02:09:07 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::244; helo=mail-wr0-x244.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x244.google.com (mail-wr0-x244.google.com [IPv6:2a00:1450:400c:c0c::244]) (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 DCE9720356268 for ; Tue, 5 Dec 2017 02:09:05 -0800 (PST) Received: by mail-wr0-x244.google.com with SMTP id s66so20390177wrc.9 for ; Tue, 05 Dec 2017 02:13:36 -0800 (PST) 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=wUDe3tv3N4HlCDt432tNpyiGgX3yqsvkHB2MtwP7t/s=; b=EjCoi9AIoxOAGtXVKDQ/b4jOw9OTV9NZi43gFBrptZn82EQ+k7Ke0+7wjH1F5xcWAW KNI0/VBZJMZGeu3gmPVXWHUu4jtXvmi4MiBc5C0/y09oAG7grQRGjozJlOFePRQv+Mjb QLUucoWw/ol/jPonRJt8u9LvpbPq8TbKmPMgc= 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=wUDe3tv3N4HlCDt432tNpyiGgX3yqsvkHB2MtwP7t/s=; b=GGGxmIc8J9LKV/3mkDx1SByZKsmxDQnM3nhHG4CYA9ZIOtaR3FBRNyk02TaYuOJYet vlxF2UEX6Mmv+oQappalcw/M5u0AWH1bnrAOiMEg4Gokp1TVdNa8ZYvkY4SLwrNEm4bC rBs0WpOXxPgibxJtttfBhjsBehd3s7gNrt+U4SAvNgVBqoU+if9OO8owSIqCzt56RJ4B p1j1jsEft54V81vxjAFSbcfMUY8+OqZzpLeC5aCktl8GcQEFB6FgGDNQ6eqRhjDE3C5C O2x2ctu0fa/GvLSvEuK44Qv9GLeR54UwoMWJSmfhSYHwtdyoLqqSTr1u6uW3E8gtqE8t 4+pw== X-Gm-Message-State: AJaThX6nkB1zvktnTi6YzOmPI5tGYPDsBzhhdtOtwHKiVFp7ZIt6gkjP DlcP7lrpmSzV8a4njtaycDWakDzD3I4= X-Received: by 10.223.164.84 with SMTP id e20mr15570077wra.52.1512468815055; Tue, 05 Dec 2017 02:13:35 -0800 (PST) Received: from localhost.localdomain ([105.150.171.234]) by smtp.gmail.com with ESMTPSA id d1sm14398065wra.44.2017.12.05.02.13.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Dec 2017 02:13:34 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Date: Tue, 5 Dec 2017 10:13:22 +0000 Message-Id: <20171205101326.23732-2-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171205101326.23732-1-ard.biesheuvel@linaro.org> References: <20171205101326.23732-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH 1/5] ArmPlatformPkg: remove unused ArmPlatformLibNullSec X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" ArmPlatformLibNullSec is built from a secondary .inf that omits ArmPlatformLibNullMem.c from the [Sources] section so the library can be used in a SEC context. This is slightly dodgy, given that the resulting library is incomplete. Let's just remove this version, since it isn't used anywhere anyway. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNullSec.inf | 47 -------------------- 1 file changed, 47 deletions(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNullSec.inf b/ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNullSec.inf deleted file mode 100644 index 3cd5fd889ea2..000000000000 --- a/ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNullSec.inf +++ /dev/null @@ -1,47 +0,0 @@ -#/* @file -# Copyright (c) 2011-2012, ARM Limited. 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. -# -#*/ - -[Defines] - INF_VERSION = 0x00010005 - BASE_NAME = ArmPlatformLibNull - FILE_GUID = cb494bad-23ff-427e-8608-d7e138d3363b - MODULE_TYPE = BASE - VERSION_STRING = 1.0 - LIBRARY_CLASS = ArmPlatformLib - -[Packages] - MdePkg/MdePkg.dec - MdeModulePkg/MdeModulePkg.dec - ArmPkg/ArmPkg.dec - ArmPlatformPkg/ArmPlatformPkg.dec - -[LibraryClasses] - ArmLib - DebugLib - -[Sources.common] - ArmPlatformLibNull.c - -[Sources.Arm] - Arm/ArmPlatformHelper.S | GCC - Arm/ArmPlatformHelper.asm | RVCT - -[Sources.AArch64] - AArch64/ArmPlatformHelper.S - -[FixedPcd] - gArmTokenSpaceGuid.PcdSystemMemoryBase - gArmTokenSpaceGuid.PcdSystemMemorySize - - gArmTokenSpaceGuid.PcdArmPrimaryCoreMask - gArmTokenSpaceGuid.PcdArmPrimaryCore From patchwork Tue Dec 5 10:13:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 120634 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5551845qgn; Tue, 5 Dec 2017 02:13:40 -0800 (PST) X-Google-Smtp-Source: AGs4zMY/DzZP81j/Gk6hQ4O86TsXZBaKjwJb2cvyz5F+hXdVjreTT5RjCMvnUz7HUvEebtUGnmDn X-Received: by 10.98.242.67 with SMTP id y3mr22591494pfl.82.1512468820901; Tue, 05 Dec 2017 02:13:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512468820; cv=none; d=google.com; s=arc-20160816; b=geBYtZYksXFbQwIFGSg0pileBbhQ7yLU2ZdO0IUl4fw8CboOUPsHZKKcJbVhCXvFZP Yqa8352pNS7Ot8q65qfh/crigD0Rd/ZmsW8CoEcudD+Ceb39RqP1CgGDN0iFAHUjBonc c5lu5UFptlXDqOcYc16qOaqfxzwNi6HgGlaVlHN18nGr9owT44YBZV13K1fNEG3fKDeY O1bqKv3RS02zSiK1zJi7I6VpznwuPPgWq4d0dmvni80ZMRuKdUAENR/K700wHpkq7fA7 bCAwNkHZAmvbvY+Jtjl1Jr3cbqeu8yzej6KXsmkgwkd+m5KF2uI3tHJM7rLVpoyqcWwt +URQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=hcKq/Ze1189xX170CQtvBDsT7Ibmeelorg+sNW0DbDY=; b=d2eqLrkt5EGhxLo4Zn4K58MvNV8chvYRxp93PYnf43TSB68b0t+4lavUp+JxxT9Gn1 1PdHt/3rBFcg/E1C3Hn7yvaUP44FHj3tzA8rO3Xe5X/R8aeCX0pplz4NSrsXMyo/TXex rVmEJPjze5wVy+kU50Ov+webiC56F/8pDemWrcJW88ANcz3tqU/FKHHipNo/oL0J28se KW0EaIvCKHovNxOKtNP8WsXGdHUcEC7YhLWZfIsG50eDdZjNVfxZ3QOsfKoonzx7W4Ti P2HPxJUuRo3YN9rfYrk7QZDOyBwgUEHzERL4cIyUQCG9OarmXU26M6MoDUI8QCcPFJvZ 93VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Crh2FRTo; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id l4si10777078pgp.735.2017.12.05.02.13.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Dec 2017 02:13:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Crh2FRTo; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 9FDFD20356274; Tue, 5 Dec 2017 02:09:09 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::243; helo=mail-wm0-x243.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (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 1249C20356240 for ; Tue, 5 Dec 2017 02:09:07 -0800 (PST) Received: by mail-wm0-x243.google.com with SMTP id 64so214369wme.3 for ; Tue, 05 Dec 2017 02:13:38 -0800 (PST) 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=OvBpfqt+pJq0AysC/sX5rDUGmy+FR/I4H2u+rsF7IBM=; b=Crh2FRToMAm0fC6pzLPm8b0gysUo/1E/Vi9kYq0NAuyljJTfzL5oW2sLbgjDyQNnHV MbsMy483hL501EexvU+g/0XeVsiDFp1L3cB6HGz3V89O7mrEqE4jmUOfLgPq9CwqgSnc au4eMwXanJydZ4G24kW+qcm+wMqArLB+hZO28= 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=OvBpfqt+pJq0AysC/sX5rDUGmy+FR/I4H2u+rsF7IBM=; b=l+kcePJ14T9sMQrMOisqw8K24Lpc9r5kQqnGtETtqIr8aGHM6liqSC2PoOUvG0YjcK lef7f+F1+eNc4dc02H2/SoP8kljj2fbhXzeHkCBEhhr0DYKCJfrL75HAi1mNB7T40LWG 4BiSIbECnZke70nk4R3fCif99AXP2EwJUPCXdiY1JWz3jmCmv9J79C/yfD1JtWLnNOgb lh+WtOo2ZYhJao3wbt0Xa2bmP9phyzWdrPIRPy0hhE5KR+5xreYu5JOc1Oh9RwhE702E SbomKIW4BjJUIj1DB94vX9/8lEZNBXmUjLxKRTxM1wRJRs/zFZnzJpBlpnIoJiqFAEJm oEUA== X-Gm-Message-State: AKGB3mJOFxs6D5fRKNqnxnAOcwniriCMa/meTciJEDBV/dbKAVfY+NCn w4W/HDbM1cqRZkzpqedKC8ql3FIjzPs= X-Received: by 10.28.5.201 with SMTP id 192mr9169372wmf.142.1512468816730; Tue, 05 Dec 2017 02:13:36 -0800 (PST) Received: from localhost.localdomain ([105.150.171.234]) by smtp.gmail.com with ESMTPSA id d1sm14398065wra.44.2017.12.05.02.13.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Dec 2017 02:13:36 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Date: Tue, 5 Dec 2017 10:13:23 +0000 Message-Id: <20171205101326.23732-3-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171205101326.23732-1-ard.biesheuvel@linaro.org> References: <20171205101326.23732-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH 2/5] ArmPlatformPkg/PrePeiCoreMPCore: use a unique GUID X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" PrePeiCoreMPCore reuses the GUID of its unicore sibling, which is usually fine, given that platforms never include both. However, it prevents us from creating a package .DSC that does include both, so update the GUID to a fresh one. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf b/ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf index 8e0456f8dc2a..e3a31fa7c6f6 100644 --- a/ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf +++ b/ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf @@ -16,7 +16,7 @@ [Defines] INF_VERSION = 0x00010005 BASE_NAME = ArmPlatformPrePeiCore - FILE_GUID = 469fc080-aec1-11df-927c-0002a5d5c51b + FILE_GUID = b78d02bb-d0b5-4389-bc7f-b39ee846c784 MODULE_TYPE = SEC VERSION_STRING = 1.0 From patchwork Tue Dec 5 10:13:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 120635 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5551874qgn; Tue, 5 Dec 2017 02:13:43 -0800 (PST) X-Google-Smtp-Source: AGs4zMa3nVbFQkyvI7QvTAh3W8mJjZeARvYbbj+yTYSFp+LXoGdCA4nSJd6FC8Nbcp/DPgg/LEEf X-Received: by 10.84.240.74 with SMTP id h10mr17593093plt.109.1512468823155; Tue, 05 Dec 2017 02:13:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512468823; cv=none; d=google.com; s=arc-20160816; b=DpjauTGIQx86pIF4NdnrnjJWaZOplAsLNJzgQnQywxUxNr/a7I5kbH/jThOZXCa2YP UyEPtnLBHUo1u8UQEXTyi+URvOvpKK4teZAnOORRldu14Xdlo/GU8sv1Vok4yqRp3smg DINHm5RR8+o4oXHwT2Rf09ucI1r8D3+Pcl+1NnzXSN2jlC/yenskyUydf84vWDzeVqG1 A/a/oBlC1b5UJN1lfxO/7dW3gNyuohjbmPwnChJm7ufqxu96bcUWw4crN2h1yPqIYkBG Ye6NKWSj4iqwA1gxo6CbaYOg9O0CpHosAVy5bc047NXdRV393FCdL8PggCP7+nU/JJTo u7UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=UvoI47ZVzVehIRuldrUtPtQIP/htkXc4T7QPvuzLM0E=; b=uV5D+Eln3uYh373mq02F6tE+VQM2DdulkEEJu6QdsbR1vS+2YMbBj/q3r+JQUSg6Sp QFpwppUKPzynWP8botK3c+/4f/EWx2rOEs1LBE7GSxi3vuKQAOaEStcRbq5lqo1qEO6v bHHl13y65J7+ha5GDl75H1iEv4h+Cdo6X0ix/n39bIkNy9w5kVa2NbXTFINwlvcmAySN DQQBTO43ETklHtG3RiCflo3Yd1qEf434sndDh5pHS6iTo//rAg0+R8wA59TZZQVXMO52 HiNA7CroE7vG7dl4KwEQquEG89jZ98QnsvMmFBDlrdFw1lUjzt0d+UFCZAjPQ+PviWC2 XpiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=UM04DYSu; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id v21si10769439pgn.749.2017.12.05.02.13.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Dec 2017 02:13:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=UM04DYSu; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id E042220356277; Tue, 5 Dec 2017 02:09:09 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::242; helo=mail-wm0-x242.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (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 27B8620356269 for ; Tue, 5 Dec 2017 02:09:09 -0800 (PST) Received: by mail-wm0-x242.google.com with SMTP id t8so215176wmc.3 for ; Tue, 05 Dec 2017 02:13:39 -0800 (PST) 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=FKakfc3LDTYag3dwUm8ZgD/nP3xP3c+ZKYaYk7vO/oY=; b=UM04DYSu1e2UPlM2suqLvqxUHlXvDYcdjqw0N9Z6oRTaXrzVxxfbvEhB609XvQB7gx H1loKwymcYpw5NT6TLIJhIKoH6DSdudjrgVBpJfx3OEuEfrXUe4by7xkJtB8e6m/I3cL JNWUD1E94jSwKUrP5n/qejmIIQX7g52w/AqrA= 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=FKakfc3LDTYag3dwUm8ZgD/nP3xP3c+ZKYaYk7vO/oY=; b=sEjkW+LGVVnyRlV7XXbTWgrrVE+jjaJ0QL+pQ07/6MlH6CIVJkdecMrcVZx6n50RIt U3Xq60846iEWquBLoSAl4cGriKVnYhEj+FaPqVK50968GhwtxexVf/e4JaFSLZqrOF5B 0nDee7Gv7Smr4VZUjat3V4qpIUYUeylx5i39ZrNycXoY3Wqi2s375LodICbp2Lx0DYov vvsLbeimK4dgpbhzt5wpKGBPTHSyagAhhXZZ0zj1fWv/6h/ZDsqyMgxAj5Hr2eUs3g6U JvZoW6sXj0oHlBHCAuCnEU4yYw0+m5cTAjHs3xQj3kifdPWRd54qmCW90+OT5LRMXe+3 pJ0Q== X-Gm-Message-State: AKGB3mIk5vy7kMjRQHa1AyhU3vQFqUNh3Ob19Bz8FPV2DflAS/H96AWy xaG6o1+PFC6+GcXytHFkOuCWNBDryw8= X-Received: by 10.28.211.67 with SMTP id k64mr2171185wmg.55.1512468818265; Tue, 05 Dec 2017 02:13:38 -0800 (PST) Received: from localhost.localdomain ([105.150.171.234]) by smtp.gmail.com with ESMTPSA id d1sm14398065wra.44.2017.12.05.02.13.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Dec 2017 02:13:37 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Date: Tue, 5 Dec 2017 10:13:24 +0000 Message-Id: <20171205101326.23732-4-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171205101326.23732-1-ard.biesheuvel@linaro.org> References: <20171205101326.23732-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH 3/5] ArmPlatformPkg: add Null implementation of LcdPlatformlLib X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" In order to be able to build ArmPlatformPkg components outside of the context of a particular platform, add Null implementation of LcdPlatformlLib. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.c | 92 ++++++++++++++++++++ ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.inf | 28 ++++++ 2 files changed, 120 insertions(+) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.c b/ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.c new file mode 100644 index 000000000000..071eb5ffd4be --- /dev/null +++ b/ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.c @@ -0,0 +1,92 @@ +/** @file + + Copyright (c) 2017, 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. + +**/ + +#include +#include +#include +#include + +EFI_STATUS +LcdPlatformInitializeDisplay ( + IN EFI_HANDLE Handle + ) +{ + ASSERT (FALSE); + return EFI_UNSUPPORTED; +} + +EFI_STATUS +LcdPlatformGetVram ( + OUT EFI_PHYSICAL_ADDRESS* VramBaseAddress, + OUT UINTN* VramSize + ) +{ + ASSERT (FALSE); + return EFI_UNSUPPORTED; +} + +UINT32 +LcdPlatformGetMaxMode ( + VOID + ) +{ + ASSERT (FALSE); + return 0; +} + +EFI_STATUS +LcdPlatformSetMode ( + IN UINT32 ModeNumber + ) +{ + ASSERT (FALSE); + return EFI_UNSUPPORTED; +} + +EFI_STATUS +LcdPlatformQueryMode ( + IN UINT32 ModeNumber, + OUT EFI_GRAPHICS_OUTPUT_MODE_INFORMATION *Info + ) +{ + ASSERT (FALSE); + return EFI_UNSUPPORTED; +} + +EFI_STATUS +LcdPlatformGetTimings ( + IN UINT32 ModeNumber, + OUT UINT32* HRes, + OUT UINT32* HSync, + OUT UINT32* HBackPorch, + OUT UINT32* HFrontPorch, + OUT UINT32* VRes, + OUT UINT32* VSync, + OUT UINT32* VBackPorch, + OUT UINT32* VFrontPorch + ) +{ + ASSERT (FALSE); + return EFI_UNSUPPORTED; +} + +EFI_STATUS +LcdPlatformGetBpp ( + IN UINT32 ModeNumber, + OUT LCD_BPP* Bpp + ) +{ + ASSERT (FALSE); + return EFI_UNSUPPORTED; +} diff --git a/ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.inf b/ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.inf new file mode 100644 index 000000000000..41c1d9638812 --- /dev/null +++ b/ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.inf @@ -0,0 +1,28 @@ +#/** @file +# +# Copyright (c) 2017, 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. +# +#**/ + +[Defines] + INF_VERSION = 0x0001001A + BASE_NAME = LcdPlatformNullLib + FILE_GUID = b78d02bb-d0b5-4389-bc7f-b39ee846c784 + MODULE_TYPE = BASE + VERSION_STRING = 1.0 + LIBRARY_CLASS = LcdPlatformNullLib + +[Sources] + LcdPlatformNullLib.c + +[Packages] + ArmPlatformPkg/ArmPlatformPkg.dec + MdePkg/MdePkg.dec From patchwork Tue Dec 5 10:13:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 120636 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5551909qgn; Tue, 5 Dec 2017 02:13:45 -0800 (PST) X-Google-Smtp-Source: AGs4zMYaA8ba9YcgNUuRnVTVvdtRrd4RcnMkf77ZsZNhQtUEuWzHxsjZInlq0n4iirQOMTPB4FIC X-Received: by 10.99.112.1 with SMTP id l1mr16317712pgc.186.1512468825756; Tue, 05 Dec 2017 02:13:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512468825; cv=none; d=google.com; s=arc-20160816; b=wwV4cSUDuJNTbOof47D4C0mC3fWxcgv+GgdDSpLBhs2Lp/+OMcelgtzWQT3TwWIwLv hk44WqMW/lr+n/TBQDTzZ4k+vcSh4IX7xYJwaB4TLej2lt1BZpuY5BBW4HIUVHsj3MiX v5dV+kpMjXB9lRVrar/YUT1zs9FrEMpKqb0ffMx/7dZbWhi5lttb4n/Aq7LnATxiD3+d ml45eiFrWQDd1ZrNE6iBxtIKADBiq0AQH57zkIzU6gDLtKqXNpdjJ5YngpVVqSEpPcZG 6FF6tC1hTPrIE8vMt0dipeQ20Q965nq3r02sKeAMnn2cldROEwMwOC58Xp23EcE6l5si 2Rhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=yVmoCg3A6GxM40kLZBqSpR/NHHkM93rd1QoeSFFDdjg=; b=ZUqd1swLxGRAxka4s1Je4wSxkvZYbNfVa7JIf2yoiqQk+/ru9POT3falef/HKeCJ+v AgEEH4gRepSJbxh7GSlfDIBMXjE6TBDkoRTTIxqqGknAv4jXYU12r74JkXPjFr8koifj furoBF5afXvqUU+YEh63Aw2gWO9Y9oaru55CUfK+kKOi9nmjyiYUX/G2RABojZAA2wta iqvDvaukhMXFVHhpKCs6LhRstFjyV9T/xxbDU7BsDPqLm0a9r4Pyw3IsWI3WacSYfShm wbYF3UC8A+Vhpf7AnDdl9APTh/EZgXux/C9VJGUUiwSENqoB2somuj6/mufZXwbLUcdU 7UWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=g7XUrLav; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id q1si7387752plb.79.2017.12.05.02.13.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Dec 2017 02:13:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=g7XUrLav; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 27D992035627A; Tue, 5 Dec 2017 02:09:12 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::242; helo=mail-wr0-x242.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x242.google.com (mail-wr0-x242.google.com [IPv6:2a00:1450:400c:c0c::242]) (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 8EF6620356270 for ; Tue, 5 Dec 2017 02:09:10 -0800 (PST) Received: by mail-wr0-x242.google.com with SMTP id v105so20362726wrc.3 for ; Tue, 05 Dec 2017 02:13:41 -0800 (PST) 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=78jcDWlLa6KG50/auGH8szikW0KXHGVLzmMvX+/ybEg=; b=g7XUrLavehpuKGfl8Eue0JyChAdCuZR4wiS5k5Pxk005Cvn3NEuUtXJDs1VeGg1ZEM PDSlyiXajZsQvUnejn1yGTh7xSz6wFPA+4oJ4HfK6ZrF3AadpuZ9qo+KFGbLER62ycHj bPqqZBOEXke3LH0x5TzM+UFMc9qxzvPmENMEs= 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=78jcDWlLa6KG50/auGH8szikW0KXHGVLzmMvX+/ybEg=; b=gQldktEyZBlG7pboxMS9D+Npoyjzjma82krcf8iI6+pjSHm0ihFeKFt+ThfDZfoIMn cOai9vPF/MQGs5wCfo68h7bEB4K/TYsPSl4EjCbVHNSmIuk0bqKKG3V3SJOqUlxZ5EHD YkQqUkiCWeRztHam1oc7uJQP/T2fW8xfXBZYBScxQkVioJlhAPSLcYtlJU+TKfNh3BpS w1SxLOip/zoVO7uO9iv9eaU2pX23p5OQP2A0o42Uu0aq+ITM4cjIc6LXY6OYcXbg4L9k JfvYRpo76ZD8qYr9AwcpRirwRQcAbC/mHSwOzDucRZwiTnhIBLgmmxnaStNrdzUQgXwg SIpg== X-Gm-Message-State: AJaThX6qe0zMtxms8LjZRGRA2odyNeQVtE/j4g9ntWd7adumntHL8Mxo KXEviqusorEhdZkYTLwlfx13VYIdu1Y= X-Received: by 10.223.195.103 with SMTP id e36mr16114844wrg.10.1512468819699; Tue, 05 Dec 2017 02:13:39 -0800 (PST) Received: from localhost.localdomain ([105.150.171.234]) by smtp.gmail.com with ESMTPSA id d1sm14398065wra.44.2017.12.05.02.13.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Dec 2017 02:13:39 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Date: Tue, 5 Dec 2017 10:13:25 +0000 Message-Id: <20171205101326.23732-5-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171205101326.23732-1-ard.biesheuvel@linaro.org> References: <20171205101326.23732-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH 4/5] ArmPlatformPkg: add Null implementation of NorFlashPlatformLib X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" In order to be able to build ArmPlatformPkg components outside of the context of a particular platform, add Null implementation of NorFlashPlatformLib. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.c | 34 ++++++++++++++++++++ ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.inf | 30 +++++++++++++++++ 2 files changed, 64 insertions(+) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.c b/ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.c new file mode 100644 index 000000000000..264d18719763 --- /dev/null +++ b/ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.c @@ -0,0 +1,34 @@ +/** @file + + Copyright (c) 2014, 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. + + **/ + +#include + +EFI_STATUS +NorFlashPlatformInitialization ( + VOID + ) +{ + return EFI_SUCCESS; +} + +EFI_STATUS +NorFlashPlatformGetDevices ( + OUT NOR_FLASH_DESCRIPTION **NorFlashDescriptions, + OUT UINT32 *Count + ) +{ + *NorFlashDescriptions = NULL; + *Count = 0; + return EFI_SUCCESS; +} diff --git a/ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.inf b/ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.inf new file mode 100644 index 000000000000..777a629678e1 --- /dev/null +++ b/ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.inf @@ -0,0 +1,30 @@ +#/** @file +# +# Component description file for NorFlashPlatformNullLib module +# +# Copyright (c) 2017, 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. +# +#**/ + +[Defines] + INF_VERSION = 0x00010005 + BASE_NAME = NorFlashPlatformNullLib + FILE_GUID = 29b733ad-d066-4df6-8a89-b9df1beb818a + MODULE_TYPE = DXE_DRIVER + VERSION_STRING = 1.0 + LIBRARY_CLASS = NorFlashPlatformLib + +[Sources.common] + NorFlashPlatformNullLib.c + +[Packages] + MdePkg/MdePkg.dec + ArmPlatformPkg/ArmPlatformPkg.dec From patchwork Tue Dec 5 10:13:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 120637 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5551947qgn; Tue, 5 Dec 2017 02:13:48 -0800 (PST) X-Google-Smtp-Source: AGs4zMZrngs2FJXir/rgw9OTr4QINv5nsQTHteZasfawCH2X+fBLDCvYnWyEzxrCec7oL9VbUadf X-Received: by 10.84.248.132 with SMTP id q4mr18210117pll.121.1512468828376; Tue, 05 Dec 2017 02:13:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512468828; cv=none; d=google.com; s=arc-20160816; b=T3LELKHCh5X+7oXjWIIi3dks55LrNtvlsPaOgbhAiQvAsCXcf8iW4wuHbqmLvBzbZ1 Az8uE3jrOeEvgxAVVtSxwpUEsegtCmmj6aqvr5t61p7edwD7Czrx9kvDKmLQ3Iu1vQHb Q7sErUxHg0lgOHUZC5X9aro7dp2cqDxp1EXkbqFRRSOthUntcpEjDR7sodI2qRoIu8vK plJhBZ/JlcFzLjZ02e9K7X5PFjoFHjELd+mDDlhuPwDFxTgyYW1uu7I64TiruVpRFb9l NDoOBhZ9Y8izJRQkQoIDbPjnEO9Tw+NMYiJsVJT6nihl0gS4gegXTuHiIfhZHMAQ14K+ n1RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=O7LFswdP/nk9YIUWS2sl7290RxltT6zx971AAmji3Gg=; b=kM1rXIkKNz6dC5GkXOSX8Ku4A7+tu1q5s40RPWFwjh2zfUJzYMUkdWtblqLvU+rX8y ahGx0W4AMu9Y4Zztb79Ta4CpZE1VnbiNnYMcaey3Y6um7W/Z9f3PcjQ9WaJKS5z4VttE f+sID2NhhJDDH8BLCbPspHqTo4FcAN48mkVDbZh4YejV6luFM4GwcaYJt9VPARSkWXFT 2mon+jrpGq9Wwaci+rgAyVeWtiJ/uwyzeXqSLbq6qIL2pd4EkTmr8kS90OSSwJSdezQ9 zOdOgExmJBN1T6kyLSbb3clz6PpvUGlpo4jkSwtl5kogxYGL3rJSN7DAZOMjTjawyJd8 o6Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FLvl8kM3; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id o2si10789042pgq.578.2017.12.05.02.13.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Dec 2017 02:13:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FLvl8kM3; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 624432035627D; Tue, 5 Dec 2017 02:09:14 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::244; helo=mail-wr0-x244.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x244.google.com (mail-wr0-x244.google.com [IPv6:2a00:1450:400c:c0c::244]) (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 6835D20356269 for ; Tue, 5 Dec 2017 02:09:12 -0800 (PST) Received: by mail-wr0-x244.google.com with SMTP id l22so20390365wrc.11 for ; Tue, 05 Dec 2017 02:13:43 -0800 (PST) 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=hPmwiz94BFeiPV9luZRW7DUNimeRVWSr2egcAm4jNKY=; b=FLvl8kM30qwJiZM2cXLflqAZaGupmoTeTlnoW3YiXDPddxl8gWTqVKJYBCL9VmwoM6 VlIqtG9iWn9AzMuxHdu4cExrfuFJ155MufbGQEtRXhFYmRBgp/vKKsDhK7Xz66D2IslX crN9E/54AtrFoSnawOIhbKeYNyUOtTuLmIwEU= 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=hPmwiz94BFeiPV9luZRW7DUNimeRVWSr2egcAm4jNKY=; b=toxXXtwFLiTB8gGS2HreIMMirZhE8RkWj6hgdyfdScqjbNXmhIo8LqeNkBNm3YiXDz 3RXsLcY11Lz9Tx30Yq7rH4fXXjpKlpAMyreTNZBCcznF8QvAj8VvHlD4rj6PYTBHAGIR t2U7cqEOtR/XFXyuiAnUko/pqSB3kraqM4RWSEB9WxBUj7Jc08iIZVYd1B4/gFGeJOKa 7w1oQHiejOmJQmlkO1KoWEitWZzbd94aAXU3YgJ7us4RwY8m0vTKA7Nzi965R7fqzzD6 9rtc0ZOuCe/zcQgXmyNgFFYii+4QGF9lQ5BPuzOJWCYiFLzbTOEt8TC5GtAMG/P2os9H ObTw== X-Gm-Message-State: AJaThX5yzwyDNtVIze5v/aakWHs7CRvR3DAm7o3ZGOZd+2DAowm39TyD XUDuVo5/KrGuQVvKSjjUMg8H42ZAKBA= X-Received: by 10.223.160.184 with SMTP id m53mr15550224wrm.126.1512468821587; Tue, 05 Dec 2017 02:13:41 -0800 (PST) Received: from localhost.localdomain ([105.150.171.234]) by smtp.gmail.com with ESMTPSA id d1sm14398065wra.44.2017.12.05.02.13.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Dec 2017 02:13:40 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Date: Tue, 5 Dec 2017 10:13:26 +0000 Message-Id: <20171205101326.23732-6-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171205101326.23732-1-ard.biesheuvel@linaro.org> References: <20171205101326.23732-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH 5/5] ArmPlatformPkg: add package .DSC file X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Now that we have removed all the cruft from ArmPlatformPkg, add a .DSC file that builds all the remaining components standalone, i.e., outside of the context of any particular platform. This is primarily intended for build time testing. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- ArmPlatformPkg/ArmPlatformPkg.dsc | 121 ++++++++++++++++++++ 1 file changed, 121 insertions(+) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Leif Lindholm diff --git a/ArmPlatformPkg/ArmPlatformPkg.dsc b/ArmPlatformPkg/ArmPlatformPkg.dsc new file mode 100644 index 000000000000..032942e87891 --- /dev/null +++ b/ArmPlatformPkg/ArmPlatformPkg.dsc @@ -0,0 +1,121 @@ +#/** @file +# ARM platform package. +# +# Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.
+# Copyright (c) 2011 - 2015, ARM Ltd. All rights reserved.
+# Copyright (c) 2016 - 2017, 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. +# +#**/ + +################################################################################ +# +# Defines Section - statements that will be processed to create a Makefile. +# +################################################################################ +[Defines] + PLATFORM_NAME = ArmPlatformPkg + PLATFORM_GUID = 9ce08891-ac9c-476d-ab04-0c04d3a97544 + PLATFORM_VERSION = 0.1 + DSC_SPECIFICATION = 0x0001001A + OUTPUT_DIRECTORY = Build/ArmPlatform + SUPPORTED_ARCHITECTURES = ARM|AARCH64 + BUILD_TARGETS = DEBUG|RELEASE + SKUID_IDENTIFIER = DEFAULT + +[BuildOptions] + RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG + *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES + +[PcdsFixedAtBuild] + gArmTokenSpaceGuid.PcdFdBaseAddress|0x0 + gArmTokenSpaceGuid.PcdFdSize|0x1000 + +[LibraryClasses.common] + ArmGicArchLib|ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf + ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf + ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf + ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf + ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf + ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf + BaseLib|MdePkg/Library/BaseLib/BaseLib.inf + BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf + CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf + DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf + DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf + DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf + HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf + IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf + LcdPlatformLib|ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.inf + LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf + MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf + MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf + NorFlashPlatformLib|ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.inf + PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf + PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf + PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf + PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf + PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf + PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf + PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf + SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf + TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf + UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf + UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf + UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf + UefiLib|MdePkg/Library/UefiLib/UefiLib.inf + UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf + DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf + UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf + + NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf + NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf + +[LibraryClasses.common.PEIM] + HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf + MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf + PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf + PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf + PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf + +[LibraryClasses.common.SEC] + ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf + HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf + MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf + PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf + +[Components.common] + ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcdGraphicsOutputDxe.inf + ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf + ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf + ArmPlatformPkg/Drivers/PL061GpioDxe/PL061GpioDxe.inf + ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf + ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf + + ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf + ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf + ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.inf + ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.inf + ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf + ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf + ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf + ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf + + ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf + ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf + + ArmPlatformPkg/PlatformPei/PlatformPeim.inf + ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf + + ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf + ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf + + ArmPlatformPkg/PrePi/PeiMPCore.inf + ArmPlatformPkg/PrePi/PeiUniCore.inf