fw_cfg: move QOM type defines and fw_cfg types into fw_cfg.h
commit39736e18cda64c501caab00d93ebfd8b4cf6b36e
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 14 Jul 2017 09:40:08 +0000 (14 10:40 +0100)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 17 Jul 2017 18:41:30 +0000 (17 15:41 -0300)
tree95c0b1c5ae42d47beb4e293517aa489dfed849dd
parent38f3adc34de83bf75d2023831dc520d32568a2d9
fw_cfg: move QOM type defines and fw_cfg types into fw_cfg.h

By exposing FWCfgIoState and FWCfgMemState internals we allow the possibility
for the internal MemoryRegion fields to be mapped by name for boards that wish
to wire up the fw_cfg device themselves.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <1500025208-14827-4-git-send-email-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/nvram/fw_cfg.c
include/hw/nvram/fw_cfg.h
include/qemu/typedefs.h