and 11--14 are handled separately.
Signed-off-by: Andrey Makarov
---
In version v4:
- added a license header to bcm2835-dma-test.c
In version v3:
- changed naming of orgate & removed hard-coded constants
In version v2:
1) an OR-gate is added according to review
2) a simple qtest is
In v3:
- changed naming of orgate & removed hard-coded constants
Signed-off-by: Andrey Makarov
---
hw/arm/bcm2835_peripherals.c | 25 ++-
include/hw/arm/bcm2835_peripherals.h | 2 +
tests/qtest/bcm2835-dma-test.c | 106 +++
tests/qtest/meson.b
and 11--14 are handled separately.
In version v2:
1) an OR-gate is added according to review
2) a simple qtest is added for testing DMA & its interrupts
Signed-off-by: Andrey Makarov
---
hw/arm/bcm2835_peripherals.c | 21 +-
include/hw/arm/bcm2835_peripherals.h | 2 +
tes
All Raspberry Pi models 1-3 (based on bcm2835) have
Linux device tree (arch/arm/boot/dts/bcm2835-common.dtsi +25):
/* dma channel 11-14 share one irq */
which mismatched the Qemu model.
In this patch channels 0--10 and 11--14 are handled separately.
Signed-off-by: Andrey Makarov
---
hw