From nobody Fri Dec 27 01:39:55 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1504081284648943.9136030232945; Wed, 30 Aug 2017 01:21:24 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 02F4921E95E18; Wed, 30 Aug 2017 01:18:41 -0700 (PDT) Received: from mail-wr0-x22f.google.com (mail-wr0-x22f.google.com [IPv6:2a00:1450:400c:c0c::22f]) (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 2275421E95E11 for ; Wed, 30 Aug 2017 01:18:38 -0700 (PDT) Received: by mail-wr0-x22f.google.com with SMTP id j29so15396670wre.2 for ; Wed, 30 Aug 2017 01:21:19 -0700 (PDT) Received: from localhost.localdomain ([105.133.189.215]) by smtp.gmail.com with ESMTPSA id h8sm3051642wma.46.2017.08.30.01.21.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Aug 2017 01:21:17 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org 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=mrT7UhGcKB0nUxxC+2EHq3NEDxmSeoKA38UjCQL4iMs=; b=KI0SxcMqMPgP1M7HhEKVkajSDq99coP2IYUPHv44OxEvQU321oFi2r8VKh4LBSIpF9 ZF+XIdAgBiCNYAPlYgkWtLU6EKIfAeedGiLOYFVHtDFv8Cdp+8vvv5QG1aoOR2OUoBFf aU9CKCMOV5QMWQ7MokbD8wj0zW4IaMe3hLH/g= 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=mrT7UhGcKB0nUxxC+2EHq3NEDxmSeoKA38UjCQL4iMs=; b=oA69riFvzCdKpKVkBD9VmCEAuGqDs4Uqqgag51hg4btenDBUtDKdV4ebI4QNlN6tzR +F0BvXYex6Ob3qbPTHzJzftoisrrPKJ6sGDFpPPMH6dwsym4t0TxAAj5BcuJstzJ+TN4 +Ehxw2rk9/+445QKCChXNGGmZzc0pkkh+s23AFsIL1xlqA+TSGPD7q00GWN0/YahwSlO UjDwIs9s5K25TP28QMACLTWfV8S5U2wXjruiMwufslu2cF/p1J8X9PlN6MXjpQMN1la7 5w00VIE6gvcB9hMiPNge6XDXwS4QxCcVfiSzNZj0J7JXimOBIbzuR8PYUNWvqLaKOZqw 1YXw== X-Gm-Message-State: AHYfb5inVLNQm3BKCkSdI7p50xtffPFQ1CcX0dw5oiHkGs5KErczdzVW xKxexX3j1nqUCagctfvVQg== X-Received: by 10.223.134.161 with SMTP id 30mr509792wrx.147.1504081277843; Wed, 30 Aug 2017 01:21:17 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Date: Wed, 30 Aug 2017 09:21:03 +0100 Message-Id: <20170830082108.7470-2-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170830082108.7470-1-ard.biesheuvel@linaro.org> References: <20170830082108.7470-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH 1/6] EmbeddedPkg: rename NullDmaLib to CoherentDmaLib 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 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Rename NullDmaLib to CoherentDmaLib to better reflect its nature, and to better convey the fact that it actually serves a useful purpose, i.e., as a DmaLib library class resolution for drivers that control hardware that may only be cache coherent or in some cases (i.e., on some platforms but not on others). Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Reviewed-by: Leif Lindholm --- EmbeddedPkg/EmbeddedPkg.dsc = | 2 +- EmbeddedPkg/Library/{NullDmaLib/NullDmaLib.c =3D> CoherentDmaLib/CoherentD= maLib.c} | 0 EmbeddedPkg/Library/{NullDmaLib/NullDmaLib.inf =3D> CoherentDmaLib/Coheren= tDmaLib.inf} | 20 ++++++-------------- 3 files changed, 7 insertions(+), 15 deletions(-) diff --git a/EmbeddedPkg/EmbeddedPkg.dsc b/EmbeddedPkg/EmbeddedPkg.dsc index 4a34e34843ad..84c5a842e37e 100644 --- a/EmbeddedPkg/EmbeddedPkg.dsc +++ b/EmbeddedPkg/EmbeddedPkg.dsc @@ -250,7 +250,7 @@ [Components.common] EmbeddedPkg/Library/TemplateResetSystemLib/TemplateResetSystemLib.inf EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf EmbeddedPkg/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLi= b.inf - EmbeddedPkg/Library/NullDmaLib/NullDmaLib.inf + EmbeddedPkg/Library/CoherentDmaLib/CoherentDmaLib.inf EmbeddedPkg/Library/DxeDtPlatformDtbLoaderLibDefault/DxeDtPlatformDtbLoa= derLibDefault.inf =20 EmbeddedPkg/Ebl/Ebl.inf diff --git a/EmbeddedPkg/Library/NullDmaLib/NullDmaLib.c b/EmbeddedPkg/Libr= ary/CoherentDmaLib/CoherentDmaLib.c similarity index 100% rename from EmbeddedPkg/Library/NullDmaLib/NullDmaLib.c rename to EmbeddedPkg/Library/CoherentDmaLib/CoherentDmaLib.c diff --git a/EmbeddedPkg/Library/NullDmaLib/NullDmaLib.inf b/EmbeddedPkg/Li= brary/CoherentDmaLib/CoherentDmaLib.inf similarity index 78% rename from EmbeddedPkg/Library/NullDmaLib/NullDmaLib.inf rename to EmbeddedPkg/Library/CoherentDmaLib/CoherentDmaLib.inf index 38261d5ede2b..c40a600cf6a3 100644 --- a/EmbeddedPkg/Library/NullDmaLib/NullDmaLib.inf +++ b/EmbeddedPkg/Library/CoherentDmaLib/CoherentDmaLib.inf @@ -1,6 +1,8 @@ #/** @file # # Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.
+# 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 B= SD License # which accompanies this distribution. The full text of the license may = be found at @@ -12,15 +14,15 @@ #**/ =20 [Defines] - INF_VERSION =3D 0x00010005 - BASE_NAME =3D NullDmaLib + INF_VERSION =3D 0x00010019 + BASE_NAME =3D CoherentDmaLib FILE_GUID =3D 0F2A0816-D319-4ee7-A6B8-D58524E4428F MODULE_TYPE =3D BASE VERSION_STRING =3D 1.0 LIBRARY_CLASS =3D DmaLib =20 -[Sources.common] - NullDmaLib.c +[Sources] + CoherentDmaLib.c =20 [Packages] MdePkg/MdePkg.dec @@ -29,13 +31,3 @@ [Packages] [LibraryClasses] DebugLib MemoryAllocationLib - - -[Protocols] - -[Guids] - -[Pcd] - -[Depex] - TRUE --=20 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel