From nobody Mon Dec 23 09:47:08 2024 Delivered-To: importer@patchew.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; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1519124757620627.640340653426; Tue, 20 Feb 2018 03:05:57 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 9C60F223C1796; Tue, 20 Feb 2018 02:59:56 -0800 (PST) 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 98869223C1784 for ; Tue, 20 Feb 2018 02:59:54 -0800 (PST) Received: by mail-wr0-x241.google.com with SMTP id s5so13169764wra.0 for ; Tue, 20 Feb 2018 03:05:52 -0800 (PST) Received: from localhost.localdomain ([105.149.187.179]) by smtp.gmail.com with ESMTPSA id u198sm7417343wmu.44.2018.02.20.03.05.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Feb 2018 03:05:49 -0800 (PST) X-Original-To: edk2-devel@lists.01.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; 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 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=tYExiMSxYW71Xb5sR9W/1s9+kNWzOCuuvo/1d+tfcI8=; b=Ghq6/+aOv48y6RGmrPodVbKlJBCrj2SLj2wZwLUxBNVmdxUylLxRf3S2yBk8iQLouc qKpd7YvUB7W/4t0d1s6uyK+Uc+69pH3AKW6sMuxrmBF7G80rOK9tSsLBw6VIhsRh4c5J x9eQbrzqWwe549cGzdcYLTJMoTsm1KtzsOXgg= 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=tYExiMSxYW71Xb5sR9W/1s9+kNWzOCuuvo/1d+tfcI8=; b=iHLmqhlmjQ6Vft0m+DVsF+rKfXlW5jLnYpElmmaG6GcFt3NXCzvjUtEnNewVHzzTzS H+7U6pnL9NcuZ15z2w+OT6G9bAS7g7r7MVGF1/3sK7bcXNvFZneeXTsLLSHfzIewfMK7 ObQ2un2TOhCBDsD2jgEh8g04ZFJjyrnBWyPSokL/Asx9qNW1u1eQSJRyG7/GwFvS2wTc cFA0KyR2J4M08UZHpIhOLOV0Tg9reaQntRFFNgyPsFunNjwbwJzwbMfq1SDdHyqVibTz ZyXhbMtbzkIOOSPR0jDwciTc4DZW850PM/6UGXc01o5M4b1LKnrR7A8qsJHFOGtk6K1j x/Xg== X-Gm-Message-State: APf1xPCtmNjudegXloRj3+PNm5CexsEm9SW6PsYCPdupc9dl6Lv5Jrmq f3N5uWPWKHStui91vFz+T76aVh9T0cw= X-Google-Smtp-Source: AH8x225TlFArVH72j1iFqpZ869MS874fLnaI7+wIhOoomy1KkcFbNr1+hO8w5qTsB7VDakMTMRBWvA== X-Received: by 10.223.150.41 with SMTP id b38mr15815693wra.229.1519124750511; Tue, 20 Feb 2018 03:05:50 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Tue, 20 Feb 2018 11:05:23 +0000 Message-Id: <20180220110524.9050-3-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180220110524.9050-1-ard.biesheuvel@linaro.org> References: <20180220110524.9050-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH 2/3] ArmVirtPkg: switch to DXE runtime version of DebugLib where appropriate 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: ruiyu.ni@intel.com, Ard Biesheuvel , afish@apple.com, leif.lindholm@linaro.org, liming.gao@intel.com, michael.d.kinney@intel.com, lersek@redhat.com, star.zeng@intel.com 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" Switch all users of ArmVirt.dsc.inc to the new DebugLib implementation that was created especially for DXE_RUNTIME_DRIVER modules, ensuring that DEBUG() calls do not touch the UART at runtime. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Reviewed-by: Laszlo Ersek --- ArmVirtPkg/ArmVirt.dsc.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc index 0cb48f08e9bf..cde514958da2 100644 --- a/ArmVirtPkg/ArmVirt.dsc.inc +++ b/ArmVirtPkg/ArmVirt.dsc.inc @@ -231,6 +231,9 @@ [LibraryClasses.common.UEFI_DRIVER] [LibraryClasses.common.DXE_RUNTIME_DRIVER] MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf +!if $(TARGET) !=3D RELEASE + DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibS= erialPort.inf +!endif =20 !if $(SECURE_BOOT_ENABLE) =3D=3D TRUE BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf --=20 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel