From patchwork Fri Aug 15 08:06:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laszlo Ersek X-Patchwork-Id: 35425 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f198.google.com (mail-pd0-f198.google.com [209.85.192.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CA50320523 for ; Fri, 15 Aug 2014 08:06:38 +0000 (UTC) Received: by mail-pd0-f198.google.com with SMTP id fp1sf15450875pdb.1 for ; Fri, 15 Aug 2014 01:06:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:reply-to:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=sZIX76pCYqOLEISnLO2KSHPZtb3NGw+qRNz6YX4ODbs=; b=HY2nl4ZM/t6QuSsVpqkfHZoOpcvyc2vtD04zobpbuhytUAJTYam8SzQCkPd9ztdUxK m1JUnl5oEKCXxdt2T/wCcatArRjqyTwWy/WnLB1fnZBlbUjaIF6TsRVZ5nABFJG1V+re wy2ufFRPj7Z5ChzI12eTYWpzI+PLrngyFJd3h3bD41iCi7z9akuQOyQJLxIdDcQ11trc 7SUpX/xw4EpniG3wNRKa0xDC23uhlcMYPzAVq9zYR2q/kV/x6fZ+mbYd9akcl/6w+fpl F5oWklLI68mN7BftblRUPu/xfwHAlWTHZpiE4q0xyUcveh/FZ0NkLaYbTcTeJ2JnzXiZ 7Uaw== X-Gm-Message-State: ALoCoQlZeC0hUlZbFr1puGgDv+yqpSN/36TTVlGfi1ipWDPqaqjn0j6BdMbKLejen64Ckzq6TP8S X-Received: by 10.66.248.37 with SMTP id yj5mr8928393pac.16.1408089996156; Fri, 15 Aug 2014 01:06:36 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.27.176 with SMTP id 45ls1248625qgx.16.gmail; Fri, 15 Aug 2014 01:06:36 -0700 (PDT) X-Received: by 10.224.54.205 with SMTP id r13mr25282106qag.59.1408089996058; Fri, 15 Aug 2014 01:06:36 -0700 (PDT) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id k5si10907478qad.33.2014.08.15.01.06.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 15 Aug 2014 01:06:36 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) client-ip=209.85.220.178; Received: by mail-vc0-f178.google.com with SMTP id la4so2618719vcb.37 for ; Fri, 15 Aug 2014 01:06:35 -0700 (PDT) X-Received: by 10.220.182.1 with SMTP id ca1mr9136537vcb.21.1408089995790; Fri, 15 Aug 2014 01:06:35 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp94968vcb; Fri, 15 Aug 2014 01:06:35 -0700 (PDT) X-Received: by 10.42.84.9 with SMTP id j9mr20211845icl.60.1408089995064; Fri, 15 Aug 2014 01:06:35 -0700 (PDT) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id g6si1187272igh.7.2014.08.15.01.06.34 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 15 Aug 2014 01:06:34 -0700 (PDT) Received-SPF: pass (google.com: domain of edk2-devel-bounces@lists.sourceforge.net designates 216.34.181.88 as permitted sender) client-ip=216.34.181.88; Received: from localhost ([127.0.0.1] helo=sfs-ml-2.v29.ch3.sourceforge.com) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1XICWn-0001B1-0U; Fri, 15 Aug 2014 08:06:25 +0000 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1XICWm-0001Au-2j for edk2-devel@lists.sourceforge.net; Fri, 15 Aug 2014 08:06:24 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=lersek@redhat.com; helo=mx1.redhat.com; Received: from mx1.redhat.com ([209.132.183.28]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1XICWk-0008Ak-PY for edk2-devel@lists.sourceforge.net; Fri, 15 Aug 2014 08:06:24 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s7F86Fal008582 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 15 Aug 2014 04:06:15 -0400 Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-77.ams2.redhat.com [10.36.116.77]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s7F86EpF009359 for ; Fri, 15 Aug 2014 04:06:15 -0400 From: Laszlo Ersek To: edk2-devel@lists.sourceforge.net Date: Fri, 15 Aug 2014 10:06:12 +0200 Message-Id: <1408089972-25120-1-git-send-email-lersek@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-Spam-Score: -2.2 (--) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-Headers-End: 1XICWk-0008Ak-PY Subject: [edk2] [PATCH] MdePkg: library INF files should reference feature PCDs under [FeaturePcd] X-BeenThere: edk2-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: edk2-devel@lists.sourceforge.net List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.sourceforge.net X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lersek@redhat.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 This patch updates users of PcdVerifyNodeInList and PcdValidateOrderedCollection. Suggested-by: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek --- MdePkg/Library/BaseLib/BaseLib.inf | 2 ++ .../BaseOrderedCollectionRedBlackTreeLib.inf | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/MdePkg/Library/BaseLib/BaseLib.inf b/MdePkg/Library/BaseLib/BaseLib.inf index d431ff0..36246ed 100644 --- a/MdePkg/Library/BaseLib/BaseLib.inf +++ b/MdePkg/Library/BaseLib/BaseLib.inf @@ -504,4 +504,6 @@ gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength + +[FeaturePcd] gEfiMdePkgTokenSpaceGuid.PcdVerifyNodeInList diff --git a/MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf b/MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf index 4546725..8c17e6e 100644 --- a/MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf +++ b/MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf @@ -45,5 +45,5 @@ DebugLib MemoryAllocationLib -[Pcd] - gEfiMdePkgTokenSpaceGuid.PcdValidateOrderedCollection ## CONSUMES +[FeaturePcd] + gEfiMdePkgTokenSpaceGuid.PcdValidateOrderedCollection