diff options
author | Mark Cave-Ayland | 2018-08-29 18:59:07 +0200 |
---|---|---|
committer | David Gibson | 2018-08-30 02:42:18 +0200 |
commit | 5c8e3d17eda655ee7644a41cc0df646c7280ab2f (patch) | |
tree | 354ce4069e3c567908594ec042b44a8e578b4c4b /include/hw/misc/macio/macio.h | |
parent | macio: add macio bus to help with fw path generation (diff) | |
download | qemu-5c8e3d17eda655ee7644a41cc0df646c7280ab2f.tar.gz qemu-5c8e3d17eda655ee7644a41cc0df646c7280ab2f.tar.xz qemu-5c8e3d17eda655ee7644a41cc0df646c7280ab2f.zip |
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/macio/macio.h')
-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 3189973ee6..970058b6ed 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; |