]> git.proxmox.com Git - mirror_edk2.git/commit - ArmVirtPkg/ArmVirtQemu.dsc
ArmVirtPkg: VirtFdtDxe: detect fw-cfg DMA interface from the DTB
authorLaszlo Ersek <lersek@redhat.com>
Thu, 24 Sep 2015 21:40:36 +0000 (21:40 +0000)
committerlersek <lersek@Edk2>
Thu, 24 Sep 2015 21:40:36 +0000 (21:40 +0000)
commit50b91449a3a073af3a7c87af83002016e7e34cc4
treecd8f396193928b044d9a5d1cd841d0bf5293dcfb
parent6add86ab5967931ef9bca871931443e69f9cc09d
ArmVirtPkg: VirtFdtDxe: detect fw-cfg DMA interface from the DTB

A DMA-like transfer interface has recently been implemented in QEMU for
fw-cfg. For ARM and AARCH64 virtual machines, the binding prescribes a new
8-byte wide register at offset 0x10 in the register block. Make VirtFdtDxe
expose this register if it is present.

Please see "docs/specs/fw_cfg.txt" in the QEMU tree for more information.

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@18544 6f19259b-4bc3-4df7-8a09-765794883524
ArmVirtPkg/ArmVirtPkg.dec
ArmVirtPkg/ArmVirtQemu.dsc
ArmVirtPkg/ArmVirtXen.dsc
ArmVirtPkg/VirtFdtDxe/VirtFdtDxe.c
ArmVirtPkg/VirtFdtDxe/VirtFdtDxe.inf