From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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) 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) 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) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Cc: Ard Biesheuvel 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: [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: , X-List-Received-Date: Wed, 30 Aug 2017 08:18:38 -0000 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 --- EmbeddedPkg/EmbeddedPkg.dsc | 2 +- EmbeddedPkg/Library/{NullDmaLib/NullDmaLib.c => CoherentDmaLib/CoherentDmaLib.c} | 0 EmbeddedPkg/Library/{NullDmaLib/NullDmaLib.inf => CoherentDmaLib/CoherentDmaLib.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/LzmaHobCustomDecompressLib.inf - EmbeddedPkg/Library/NullDmaLib/NullDmaLib.inf + EmbeddedPkg/Library/CoherentDmaLib/CoherentDmaLib.inf EmbeddedPkg/Library/DxeDtPlatformDtbLoaderLibDefault/DxeDtPlatformDtbLoaderLibDefault.inf EmbeddedPkg/Ebl/Ebl.inf diff --git a/EmbeddedPkg/Library/NullDmaLib/NullDmaLib.c b/EmbeddedPkg/Library/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/Library/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 BSD License # which accompanies this distribution. The full text of the license may be found at @@ -12,15 +14,15 @@ #**/ [Defines] - INF_VERSION = 0x00010005 - BASE_NAME = NullDmaLib + INF_VERSION = 0x00010019 + BASE_NAME = CoherentDmaLib FILE_GUID = 0F2A0816-D319-4ee7-A6B8-D58524E4428F MODULE_TYPE = BASE VERSION_STRING = 1.0 LIBRARY_CLASS = DmaLib -[Sources.common] - NullDmaLib.c +[Sources] + CoherentDmaLib.c [Packages] MdePkg/MdePkg.dec @@ -29,13 +31,3 @@ [Packages] [LibraryClasses] DebugLib MemoryAllocationLib - - -[Protocols] - -[Guids] - -[Pcd] - -[Depex] - TRUE -- 2.11.0