diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2018-08-29 17:59:07 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-08-30 10:42:18 +1000 |
commit | 5c8e3d17eda655ee7644a41cc0df646c7280ab2f (patch) | |
tree | 354ce4069e3c567908594ec042b44a8e578b4c4b /include/hw/misc | |
parent | bf31c56f096ae11367c6ba19a47387d008791996 (diff) | |
download | qemu-5c8e3d17eda655ee7644a41cc0df646c7280ab2f.zip qemu-5c8e3d17eda655ee7644a41cc0df646c7280ab2f.tar.gz qemu-5c8e3d17eda655ee7644a41cc0df646c7280ab2f.tar.bz2 |
macio: add addr property to macio IDE object
This contains the offset of the IDE controller within the macio address space
and is required to allow the address to be included within the fw path.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/misc')
-rw-r--r-- | include/hw/misc/macio/macio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/misc/macio/macio.h b/include/hw/misc/macio/macio.h index 3189973..970058b 100644 --- a/include/hw/misc/macio/macio.h +++ b/include/hw/misc/macio/macio.h @@ -51,6 +51,7 @@ typedef struct MACIOIDEState { /*< private >*/ SysBusDevice parent_obj; /*< public >*/ + uint32_t addr; uint32_t channel; qemu_irq real_ide_irq; qemu_irq real_dma_irq; |