gint/include/gint
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
..
defs minor new definitions 2019-09-13 08:08:22 +02:00
drivers way too much, including bopti/topti, timers, and more. 2019-02-21 21:00:26 +01:00
mpu dma: add support for all six channels (merges #1) 2019-08-08 11:21:10 +02:00
std Ajout de la fonction srtcat et modification du 0 de la police de la Graph 90+E 2019-07-31 04:24:42 -04:00
bfile.h core: add BFile syscalls 2019-07-04 12:15:13 -04:00
clock.h way too much, including bopti/topti, timers, and more. 2019-02-21 21:00:26 +01:00
display-cg.h minor new definitions 2019-09-13 08:08:22 +02:00
display-fx.h bopti: add support for r5g6b5 and r5g6b5a on fxcg50 2019-08-27 21:04:07 +02:00
display.h render: add one-parameter dvline() and dhline() 2019-09-07 11:26:11 +02:00
dma.h dma: fix freezes when transferring to/from IL memory 2019-09-15 15:20:23 +02:00
drivers.h expose more platform-agnostic code 2019-09-06 12:16:31 +02:00
exc.h core: allow custom panics and exception catching 2019-09-13 08:10:30 +02:00
gint.h bootlog: make a copy for use in gintctl 2019-05-04 12:07:14 +02:00
gray.h minor new definitions 2019-09-13 08:08:22 +02:00
hardware.h dma: only expose API on fxcg50 2019-09-15 10:20:37 +02:00
keyboard.h style, formatting, font 2019-09-03 22:29:04 +02:00
keycodes.h way too much, including bopti/topti, timers, and more. 2019-02-21 21:00:26 +01:00
rtc.h way too much, including bopti/topti, timers, and more. 2019-02-21 21:00:26 +01:00
syscalls.h render: refactor to share functions, and basic text on fxcg50 2019-06-15 01:05:31 -04:00
timer.h tmu: export definitions, clean stop, expose address 2019-07-16 15:39:38 -04:00