From patchwork Mon Apr 12 13:29:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony PERARD X-Patchwork-Id: 12198049 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,MIME_BASE64_TEXT, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 608D8C433ED for ; Mon, 12 Apr 2021 13:30:33 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E78646128C for ; Mon, 12 Apr 2021 13:30:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E78646128C Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=citrix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.109094.208227 (Exim 4.92) (envelope-from ) id 1lVwdx-0000AA-Ol; Mon, 12 Apr 2021 13:30:21 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 109094.208227; Mon, 12 Apr 2021 13:30:21 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lVwdx-00009u-Ko; Mon, 12 Apr 2021 13:30:21 +0000 Received: by outflank-mailman (input) for mailman id 109094; Mon, 12 Apr 2021 13:30:19 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lVwdv-0008Sj-Ih for xen-devel@lists.xenproject.org; Mon, 12 Apr 2021 13:30:19 +0000 Received: from esa2.hc3370-68.iphmx.com (unknown [216.71.145.153]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 58a5058b-be7c-4495-acf5-6ea5e8e5f6b3; Mon, 12 Apr 2021 13:30:11 +0000 (UTC) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 58a5058b-be7c-4495-acf5-6ea5e8e5f6b3 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1618234210; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=bhExrpoXQzqyeVVfKYNOFCo9TmJMG2rk9lhz1ih9ZWg=; b=RpfGpQM6So25pEONRH/0HnSCbSSFEKybK85OtPcTGDbl11Fd7Q8R+8Gx TCPZLB/Ekb1BGnz96fLtuZKWlEvvbJSksRc043enIMYkMoVW0Up5r2sZE 0isJ2ZxpBCOhvF1T3IbwaaOxFc1WsJWw6vmtv65sfuhJIRoxhytkgohQO s=; Authentication-Results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: lMnJf0wiMDJsUzqBXizAog3gsw6ICUWa8Us3G0VNSDotNoe4NYIDpspzcIPEFqXCSRqjgBQG3P rHB6iQTRrNZ3sM1xKhXM325+gAZMFNJnr+js2jCHnCA1rAtHSTGghYZAvdZFR4l4rg4r7pMDJI XJ3kRuQEPKXUog9XJ7BJ3+ZNyig2i+gD88h6wZbI75tDPqjsfutRhvkhkHPzGY8rBQ831ZRRG1 3L5cy+aLDYBuj2qwrTuGGB+o/cllGBm4TZFap5Id+GuN0BF/Azxtm1uHmJ90e9wIXNm+Z6AoKW KeI= X-SBRS: 4.0 X-MesageID: 41386141 X-Ironport-Server: esa2.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED IronPort-HdrOrdr: A9a23:zGM11qPp4RoTocBcTkKjsMiAIKoaSvp033AA/SlKJiB9WMqeis yogbAnzhfykjkcQzUNntqHNamGTxrnhPlIyKMWOqqvWxSjhXuwIOhZnPLf6hDpBiGWzI9g/I h6dawWMrDNJHh8yf33+QypV+snqeP3kpyAocf74zNTQRpxa6dmhj0JbjqzNkFtXgFJCd4YOf OnhvZvnDardXQJYsnTPBBsNIL+jubGm578bRkNCwRP0njqsRqS5KPnCB/d5x8CUlp0sNEf2F LYmA/07LjLiZ+G4yLbvlW+071m3P/oyt5OH6W3+6soFgk= X-IronPort-AV: E=Sophos;i="5.82,216,1613451600"; d="scan'208";a="41386141" From: Anthony PERARD To: CC: Laszlo Ersek , Jordan Justen , Ard Biesheuvel , , Anthony PERARD , Julien Grall , Michael D Kinney , Liming Gao , Zhiguang Liu , Liming Gao Subject: [PATCH v3 2/7] MdePkg: Allow PcdFSBClock to by Dynamic Date: Mon, 12 Apr 2021 14:29:58 +0100 Message-ID: <20210412133003.146438-3-anthony.perard@citrix.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210412133003.146438-1-anthony.perard@citrix.com> References: <20210412133003.146438-1-anthony.perard@citrix.com> MIME-Version: 1.0 We are going to want to change the value of PcdFSBClock at run time in OvmfXen, so move it to the PcdsDynamic section. Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2490 Signed-off-by: Anthony PERARD Reviewed-by: Laszlo Ersek Reviewed-by: Liming Gao Reviewed-by: Liming Gao --- Notes: CC: Michael D Kinney CC: Liming Gao CC: Zhiguang Liu MdePkg/MdePkg.dec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index f4156920e599..8965e903e093 100644 --- a/MdePkg/MdePkg.dec +++ b/MdePkg/MdePkg.dec @@ -2265,10 +2265,6 @@ [PcdsFixedAtBuild,PcdsPatchableInModule] # @ValidList 0x80000001 | 8, 16, 32 gEfiMdePkgTokenSpaceGuid.PcdPort80DataWidth|8|UINT8|0x0000002d - ## This value is used to configure X86 Processor FSB clock. - # @Prompt FSB Clock. - gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000|UINT32|0x0000000c - ## The maximum printable number of characters. UefLib functions: AsciiPrint(), AsciiErrorPrint(), # PrintXY(), AsciiPrintXY(), Print(), ErrorPrint() base on this PCD value to print characters. # @Prompt Maximum Printable Number of Characters. @@ -2372,5 +2368,9 @@ [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx] # @Prompt Boot Timeout (s) gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0xffff|UINT16|0x0000002c + ## This value is used to configure X86 Processor FSB clock. + # @Prompt FSB Clock. + gEfiMdePkgTokenSpaceGuid.PcdFSBClock|200000000|UINT32|0x0000000c + [UserExtensions.TianoCore."ExtraFiles"] MdePkgExtra.uni