diff options
| author | Marc MarĂ <markmb@redhat.com> | 2015-10-08 17:02:55 +0200 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2015-10-19 15:26:53 +0200 |
| commit | a4c0d1deb785611c96a455f65ec032976b00b36f (patch) | |
| tree | b8b72b8b03b8a30e36cf0e4e924dd47566627b97 /hw/arm/virt.c | |
| parent | c9eae1d4b93695d98fa5306a28b7fb7acc34ae67 (diff) | |
| download | focaccia-qemu-a4c0d1deb785611c96a455f65ec032976b00b36f.tar.gz focaccia-qemu-a4c0d1deb785611c96a455f65ec032976b00b36f.zip | |
Implement fw_cfg DMA interface
Based on the specifications on docs/specs/fw_cfg.txt This interface is an addon. The old interface can still be used as usual. Based on Gerd Hoffman's initial implementation. Signed-off-by: Marc MarĂ <markmb@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/arm/virt.c')
| -rw-r--r-- | hw/arm/virt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 4e7160ce96..b670bc684c 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -683,7 +683,7 @@ static void create_fw_cfg(const VirtBoardInfo *vbi) hwaddr size = vbi->memmap[VIRT_FW_CFG].size; char *nodename; - fw_cfg_init_mem_wide(base + 8, base, 8); + fw_cfg_init_mem_wide(base + 8, base, 8, 0, NULL); nodename = g_strdup_printf("/fw-cfg@%" PRIx64, base); qemu_fdt_add_subnode(vbi->fdt, nodename); |