e65436634d
xilinx_axidma: converted init->realize
...
The prescribed transition from SysBusDevice::init to Device::realize. I'm going
with Andreas suggestion to move the sysbus foo to Object::init for early IRQ
visibility.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com >
Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com >
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2013-04-16 10:04:22 +02:00
897374db7d
xilinx_axidma: Register reset properly
...
Register the reset function as the Device::reset function rather than
explicitly call it from the sysbus::init.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com >
Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com >
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2013-04-16 10:04:22 +02:00
cbde584f58
xilinx_axidma: Defined and use type cast macro
...
Standard QOM cast macro. Replaces usages of FROM_SYSBUS
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com >
Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com >
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2013-04-16 10:04:22 +02:00
42e8a283f5
xilinx_axidma: typedef XilinxAXIDMA struct
...
Typedef xilinx_axidma's object state struct to shorten the repeated usages of
struct XilinxAXIDMA.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com >
Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com >
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com >
2013-04-16 10:04:22 +02:00
49ab747f66
hw: move target-independent files to subdirectories
...
This patch tackles all files that are compiled once, moving
them to subdirectories of hw/.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2013-04-08 18:13:12 +02:00