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 4904AAC0DD7 for ; Wed, 17 Apr 2024 08:13:17 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=XUg8tV0ywIfVyeBNW5nKQZYErau7BAVin9SGsvN9Yg0=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id: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=1713341595; v=1; b=xT0VBv6QIziFQR7jwr/kMpobWjlDZHRfxaA+svu07fZNtYYuhdI/XbTUjuIiNmUDDAb3Qr+d GI73m/kYvR9z3VNzPDD5bRY67dyR/vR5kD/yrfE5x49g2EbME24EbF9j6cUZFCzsCAH875eUg4W ybCwXfuXvD5tRvSW8D/WlAV5uJ4MREUkayiiNdXCWzu+RUqf+pt9/qF+xPMGhKRgFLVoJjhpDym rXqkPhKgM7oLo4gGFIVsvfBj88xpMODIAhmf8IpIf2ShX8Cw4gHUlyDwDy/ZnSDCXEAOcSkzMgn WxAu6P8JfC4XcN8Cf8DTdzS24Zg0ekIXg3nkdrrK764qw== X-Received: by 127.0.0.2 with SMTP id 7VxMYY7687511xSYwWMzXihA; Wed, 17 Apr 2024 01:13:15 -0700 X-Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by mx.groups.io with SMTP id smtpd.web10.7644.1713341593751171916 for ; Wed, 17 Apr 2024 01:13:14 -0700 X-Received: from loongson.cn (unknown [10.2.9.245]) by gateway (Coremail) with SMTP id _____8AxSbqVhB9m964oAA--.11184S3; Wed, 17 Apr 2024 16:13:09 +0800 (CST) X-Received: from code-server.gen (unknown [10.2.9.245]) by localhost.localdomain (Coremail) with SMTP id AQAAf8CxJBGThB9m4M59AA--.32485S2; Wed, 17 Apr 2024 16:13:07 +0800 (CST) From: "Chao Li" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Jiewen Yao , Gerd Hoffmann , Leif Lindholm , Sami Mujawar , Sunil V L , Andrei Warkentin Subject: [edk2-devel] [PATCH v1 0/4] Adjust the QemuFwCfgLibMmio and add PEI stage Date: Wed, 17 Apr 2024 16:12:56 +0800 Message-Id: <20240417081256.3125187-1-lichao@loongson.cn> MIME-Version: 1.0 X-CM-TRANSID: AQAAf8CxJBGThB9m4M59AA--.32485S2 X-CM-SenderInfo: xolfxt3r6o00pqjv00gofq/1tbiAQAKCGYeNusLoQAGsK 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:14 -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: diHnJcEao8bzRC3Qg9dFfBNKx7686176AA= 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=xT0VBv6Q; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.9 as permitted sender) smtp.mailfrom=bounce@groups.io Patch1: Added three PCDs for QemuFwCfgLibMmio Patch2: Sparate QemuFwCfgLibMmio.c into two files and default as DXE stage library. Patch3: Added QemuFwCfgMmiLib PEI version Patch4: Rename QemuFwCfgLibMmio.inf to QemuFwCfgMmioDxeLib.inf and enable it in AARCH64 and RISCV64. BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4755 PR: https://github.com/tianocore/edk2/pull/5568 Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Gerd Hoffmann Cc: Leif Lindholm Cc: Sami Mujawar Cc: Sunil V L Cc: Andrei Warkentin Chao Li (4): OvmfPkg: Add three PCDs for QemuFwCfgLib OvmfPkg: Separate QemuFwCfgLibMmio.c into two files OvmfPkg: Add the QemuFwCfgMmioLib PEI stage version OvmfPkg: Rename QemuFwCfgLibMmio.inf and enable new name in AARCH64 and RISCV64 virtual machines ArmVirtPkg/ArmVirtQemu.dsc | 2 +- ArmVirtPkg/ArmVirtQemuKernel.dsc | 2 +- .../Library/QemuFwCfgLib/QemuFwCfgLibMmio.c | 213 ++---------------- .../QemuFwCfgLib/QemuFwCfgLibMmioInternal.h | 174 ++++++++++++++ .../Library/QemuFwCfgLib/QemuFwCfgMmioDxe.c | 149 ++++++++++++ ...CfgLibMmio.inf => QemuFwCfgMmioDxeLib.inf} | 10 +- .../Library/QemuFwCfgLib/QemuFwCfgMmioPei.c | 159 +++++++++++++ .../QemuFwCfgLib/QemuFwCfgMmioPeiLib.inf | 50 ++++ OvmfPkg/OvmfPkg.dec | 18 ++ OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc | 2 +- 10 files changed, 576 insertions(+), 203 deletions(-) create mode 100644 OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibMmioInternal.h create mode 100644 OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgMmioDxe.c rename OvmfPkg/Library/QemuFwCfgLib/{QemuFwCfgLibMmio.inf => QemuFwCfgMmioDxeLib.inf} (69%) create mode 100644 OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgMmioPei.c create mode 100644 OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgMmioPeiLib.inf -- 2.27.0 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117904): https://edk2.groups.io/g/devel/message/117904 Mute This Topic: https://groups.io/mt/105573103/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-