mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
stream: Remove app argument hack
The uint32_t *app argument doesn't exist in real hardware. It was a hack in xilinx_axidma/enet to fake the (secondary) control stream connection. Removed the argument and added the second stream to axienet/dma. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
3630ae952a
commit
42bb9c9178
6 changed files with 186 additions and 66 deletions
|
@ -43,12 +43,11 @@ typedef struct StreamSlaveClass {
|
|||
* @buf: Data to write
|
||||
* @len: Maximum number of bytes to write
|
||||
*/
|
||||
size_t (*push)(StreamSlave *obj, unsigned char *buf, size_t len,
|
||||
uint32_t *app);
|
||||
size_t (*push)(StreamSlave *obj, unsigned char *buf, size_t len);
|
||||
} StreamSlaveClass;
|
||||
|
||||
size_t
|
||||
stream_push(StreamSlave *sink, uint8_t *buf, size_t len, uint32_t *app);
|
||||
stream_push(StreamSlave *sink, uint8_t *buf, size_t len);
|
||||
|
||||
bool
|
||||
stream_can_push(StreamSlave *sink, StreamCanPushNotifyFn notify,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue