diff options
author | Peter Crosthwaite <peter.crosthwaite@xilinx.com> | 2014-02-26 17:20:08 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-02-26 17:20:08 +0000 |
commit | 432a0a130e203e18656e54f59e817271bf1c078f (patch) | |
tree | c74fce0f784ae13c80bc4e3e99955bcfa5738565 | |
parent | 1c8be73d4ec576450f315d6a94fc0c89e200c479 (diff) |
dma/pl330: Add event debugging printfs
These are helpful to anyone trying to debug event sequencing.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: e82a0ad804db3de4f46839e55a9d287735ef870d.1393372019.git.peter.crosthwaite@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | hw/dma/pl330.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/dma/pl330.c b/hw/dma/pl330.c index 8046a6f810..303f8b8f2c 100644 --- a/hw/dma/pl330.c +++ b/hw/dma/pl330.c @@ -873,6 +873,7 @@ static void pl330_dmasev(PL330Chan *ch, uint8_t opcode, uint8_t *args, int len) DB_PRINT("event interrupt raised %" PRId8 "\n", ev_id); qemu_irq_raise(ch->parent->irq[ev_id]); } + DB_PRINT("event raised %" PRId8 "\n", ev_id); ch->parent->ev_status |= (1 << ev_id); } @@ -975,6 +976,7 @@ static void pl330_dmawfe(PL330Chan *ch, uint8_t opcode, } } ch->parent->ev_status &= ~(1 << ev_id); + DB_PRINT("event lowered %" PRIx8 "\n", ev_id); } else { ch->stall = 1; } |