[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH v2 1/6] isa: add isa_bus_from_device() method
From: |
Hervé Poussineau |
Subject: |
[Qemu-ppc] [PATCH v2 1/6] isa: add isa_bus_from_device() method |
Date: |
Sat, 14 Apr 2012 22:48:34 +0200 |
Signed-off-by: Hervé Poussineau <address@hidden>
---
hw/isa.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/hw/isa.h b/hw/isa.h
index 40373fb..f7bc4b5 100644
--- a/hw/isa.h
+++ b/hw/isa.h
@@ -76,6 +76,11 @@ void isa_register_portio_list(ISADevice *dev, uint16_t start,
const MemoryRegionPortio *portio,
void *opaque, const char *name);
+static inline ISABus *isa_bus_from_device(ISADevice *d)
+{
+ return DO_UPCAST(ISABus, qbus, d->qdev.parent_bus);
+}
+
extern target_phys_addr_t isa_mem_base;
void isa_mmio_setup(MemoryRegion *mr, target_phys_addr_t size);
--
1.7.9.1
- [Qemu-ppc] [PATCH v2 0/6] prep: some fixes and Super I/O emulation, Hervé Poussineau, 2012/04/14
- [Qemu-ppc] [PATCH v2 1/6] isa: add isa_bus_from_device() method,
Hervé Poussineau <=
- [Qemu-ppc] [PATCH v2 2/6] prep: add pc87312 Super I/O emulation, Hervé Poussineau, 2012/04/14
- [Qemu-ppc] [PATCH v2 3/6] prep: use pc87312 Super I/O chip instead of collection of random ISA devices, Hervé Poussineau, 2012/04/14
- [Qemu-ppc] [PATCH v2 4/6] prep: move int-ack register from PReP to Raven PCI emulation, Hervé Poussineau, 2012/04/14
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v2 4/6] prep: move int-ack register from PReP to Raven PCI emulation, Andreas Färber, 2012/04/28
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v2 4/6] prep: move int-ack register from PReP to Raven PCI emulation, Hervé Poussineau, 2012/04/28
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v2 4/6] prep: move int-ack register from PReP to Raven PCI emulation, Avi Kivity, 2012/04/29
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v2 4/6] prep: move int-ack register from PReP to Raven PCI emulation, Andreas Färber, 2012/04/29
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v2 4/6] prep: move int-ack register from PReP to Raven PCI emulation, Avi Kivity, 2012/04/30
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v2 4/6] prep: move int-ack register from PReP to Raven PCI emulation, Andreas Färber, 2012/04/30
[Qemu-ppc] [PATCH v2 5/6] pcspk: initialize PC speaker if compiled in, Hervé Poussineau, 2012/04/14