From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail04.groups.io (mail04.groups.io [45.79.224.9]) by spool.mail.gandi.net (Postfix) with ESMTPS id DF4FCD8027A for ; Wed, 17 Apr 2024 08:13:45 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=nX7E+cXqJzMEm16B29jwD8+JvA3Lf1podpIVYO/doQw=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1713341624; v=1; b=ioVdiKtNrVpzE/zjx2YDd+4+SvT0jb75YAgl/G23/5uF5FmJvMWvx1U98jWwJyw33RXWnIYP zu6H89lKqBlGB/IxyA5ekYJ6k3nthiIS+yIluu9uWgM/TkBqiGTA8hrohzgaP24iPp16MRIb5uY FvRuHdOqU5tNvulTbH6pERggXrc61F8SAEj4U+1sRxkcn3uhd28hpCJrN/v0XdjtJS71KI3BOW3 mh0z9qLyJq/lr+Nkse3zv2m0YajuZSJ64U5UtwsziHu6SnZFYBHT65rMb9AgTWCx1zPS2oTt0JZ NVNQXwVUTmmRAzl5hbgeI9wn0g3XwHXY3x1fgleexFHMg== X-Received: by 127.0.0.2 with SMTP id JIEYYY7687511xY2TvD3f7n5; Wed, 17 Apr 2024 01:13:44 -0700 X-Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by mx.groups.io with SMTP id smtpd.web10.7649.1713341623193364331 for ; Wed, 17 Apr 2024 01:13:44 -0700 X-Received: from loongson.cn (unknown [10.2.9.245]) by gateway (Coremail) with SMTP id _____8CxKLqxhB9mHK8oAA--.11153S3; Wed, 17 Apr 2024 16:13:37 +0800 (CST) X-Received: from code-server.gen (unknown [10.2.9.245]) by localhost.localdomain (Coremail) with SMTP id AQAAf8CxPs+xhB9mE899AA--.42514S2; Wed, 17 Apr 2024 16:13:37 +0800 (CST) From: "Chao Li" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Jiewen Yao , Gerd Hoffmann Subject: [edk2-devel] [PATCH v1 1/4] OvmfPkg: Add three PCDs for QemuFwCfgLib Date: Wed, 17 Apr 2024 16:13:36 +0800 Message-Id: <20240417081336.3125334-1-lichao@loongson.cn> In-Reply-To: <20240417081256.3125187-1-lichao@loongson.cn> References: <20240417081256.3125187-1-lichao@loongson.cn> MIME-Version: 1.0 X-CM-TRANSID: AQAAf8CxPs+xhB9mE899AA--.42514S2 X-CM-SenderInfo: xolfxt3r6o00pqjv00gofq/1tbiAQAKCGYeNusLoQAIsE X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3UbIjqfuFe4nvWSU5nxnvy29KBjDU0xBIdaVrnUUvcSsGvfC2Kfnx nUUI43ZEXa7xR_UUUUUUUUU== Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Wed, 17 Apr 2024 01:13:44 -0700 Resent-From: lichao@loongson.cn Reply-To: devel@edk2.groups.io,lichao@loongson.cn List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 2GDqjiJ494kqdSDFxGKbJuXyx7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=ioVdiKtN; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.9 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=none Added three PCDs named PcdFwCfgSelectorAddress, PcdFwCfgDataAddress and PcdFwCfgDmaAddress, all of type PcdsDynamic and PcdDynamicEx, whcih will be used in QemuFwCfgLibMmio version to replace the three global variables in QemuFwCfgLib. BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4755 Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Gerd Hoffmann Signed-off-by: Chao Li --- OvmfPkg/OvmfPkg.dec | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/OvmfPkg/OvmfPkg.dec b/OvmfPkg/OvmfPkg.dec index fbc81e4c80..c09b92df60 100644 --- a/OvmfPkg/OvmfPkg.dec +++ b/OvmfPkg/OvmfPkg.dec @@ -390,6 +390,24 @@ [PcdsDynamic, PcdsDynamicEx] # gUefiOvmfPkgTokenSpaceGuid.PcdForceNoAcpi|0x0|BOOLEAN|0x69 + # + # This PCD uses to save the fw_cfg selector address when using the QEMU + # as the emulator. + # + gUefiOvmfPkgTokenSpaceGuid.PcdFwCfgSelectorAddress|0x0|UINT64|0x70 + + # + # This PCD uses to save the fw_cfg data address when using the QEMU + # as the emulator. + # + gUefiOvmfPkgTokenSpaceGuid.PcdFwCfgDataAddress|0x0|UINT64|0x71 + + # + # This PCD uses to save the fw_cfg DMA address when using the QEMU + # as the emulator. + # + gUefiOvmfPkgTokenSpaceGuid.PcdFwCfgDmaAddress|0x0|UINT64|0x72 + [PcdsFixedAtBuild, PcdsPatchableInModule] # # This is the physical address where the device tree is expected to be stored -- 2.27.0 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117905): https://edk2.groups.io/g/devel/message/117905 Mute This Topic: https://groups.io/mt/105573104/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-