From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 E2E97222630B9 for ; Thu, 22 Feb 2018 08:22:39 -0800 (PST) Received: by mail-wr0-x241.google.com with SMTP id o76so11183061wrb.7 for ; Thu, 22 Feb 2018 08:28:40 -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=cvMTjgZGSz6IjFwJzTXruH7M4yz4o4rO/2h8Mubh5Sg=; b=K/sudv/KWlECTK/HULHGLmOTYc4iodfTANPTE+aRoZnTu8p5DAqfEol5W66d53+NoQ M/IGsqodNQcUS3hLmNJF7RzGEzcsophSMKM2YpeCvqrpNWRXkT6RJdY01oeno2ck0nt3 MNOF3sGirbh+N21ZSk4uO7ntXwcc4hIrgQrBw= 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=cvMTjgZGSz6IjFwJzTXruH7M4yz4o4rO/2h8Mubh5Sg=; b=qi6PBkV3xizudsYJpqUfVvBqDJRBZchcll0n2pugRMWI7x2LXhb7w/LLoeRpbOmcM0 Ox2uz74L/i8uP4jjVGfoeGT/x0Nf1jh1a1/9MgQtKvwtWtC4Svy4BITdIGuj5DD0wHMs p1aEMvN3MqeYx22W+DVehWw2lNKy3NOsaG/Dr+N1YUOtWc3ldr1nxCQgk4VoFKsI9XKH cqSQhKWrH+HvIYGzn9ZC+R+9Zv5aruaQXHGFfn35Def9Bf4fYByYt6jCijXk6rIXSf6F 8l4TUulOfzK6wzQpZWHK05+yOsqj/l4OS1pyCiqDGUc/JnX+KwEwKyygrWEu1XUTRIHE I6cQ== X-Gm-Message-State: APf1xPD386iJr5npb3z9UxNIbSRdJsk/cuK21a5x9yBwrg5AWzMLEnuR ZvNn8K1n3PJFHwnjq0xcRV9r8Yc53z8= X-Google-Smtp-Source: AH8x227Sn9Fge6D+n/nvuxNkYaLqnQ72wP8nz3k7TXHU9j+7RO0nUZxUlbed7oLt8BU7lbItFVfKiQ== X-Received: by 10.223.150.42 with SMTP id b39mr1709448wra.55.1519316919029; Thu, 22 Feb 2018 08:28:39 -0800 (PST) Received: from localhost.localdomain ([196.90.4.100]) by smtp.gmail.com with ESMTPSA id b185sm867955wmb.24.2018.02.22.08.28.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Feb 2018 08:28:37 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, lersek@redhat.com, liming.gao@intel.com, michael.d.kinney@intel.com, afish@apple.com, star.zeng@intel.com, ruiyu.ni@intel.com, Ard Biesheuvel Date: Thu, 22 Feb 2018 16:28:22 +0000 Message-Id: <20180222162822.22703-3-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180222162822.22703-1-ard.biesheuvel@linaro.org> References: <20180222162822.22703-1-ard.biesheuvel@linaro.org> Subject: [PATCH edk2-platforms v2 2/2] 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: , X-List-Received-Date: Thu, 22 Feb 2018 16:22:40 -0000 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/UefiMemoryAllocationLib.inf CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf +!if $(TARGET) != RELEASE + DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf +!endif !if $(SECURE_BOOT_ENABLE) == TRUE BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf -- 2.11.0