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:c09::242; helo=mail-wm0-x242.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (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 9B42F222630CF for ; Thu, 22 Feb 2018 11:51:23 -0800 (PST) Received: by mail-wm0-x242.google.com with SMTP id t82so584295wmt.5 for ; Thu, 22 Feb 2018 11:57:24 -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=XN6ZQ/wKMWuqGVYyjiqlURfmYOntgHuUBUjia4FJhqHOEvQ60g1LGEZ9wHdLCHbKvN udxcKa5l9uJkSxRPxkQn1l+0Qb6Dq6tLkoAQgziG03mxdlZuh1XjqJP8G5IB998ngb40 MmFln9rvBnaOudeLnNHwmEEqCiaRRTfhvmxPE= 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=c9GbtAMO91CMblwdpbRG4gt/hEwXVOouD3Xqzww9Y65M+qsZy7a4ULUqf9GybiwvYo 7uNEoqJxK749M1WSFdAEmFJiEDsEtvti0e7zcX4k/+93uYtfStpHdnV+jMwRqaTXM3hY TU1RBf0dUFh97U+yUJHT00TxZ+QpSfvrLMKnsuQn5r2/wzgTh/Y1LDKDv+Lh8pIsmXjq Fjvu/gj7wafjWk8AU8ihy0LbDpSt6W7AMy99v5iYRsDkYyGGMl1Vcno49DBMIK2eHH37 MYSwaq+fqMxGyqzh1FchzPPMU2qqX2vHc3v0PRaS4aY585q5Fp3Ukpl/qc9LRE5/mBTW gZ3A== X-Gm-Message-State: APf1xPDQfurU8dqH72iAtcL/YyRtgFhWstFVsn5hKcohnaIZj6rLxgHM GMVGkPAuVoKYpq0OjjQHMCWMrnLz020= X-Google-Smtp-Source: AG47ELshRRty5lABwxDyZoGjVseZksBaIGZt3VFC1x2r71+yTLfJXdq1qOr1+oSvQKe5DFrzGBOVeQ== X-Received: by 10.28.20.206 with SMTP id 197mr255264wmu.19.1519329442851; Thu, 22 Feb 2018 11:57:22 -0800 (PST) Received: from localhost.localdomain ([196.90.4.100]) by smtp.gmail.com with ESMTPSA id t14sm252153wmc.23.2018.02.22.11.57.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Feb 2018 11:57:21 -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 19:57:00 +0000 Message-Id: <20180222195700.7279-3-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180222195700.7279-1-ard.biesheuvel@linaro.org> References: <20180222195700.7279-1-ard.biesheuvel@linaro.org> Subject: [PATCH v4 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 19:51:24 -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