From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 10C5681F23 for ; Thu, 1 Dec 2016 09:56:39 -0800 (PST) Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7C2336DD95; Thu, 1 Dec 2016 17:56:38 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-138.phx2.redhat.com [10.3.116.138]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uB1HuaWo018501; Thu, 1 Dec 2016 12:56:37 -0500 From: Laszlo Ersek To: edk2-devel-01 Cc: Ard Biesheuvel , Jordan Justen Date: Thu, 1 Dec 2016 18:56:28 +0100 Message-Id: <20161201175633.2538-1-lersek@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Thu, 01 Dec 2016 17:56:38 +0000 (UTC) Subject: [PATCH 0/5] OvmfPkg/QemuFwCfgLib: support the DMA-like interface X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2016 17:56:39 -0000 I plan to use the DMA interface of QEMU's fw_cfg in upcoming features (one short term, another long term). The first four patches in the series refactor the current library instances (and even the lib class) slightly, while the last patch adds the feature to OVMF. Repo: https://github.com/lersek/edk2/ Branch: ovmf_fwcfg_dma Cc: Ard Biesheuvel Cc: Jordan Justen Thanks Laszlo Laszlo Ersek (5): ArmVirtPkg/QemuFwCfgLib: remove superfluous InternalQemuFwCfgIsAvailable() OvmfPkg/QemuFwCfgLib: move InternalQemuFwCfgIsAvailable() to lib instances OvmfPkg/IndustryStandard: add QemuFwCfgDma.h ArmVirtPkg/QemuFwCfgLib: rebase lib instance to OvmfPkg/IndustryStandard OvmfPkg/QemuFwCfgLib: support QEMU's DMA-like fw_cfg access method ArmVirtPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c | 55 +++----------- OvmfPkg/Include/IndustryStandard/QemuFwCfgDma.h | 50 +++++++++++++ OvmfPkg/Include/Library/QemuFwCfgLib.h | 16 ----- OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c | 75 ++++++++++++++++++++ OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf | 1 + OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibInternal.h | 46 ++++++++++++ OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiDxe.c | 29 +++++++- OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSec.c | 17 ++++- OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf | 1 + 9 files changed, 225 insertions(+), 65 deletions(-) create mode 100644 OvmfPkg/Include/IndustryStandard/QemuFwCfgDma.h create mode 100644 OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibInternal.h -- 2.9.2