]> git.ipfire.org Git - thirdparty/qemu.git/commit
xilinx_axidma: Create Proxy object for stream
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Tue, 16 Apr 2013 00:25:57 +0000 (10:25 +1000)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Tue, 16 Apr 2013 08:04:22 +0000 (10:04 +0200)
commite1500e35c22be345cd04f77fa6993770b689eaa9
tree75ec620e9c15a43df90af8e91fada5a7347f4834
parent55b3e0c2f8fb7ef6d7929de23f3ae2a3d805ebff
xilinx_axidma: Create Proxy object for stream

Create a separate child object to proxy the stream slave connection. This is
setup for future work where a second stream slave connection is needed. The
new child object is created at qdev init time and is linked back to the parent
(the ethernet device itself) automatically.

Stream slave masters differentiate which slave connection they are connected to
by linking to the proxy object rather than the parent.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
hw/dma/xilinx_axidma.c
hw/microblaze/petalogix_ml605_mmu.c