From patchwork Thu Mar 1 18:11:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 130375 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp3117533edc; Thu, 1 Mar 2018 10:12:03 -0800 (PST) X-Google-Smtp-Source: AG47ELtfjN4OQhpukmmVsLd75VzNxDLX0fjx8C7n6ii+paCB8jQcjQa8Is4Jf/lzAz+X1rFEHkRl X-Received: by 10.98.152.205 with SMTP id d74mr2827167pfk.115.1519927923741; Thu, 01 Mar 2018 10:12:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519927923; cv=none; d=google.com; s=arc-20160816; b=UO3xOljGUUBT829GTYLBTRYyI5npMDnPMANqVLwRhybVZKDEAZA3d6EvBnuZyMtUKz D6pCzPIcgKJ5dJ+GcPw/V5WtEFxL0qJ5rvpneCJ0Xk/0qVPe8BCbUVKfD3F7HkOAhH96 W68+cV3d8nfBxGEaRRdjrUM+Uk13wapSgTwiScOlX/W98htrSot7Fv5EaSCOFRjLVpwJ LdXqvInur+SyKlZCDT/+NYZW9rRaPHYoMX/vXsr+tzpu1A/Iev6shguLmUA4VD7fMse9 Mzgo4LpH75UMQQp5CXk7s5bfSxbOGzxeeB298xT/S2rnXvw8/lS/PP0EYH4M7LG+ExLg mNaQ== 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=s0BSKuzXkWl+eLCk+Q0kFPXRCJV4HeTpbu890XZi2jg=; b=T1SP9b0tQw5QFwUzEcpitp55V2Ql3zvNECu0UIUBnr5X+qFFSac5CngkE2xHm1Z0c5 e3vPQSjJBb4gC4+ntpo2c1141r8s60RInAwt6rskWkreN96L7n//UiwNL93HGKF03PAf JZ2fn1bjRVrzo3anFO4hL+q8QFozlGy4AGgtk2jPUWygGg/hw0OlMumy5ba4+M9aLOJu natJZamt+rl4pU9hbHjU7uuvKmqCypM4GQiokDzRKTYOidmfdyMSSfHN4TOhYqBvXDZl nbU40HZfGgt3udQ7K5Pg/5zh0AMN2+KLPk0cp6iuHDDQD9GKvnGYNx7y1RXtj+wLLT8V HnDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=RHTfD9jB; 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 l9si2780901pgs.226.2018.03.01.10.12.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Mar 2018 10:12:03 -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=RHTfD9jB; 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 8002D22451181; Thu, 1 Mar 2018 10:05:54 -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::241; helo=mail-wr0-x241.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x241.google.com (mail-wr0-x241.google.com [IPv6:2a00:1450:400c:c0c::241]) (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 1385122423858 for ; Thu, 1 Mar 2018 10:05:52 -0800 (PST) Received: by mail-wr0-x241.google.com with SMTP id v65so7526219wrc.11 for ; Thu, 01 Mar 2018 10:12:01 -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=aAhh6YnMpcRVu0w2TlO9EgVK/UmyDSD54+vuGF85LWc=; b=RHTfD9jBdYvECFzWphtOy1AWoqps3G3hDBhkMw8iELam4DDB9XAEyI6W9Wxw2EUAYw 7IZGHro9ratIZEcCn8FzZ1w33nWcrWLkYUlfEzO9wW9Awcv8So/PW+d4RUsG1tG4Cb9j 7vhmQdneDo+q7otKM7H2BXlO8MgSAbcP5tzdM= 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=aAhh6YnMpcRVu0w2TlO9EgVK/UmyDSD54+vuGF85LWc=; b=rpuklrdKlvCUkFz3MZNLzD04OVYRkG6J52xeU5/jlm1zJZTkMPXh00aaO09okocEXL QhuQrCoE7pmD6zCr3oyOPwnvcOLADveUz4cWN9SuwtBnjccnLJg6iqziCrZsja4NKDlD un6jLMDH4sAIAtc0v3/UfYeqAUOSsVU3tvPi/rjkoX6JAYBIZgHQMneYXvbP5lNVjhQv 9NVGR4WhucJMnh0FcK2mEN1hkCAXFiAO32XdIxpIUEW2sLUbpDSwTv6AoRKIWjAaQBm+ xSM1HMEquJzvHC9tey+sXV/P+GNkOzyvtcuI+735WSrMdpC7JEUyw18S25lYhlrfdghP zCEw== X-Gm-Message-State: APf1xPDczizBLAXkiui+d1eD33WYl5Wu+1dc5/GI4qiR9K0ZlwxCnpTk FWRMCL9pIdnX3fpOoXKvPwiS1W06iPY= X-Received: by 10.223.193.69 with SMTP id w5mr2447318wre.42.1519927919570; Thu, 01 Mar 2018 10:11:59 -0800 (PST) Received: from localhost.localdomain ([196.71.216.221]) by smtp.gmail.com with ESMTPSA id w195sm78568wmw.9.2018.03.01.10.11.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Mar 2018 10:11:58 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Thu, 1 Mar 2018 18:11:39 +0000 Message-Id: <20180301181142.16817-2-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180301181142.16817-1-ard.biesheuvel@linaro.org> References: <20180301181142.16817-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH 1/4] MdePkg: move DxeRuntimeDebugLibSerialPort to MdeModulePkg X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: eric.dong@intel.com, Ard Biesheuvel , leif.lindholm@linaro.org, heyi.guo@linaro.org, liming.gao@intel.com, michael.d.kinney@intel.com, lersek@redhat.com, star.zeng@intel.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Before making enhancements to DxeRuntimeDebugLibSerialPort involving EDK2 specific protocols, move the driver from MdePkg to MdeModulePkg, which permits such EDK2 specific deviations from the PI spec. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- ArmVirtPkg/ArmVirt.dsc.inc | 2 +- {MdePkg => MdeModulePkg}/Library/DxeRuntimeDebugLibSerialPort/DebugLib.c | 0 {MdePkg => MdeModulePkg}/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf | 0 {MdePkg => MdeModulePkg}/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.uni | 0 4 files 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/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc index cde514958da2..8f411fde1f8b 100644 --- a/ArmVirtPkg/ArmVirt.dsc.inc +++ b/ArmVirtPkg/ArmVirt.dsc.inc @@ -232,7 +232,7 @@ [LibraryClasses.common.DXE_RUNTIME_DRIVER] MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf !if $(TARGET) != RELEASE - DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf + DebugLib|MdeModulePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf !endif !if $(SECURE_BOOT_ENABLE) == TRUE diff --git a/MdePkg/Library/DxeRuntimeDebugLibSerialPort/DebugLib.c b/MdeModulePkg/Library/DxeRuntimeDebugLibSerialPort/DebugLib.c similarity index 100% rename from MdePkg/Library/DxeRuntimeDebugLibSerialPort/DebugLib.c rename to MdeModulePkg/Library/DxeRuntimeDebugLibSerialPort/DebugLib.c diff --git a/MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf b/MdeModulePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf similarity index 100% rename from MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf rename to MdeModulePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf diff --git a/MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.uni b/MdeModulePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.uni similarity index 100% rename from MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.uni rename to MdeModulePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.uni