Statistics
| Branch: | Revision:

root / hw / sysbus.h @ 93148aa5

History | View | Annotate | Download (3 kB)

# Date Author Comment
39bffca2 02/03/2012 06:41 pm Anthony Liguori

qdev: register all types natively through QEMU Object Model

This was done in a mostly automated fashion. I did it in three steps and then
rebased it into a single step which avoids repeatedly touching every file in
the tree.

The first step was a sed-based addition of the parent type to the subclass...

999e12bb 01/27/2012 06:50 pm Anthony Liguori

sysbus: apic: ioapic: convert to QEMU Object Model

This converts three devices because apic and ioapic are subclasses of sysbus.
Converting subclasses independently of their base class is prohibitively hard.

Signed-off-by: Anthony Liguori <>

ea0e6841 01/17/2012 03:08 am Evgeny Voevodin

hw/sysbus.h: Increase maximum number of device IRQs.

Samsung exynos4210 Interrupt Combiner needs 512 IRQ sources.

Signed-off-by: Evgeny Voevodin <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Andrzej Zaborowski <>

62ec4832 12/20/2011 02:14 pm Avi Kivity

sysbus: add sysbus_address_space()

Given a bus device, retrieves the memory address space for its bus.

Signed-off-by: Avi Kivity <>

ab0115e1 12/19/2011 09:36 pm Benoît Canet

sysbus: remove sysbus_init_mmio_cb2

This function is not longer in use so remove it.

Signed-off-by: Benoît Canet <>
Signed-off-by: Anthony Liguori <>

750ecd44 11/28/2011 03:38 pm Avi Kivity

sysbus: rename sysbus_init_mmio_region() to sysbus_init_mmio()

Signed-off-by: Avi Kivity <>

3f7f1c80 11/28/2011 03:38 pm Avi Kivity

sysbus: remove sysbus_init_mmio()

No longer used - replaced by sysbus_init_mmio_region().

Signed-off-by: Avi Kivity <>

2b985d9c 09/04/2011 05:46 pm Avi Kivity

sysbus: add helpers to add and delete memory regions to the system bus

Reviewed-by: Richard Henderson <>
Signed-off-by: Avi Kivity <>

d40b2af8 09/04/2011 05:46 pm Avi Kivity

sysbus: add sysbus_add_memory_overlap()

Signed-off-by: Avi Kivity <>

46c305ef 08/28/2011 07:22 pm Peter Maydell

hw/sysbus: Add sysbus_mmio_get_region()

Add a sysbus_mmio_get_region() which allows users of sysbus
devices to turn a (SysBusDevice*, mmioidx) tuple into a
MemoryRegion*. This enables some useful simplifications of
devices which pass through another device's mmio region...

01e0451a 08/25/2011 10:39 pm Anthony Liguori

Revert "Merge remote-tracking branch 'qemu-kvm/memory/batch' into staging"

This reverts commit 8ef9ea85a2cc1007eaefa53e6871f1f83bcef22d, reversing
changes made to 444dc48298c480e42e15a8fe676be737d8a6b2a1.

From Avi:

Please revert the entire pull (git revert 8ef9ea85a2cc1) while I work this...
28e77964 08/25/2011 10:56 am Avi Kivity

sysbus: add sysbus_add_memory_overlap()

Signed-off-by: Avi Kivity <>

be35694d 08/24/2011 08:17 pm Avi Kivity

sysbus: add helpers to add and delete memory regions to the system bus

Reviewed-by: Richard Henderson <>
Signed-off-by: Avi Kivity <>

c5b3572f 08/22/2011 06:47 pm Avi Kivity

sysbus: remove sysbus_init_mmio_cb()

This problem with this function is that it is not reversible - it is
impossible to know where things are registered and unregister them
exactly. As there are no more users, we can remove it.

Signed-off-by: Avi Kivity <>...

d7612013 08/22/2011 06:47 pm Avi Kivity

sysbus: add a variant of sysbus_init_mmio_cb with an unmap callback

sysbus_init_mmio_cb() uses the destructive IO_MEM_UNASSIGNED to remove a
region. Provide an alternative that calls an unmap callback, so the removal
may be done non-destructively.

Signed-off-by: Avi Kivity <>...

ec3bb837 07/29/2011 04:25 pm Avi Kivity

sysbus: add MemoryRegion based memory management API

Allow registering sysbus device memory using a MemoryRegion. Once all users
are converted, sysbus_init_mmio() and sysbus_init_mmio_cb() will be removed.

Reviewed-by: Anthony Liguori <>...

4912371f 02/12/2011 11:45 am Blue Swirl

sysbus: add creation function that may fail

Signed-off-by: Blue Swirl <>

c646f74f 12/11/2010 11:32 pm Gleb Natapov

Add get_fw_dev_path callback for system bus.

Prints out mmio or pio used to access child device.

Signed-off-by: Gleb Natapov <>
Signed-off-by: Blue Swirl <>

3f7132d1 10/02/2010 05:27 pm Blue Swirl

sysbus: fix address truncation

Fix address truncation in sysbus by using a wider type.

Reported-by: Artyom Tarasenko <>
Tested-by: Andreas Färber <>
Signed-off-by: Blue Swirl <>

c227f099 10/02/2009 12:12 am Anthony Liguori

Revert "Get rid of _t suffix"

In the very least, a change like this requires discussion on the list.

The naming convention is goofy and it causes a massive merge problem. Something
like this must be presented on the list first so people can provide input...

99a0949b 10/01/2009 09:45 pm malc

Get rid of _t suffix

Some not so obvious bits, slirp and Xen were left alone for the time
being.

Signed-off-by: malc <>

81a322d4 08/28/2009 04:43 am Gerd Hoffmann

qdev: add return value to init() callbacks.

Sorry folks, but it has to be. One more of these invasive qdev patches.

We have a serious design bug in the qdev interface: device init
callbacks can't signal failure because the init() callback has no
return value. This patch fixes it....

a1961a4b 07/16/2009 05:15 pm Blue Swirl

Sparc32: convert slavio interrupt controller to qdev

Also increase QDEV_MAX_IRQ.

Signed-off-by: Blue Swirl <>

f40070c3 07/12/2009 10:28 pm Blue Swirl

Sparc32: convert tcx to qdev

Also increase QDEV_MAX_MMIO.

Signed-off-by: Blue Swirl <>

074f2fff 06/11/2009 03:47 pm Gerd Hoffmann

qdev: move name+size into DeviceInfo (v2)

Rationale: move device information from code to data structures.

v2: Adapt the drivers missed in the first version.

Signed-off-by: Gerd Hoffmann <>

1431b6a1 06/05/2009 05:52 pm Paul Brook

Record device property types

Record device property types, and provide a list of properties at device
registration time.

Add a "device" property type that holds a reference to annother device.

Signed-off-by: Paul Brook <>

aae9460e 05/15/2009 12:35 am Paul Brook

Basic qdev infrastructure.

Signed-off-by: Paul Brook <>