ArmVirtPkg: QemuFwCfgLib: read bytes from fw-cfg with DMA when available

The protocol is documented in "docs/specs/fw_cfg.txt" in the QEMU tree.

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18545 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Laszlo Ersek
2015-09-24 21:40:41 +00:00
committed by lersek
parent 50b91449a3
commit 953bcbcce4
2 changed files with 121 additions and 7 deletions

View File

@@ -44,9 +44,11 @@
[LibraryClasses]
BaseLib
BaseMemoryLib
DebugLib
IoLib
PcdLib
[Pcd]
gArmVirtTokenSpaceGuid.PcdFwCfgSelectorAddress
gArmVirtTokenSpaceGuid.PcdFwCfgDataAddress
gArmVirtTokenSpaceGuid.PcdFwCfgDmaAddress