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 43EFB81FB8 for ; Fri, 27 Jan 2017 03:29:47 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx16.intmail.prod.int.phx2.redhat.com [10.5.11.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C54343B702; Fri, 27 Jan 2017 11:29:47 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-16.ams2.redhat.com [10.36.116.16]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9BCAB2112BD; Fri, 27 Jan 2017 11:29:46 +0000 (UTC) From: Laszlo Ersek To: edk2-devel-01 Cc: Ard Biesheuvel , Jordan Justen Date: Fri, 27 Jan 2017 12:29:37 +0100 Message-Id: <20170127112942.19212-1-lersek@redhat.com> X-Scanned-By: MIMEDefang 2.74 on 10.5.11.28 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Fri, 27 Jan 2017 11:29:47 +0000 (UTC) Subject: [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: Fri, 27 Jan 2017 11:29:47 -0000 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=359 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