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 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) 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) 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) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: ruiyu.ni@intel.com, michael.d.kinney@intel.com, liming.gao@intel.com, leif.lindholm@linaro.org, lersek@redhat.com, star.zeng@intel.com, afish@apple.com, Ard Biesheuvel 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: [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: , X-List-Received-Date: Tue, 20 Feb 2018 10:59:55 -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 --- 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