gint/src/dma
Lephe bb77e4588d
dma: fix freezes when transferring to/from IL memory
The IL memory is unavailable when the processor goes to sleep, causing
any involved DMA transfer to stall. The dma_transfer_wait() normally
sleeps to save battery power, but this causes the whole system to freeze
and never wake up.

This change lets dma_transfer_wait() decide dynamically whether to sleep
or spinlock. There is no concrete improvement over dma_transfer_noint()
when using IL memory, but it makes dma_transfer() fully generic.

Obviously the same goes for X and Y memory.
2019-09-15 15:20:23 +02:00
..
dma.c dma: fix freezes when transferring to/from IL memory 2019-09-15 15:20:23 +02:00
inth.s core: allow custom panics and exception catching 2019-09-13 08:10:30 +02:00
memset.c dma: fix freezes when transferring to/from IL memory 2019-09-15 15:20:23 +02:00