From patchwork Tue Jun 30 13:17:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 50478 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 98D50229DF for ; Tue, 30 Jun 2015 13:18:12 +0000 (UTC) Received: by wiwz6 with SMTP id z6sf6674322wiw.0 for ; Tue, 30 Jun 2015 06:18:11 -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:in-reply-to :references:cc:subject:precedence:reply-to:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :content-type:content-transfer-encoding:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=9A+OHDWYvFr6ySt3J2zD/6rQM/j51vWRlMgBrpnyrDE=; b=j/ceI+GVcsK2yXvSZx8OYhUbJmZVm5lOX2nsurx+HLQvTcrCsTlyWHRbA15ItEK4mB 4a4Z/JAdtaMD6KEKCjctUaHpCkzP+LKUU0XDvSS+NVD2NvuggFcJQclCNh25ct/vTeI+ qlg7E6W9mUSp/cPARNzjugyqPZcP9H1fNvdkBw36xciS57RlAsHjmtAhZ+7cva5foUrK fPh8NPrSha8MqHbz3IR7N0V9CMXr5+COAmid2O4HG0qxBoUvEnidv4CXpa9kuQcDI7fK AEKAxG84KEXvfYJmAw1hlXbhH8yBj93aksFBMuFUoZM6kv/vp8QnzTu4nw3IUsk1/Sf8 jF3g== X-Gm-Message-State: ALoCoQnzhNnDr+IF/31Sm6mzJEpLvlbkK3dsH1Dp1MYwH3T6bifH7ww73IaV/lCqg9ffvRc11bh7 X-Received: by 10.112.26.5 with SMTP id h5mr14131464lbg.4.1435670291922; Tue, 30 Jun 2015 06:18:11 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.19.39 with SMTP id b7ls41505lae.85.gmail; Tue, 30 Jun 2015 06:18:11 -0700 (PDT) X-Received: by 10.152.9.5 with SMTP id v5mr19296775laa.111.1435670291776; Tue, 30 Jun 2015 06:18:11 -0700 (PDT) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id jq7si37088308lab.37.2015.06.30.06.18.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Jun 2015 06:18:11 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by laar3 with SMTP id r3so13133800laa.0 for ; Tue, 30 Jun 2015 06:18:11 -0700 (PDT) X-Received: by 10.112.42.50 with SMTP id k18mr18029945lbl.76.1435670291498; Tue, 30 Jun 2015 06:18:11 -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.112.108.230 with SMTP id hn6csp2444461lbb; Tue, 30 Jun 2015 06:18:10 -0700 (PDT) X-Received: by 10.107.138.201 with SMTP id c70mr29389535ioj.24.1435670289860; Tue, 30 Jun 2015 06:18:09 -0700 (PDT) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id y7si11074089igl.15.2015.06.30.06.18.09 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 30 Jun 2015 06:18:09 -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 1Z9vQE-0004kR-Na; Tue, 30 Jun 2015 13:17:58 +0000 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Z9vQD-0004kI-Fm for edk2-devel@lists.sourceforge.net; Tue, 30 Jun 2015 13:17:57 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of linaro.org designates 74.125.82.48 as permitted sender) client-ip=74.125.82.48; envelope-from=ard.biesheuvel@linaro.org; helo=mail-wg0-f48.google.com; Received: from mail-wg0-f48.google.com ([74.125.82.48]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1Z9vQC-0003Gk-M2 for edk2-devel@lists.sourceforge.net; Tue, 30 Jun 2015 13:17:57 +0000 Received: by wguu7 with SMTP id u7so9468227wgu.3 for ; Tue, 30 Jun 2015 06:17:50 -0700 (PDT) X-Received: by 10.180.208.7 with SMTP id ma7mr34501758wic.0.1435670270661; Tue, 30 Jun 2015 06:17:50 -0700 (PDT) Received: from localhost.localdomain ([185.13.106.91]) by mx.google.com with ESMTPSA id lk5sm16980848wic.24.2015.06.30.06.17.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 30 Jun 2015 06:17:49 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.sourceforge.net, lersek@redhat.com, jiewen.yao@intel.com Date: Tue, 30 Jun 2015 15:17:33 +0200 Message-Id: <1435670255-4106-4-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1435670255-4106-1-git-send-email-ard.biesheuvel@linaro.org> References: <1435670255-4106-1-git-send-email-ard.biesheuvel@linaro.org> X-Spam-Score: -1.5 (-) 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_PASS SPF: sender matches SPF record X-Headers-End: 1Z9vQC-0003Gk-M2 Cc: matt.fleming@intel.com Subject: [edk2] [PATCH 3/5] MdeModulePkg: rename PropertiesTableEnable to PcdPropertiesTableEnable 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: ard.biesheuvel@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 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 PCD names should start with 'Pcd' so rename PropertiesTableEnable to PcdPropertiesTableEnable. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel --- MdeModulePkg/Core/Dxe/DxeMain.inf | 2 +- MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c | 2 +- MdeModulePkg/MdeModulePkg.dec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MdeModulePkg/Core/Dxe/DxeMain.inf b/MdeModulePkg/Core/Dxe/DxeMain.inf index 9afae4e8eeec..7ebf0d7abfe1 100644 --- a/MdeModulePkg/Core/Dxe/DxeMain.inf +++ b/MdeModulePkg/Core/Dxe/DxeMain.inf @@ -185,7 +185,7 @@ [Pcd] gEfiMdeModulePkgTokenSpaceGuid.PcdMaxEfiSystemTablePointerAddress ## CONSUMES gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfileMemoryType ## CONSUMES gEfiMdeModulePkgTokenSpaceGuid.PcdMemoryProfilePropertyMask ## CONSUMES - gEfiMdeModulePkgTokenSpaceGuid.PropertiesTableEnable ## CONSUMES + gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable ## CONSUMES # [Hob] # RESOURCE_DESCRIPTOR ## CONSUMES diff --git a/MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c b/MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c index 9459c6bda337..0232a3ce7d93 100644 --- a/MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c +++ b/MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c @@ -1311,7 +1311,7 @@ InstallPropertiesTable ( VOID *Context ) { - if (PcdGetBool (PropertiesTableEnable)) { + if (PcdGetBool (PcdPropertiesTableEnable)) { EFI_STATUS Status; Status = gBS->InstallConfigurationTable (&gEfiPropertiesTableGuid, &mPropertiesTable); diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 14e27a27702e..f4763bbe6c34 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -1299,7 +1299,7 @@ [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx] # section. If PE code/data sections are merged, the result is unpredictable. # # @Prompt Publish UEFI PropertiesTable. - gEfiMdeModulePkgTokenSpaceGuid.PropertiesTableEnable|TRUE|BOOLEAN|0x0000006e + gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|TRUE|BOOLEAN|0x0000006e ## Default OEM ID for ACPI table creation, its length must be 0x6 bytes to follow ACPI specification. # @Prompt Default OEM ID for ACPI table creation.