|
@@ -36,6 +36,7 @@
|
|
#include "sysemu/dma.h"
|
|
#include "sysemu/dma.h"
|
|
#include "hw/stream.h"
|
|
#include "hw/stream.h"
|
|
#include "qom/object.h"
|
|
#include "qom/object.h"
|
|
|
|
+#include "trace.h"
|
|
|
|
|
|
#define D(x)
|
|
#define D(x)
|
|
|
|
|
|
@@ -201,6 +202,8 @@ static MemTxResult stream_desc_load(struct Stream *s, hwaddr addr)
|
|
addr, MEMTXATTRS_UNSPECIFIED,
|
|
addr, MEMTXATTRS_UNSPECIFIED,
|
|
d, sizeof *d);
|
|
d, sizeof *d);
|
|
if (result != MEMTX_OK) {
|
|
if (result != MEMTX_OK) {
|
|
|
|
+ trace_xilinx_axidma_loading_desc_fail(result);
|
|
|
|
+
|
|
if (result == MEMTX_DECODE_ERROR) {
|
|
if (result == MEMTX_DECODE_ERROR) {
|
|
s->regs[R_DMASR] |= DMASR_DECERR;
|
|
s->regs[R_DMASR] |= DMASR_DECERR;
|
|
} else {
|
|
} else {
|