audk/OvmfPkg/Include/Library
Laszlo Ersek fcca9f67fb OvmfPkg/QemuFwCfgLib: add QemuFwCfgSkipBytes()
Introduce the new public API QemuFwCfgSkipBytes(), for advancing over
bytes in the selected firmware configuration item without transferring
data between the item and the caller.

When the DMA interface is available (the common case), the operation is
instantaneous. As a fallback, provide a loop of chunked reads into a small
stack-allocated scratch buffer.

This patch enables OvmfPkg/QemuFwCfgLib to overwrite part of a writeable
fw_cfg file, which will be particularly useful for the upcoming
QEMU_LOADER_WRITE_POINTER command in OvmfPkg/AcpiPlatformDxe.

Cc: Jordan Justen <jordan.l.justen@intel.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=359
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
2017-01-31 00:14:35 +01:00
..
LoadLinuxLib.h OvmfPkg: Fix typing errors in header files 2016-09-13 14:14:31 +02:00
NvVarsFileLib.h
PlatformFvbLib.h OvmfPkg EMU FVB: Add 2 functions to PlatformFvbLib 2011-01-09 03:51:16 +00:00
QemuBootOrderLib.h OvmfPkg, ArmVirtPkg: clean up SetBootOrderFromQemu() parameter list 2016-05-25 12:25:19 +02:00
QemuFwCfgLib.h OvmfPkg/QemuFwCfgLib: add QemuFwCfgSkipBytes() 2017-01-31 00:14:35 +01:00
SerializeVariablesLib.h OvmfPkg: Add SerializeVariablesLib library class 2011-01-30 19:49:37 +00:00
VirtioLib.h OvmfPkg: VirtioLib: add Virtio10WriteFeatures() function 2016-04-06 19:21:50 +02:00
VirtioMmioDeviceLib.h OvmfPkg/VirtioMmioDeviceLib: Implement VIRTIO_DEVICE_PROTOCOL for VirtIo Devices over MMIO 2013-12-11 16:57:59 +00:00
XenHypercallLib.h OvmfPkg/XenHypercallLib: Add EFIAPI 2016-12-06 18:00:32 +01:00
XenIoMmioLib.h ArmVirtualizationPkg: add XenIoMmioLib 2015-02-28 20:34:16 +00:00