From patchwork Tue Feb 20 11:05:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 128868 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp4509495ljc; Tue, 20 Feb 2018 03:05:59 -0800 (PST) X-Google-Smtp-Source: AH8x225LlR3DEczLNl3yln/yyzmyUZUOpoFrlzOyeqB91BZqlue3wnE7xsg2Sp4QDcNj6DLz0HKo X-Received: by 10.98.55.66 with SMTP id e63mr17962902pfa.102.1519124759360; Tue, 20 Feb 2018 03:05:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519124759; cv=none; d=google.com; s=arc-20160816; b=hFBlYBy4Wc2T3YWIYJGMbBqNks2MPi2Y0ybAyoGYhTdYfLvrcpp3i+uKpnzeCm1A5B xzBL+Pn+yWTlH51KAQRFrxAf9SbYVhBfmuMMzIQn+jJ7CXLcVmaP5ywTG42NE0RBm//Y 6H2kwkliJHXTJL7J4lj2zrgxw7CFpJG+P+MNEhZJ6UIoGlPe6vIxhvPZIkOMoUrKWgeE s1TY7QwijyGoDhURNiobSbjBTvpq7d7GSz1OPB/GlZG7za/IUoc58VSh9CyMk4Fd80aV ICJdLQJxy0mcHDcPdV4u1uN3r1uE5VPylC3Cr8NrNcUkEkpmbwz+2zmOlGwuEC2rJ+cn SigQ== 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=fgwL4VUdBClKNiZ2Ar6KnMWhnf1z2p7s9v/9t2ydxsA=; b=1I0vt826NWoQViP/bjl6qQsDG4m3E4bWIoVHZlqW0E1H9q+18uM0aBwHdvrDsChqq/ fziAl57r2GLBJCNWXAPIS26YilQvXjbl+Em3L9Lj6q6FXzoND8/E/0//cOv6nK0V0O3u SRCIJj2Z7d7+XMbSGDdwwiSw021UjymnodjDdmmN563GCBDUKzrU9QySXEuHlLvmBNc7 jwkzh5KLGtjb4UTfdlz/QKgz0n0vuTtabZ67oFpRotfkMTpAVWjcJ8YxnyQqfR1Y2xkM KBdSnKyijXQk3lWtoJxhorzsaj0hrPXXXC298W7XroEswcfqYFY/XmCbeVocefZaee8p fyHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=LNR5YfCP; 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 1-v6si1117404plb.601.2018.02.20.03.05.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Feb 2018 03:05:59 -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=LNR5YfCP; 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 1EDF1223C179A; Tue, 20 Feb 2018 02:59:58 -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::243; helo=mail-wr0-x243.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x243.google.com (mail-wr0-x243.google.com [IPv6:2a00:1450:400c:c0c::243]) (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 13A10223C1792 for ; Tue, 20 Feb 2018 02:59:56 -0800 (PST) Received: by mail-wr0-x243.google.com with SMTP id u49so8501040wrc.10 for ; Tue, 20 Feb 2018 03:05:54 -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=UpZyYyU/u9JG0+cA7/Xx5IxGvkLdqbO5Ptp04Y2o1b0=; b=LNR5YfCPKL6+cc+VglurHqRxLwmctJfrZKFsi1Pcz8PWJurjzBhk2iwVWeLaXO8rvA hqukVwS74WIpwXEYbNBfQw6cDrhe99/j3YfRbvhe/y8Xd6EigNnTnJCYeaMwxrR37GxT 4YjFyLGk8woZLJ5/5PRMZAM+dhuv+hvBu4vCQ= 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=UpZyYyU/u9JG0+cA7/Xx5IxGvkLdqbO5Ptp04Y2o1b0=; b=Bns3Wzp2N2ycIWaTBHVN18Ih2lFG/0Fp+Xq7dvsaaHPzE+cj8ijm2zgv9pvc9jgCoJ FXmvdJMCv8Ueqc+r2P/pV8Tt1lfNI/EwpDOApssMXQkPhdYu7TwAuQreZOWBda4w2dtL mAQXjGCdIsRWgEFJnyD1b+Hb/6tfWHyRU2m3ckIOb0h/8ulPJn6M/N8Q0HkEoRUIi+4E TZupsPwyHLlLn+/tSWxcC/RbpYotgRxGenv+7l6aeRBJsbMnDq7m0lBIIFp2LxsOx/DL kW1UIpW3s2YHoW5XCikF2LzueHF6ZELokUzaDas1Zqj4sxtpwFbXXS016iJo3E8ujhfM XKtg== X-Gm-Message-State: APf1xPAPZj/4MNicaKgA5KGyfxAZCJeGEsBXfYBSvocHaA4v5d8j5DjM S46O79F74otBefqh8Ahy8fpV8lYthqc= X-Received: by 10.223.186.145 with SMTP id p17mr14645280wrg.263.1519124752833; 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.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Feb 2018 03:05:52 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Tue, 20 Feb 2018 11:05:24 +0000 Message-Id: <20180220110524.9050-4-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 3/3] MdePkg/BaseDebugLibSerialPort: blacklist for use by DXE runtime drivers 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 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" BaseDebugLibSerialPort is not suitable for use by DXE_RUNTIME_DRIVER modules, so blacklist it for use by such modules. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf | 2 +- 1 file 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 Reviewed-by: Laszlo Ersek diff --git a/MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf b/MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf index 823511b22f6b..25da1fb9363a 100644 --- a/MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf +++ b/MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf @@ -21,7 +21,7 @@ [Defines] FILE_GUID = BB83F95F-EDBC-4884-A520-CD42AF388FAE MODULE_TYPE = BASE VERSION_STRING = 1.0 - LIBRARY_CLASS = DebugLib + LIBRARY_CLASS = DebugLib|SEC PEI_CORE PEIM DXE_CORE DXE_DRIVER DXE_SMM_DRIVER DXE_SAL_DRIVER UEFI_DRIVER UEFI_APPLICATION SMM_CORE MM_STANDALONE MM_CORE_STANDALONE CONSTRUCTOR = BaseDebugLibSerialPortConstructor #