From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (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 2B05081F63 for ; Mon, 30 Jan 2017 15:07:44 -0800 (PST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP; 30 Jan 2017 15:07:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,312,1477983600"; d="scan'208";a="219460440" Received: from aarabaya-mobl.ger.corp.intel.com (HELO localhost) ([10.252.139.202]) by fmsmga004.fm.intel.com with ESMTP; 30 Jan 2017 15:07:43 -0800 MIME-Version: 1.0 To: Laszlo Ersek , "edk2-devel-01" Message-ID: <148581766317.595.2737163338705498280@jljusten-ivb> From: Jordan Justen In-Reply-To: <20170127112942.19212-1-lersek@redhat.com> Cc: "Ard Biesheuvel" References: <20170127112942.19212-1-lersek@redhat.com> User-Agent: alot/0.3.7 Date: Mon, 30 Jan 2017 15:07:43 -0800 Subject: Re: [PATCH 0/5] OvmfPkg, ArmVirtPkg: QemuFwCfgLib: partial rewrite of fw_cfg files 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: Mon, 30 Jan 2017 23:07:44 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Series Reviewed-by: Jordan Justen On 2017-01-27 03:29:37, Laszlo Ersek wrote: > This feature will allow OvmfPkg/AcpiPlatformDxe to implement the > QEMU_LOADER_WRITE_POINTER command, which will instruct the firmware to > write the address of a previously allocated/downloaded fw_cfg blob into > another (writeable) fw_cfg file at a specific offset, in order to inform > QEMU about the allocation address. The command will be based on the > QemuFwCfgSkipBytes() and QemuFwCfgWriteBytes() APIs. > = > Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3D359 > Repo: https://github.com/lersek/edk2.git > Branch: fwcfg_skip > = > Cc: Ard Biesheuvel > Cc: Jordan Justen > = > Thanks, > Laszlo > = > Laszlo Ersek (5): > OvmfPkg/QemuFwCfgLib: generalize InternalQemuFwCfgDmaBytes() to SKIP > op > OvmfPkg/QemuFwCfgLib: add QemuFwCfgSkipBytes() > ArmVirtPkg/QemuFwCfgLib: extract generic DmaTransferBytes() function > ArmVirtPkg/QemuFwCfgLib: use DMA for QemuFwCfgWriteBytes() if > available > ArmVirtPkg/QemuFwCfgLib: implement QemuFwCfgSkipBytes() API > = > OvmfPkg/Include/Library/QemuFwCfgLib.h | 16 ++ > ArmVirtPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c | 178 ++++++++++++++++++-- > OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.c | 75 +++++++-- > 3 files changed, 246 insertions(+), 23 deletions(-) > = > -- = > 2.9.3 >=20