gint/src
Lephe 95dbec17ab
cpu: allow functions to block the sleep() function
This change introduces new sleep_block() and sleep_unblock() functions
that control whether the sleep() function actually sleeps. This type of
behavior was already implemented in the DMA driver, since DMA access to
on-chip memory is paused when sleeping (on-chip memory being paused
itself), which would make waiting for a DMA transfer a freeze.

Because DMA transfers are now asynchronous, and USB transfers that may
involve on-chip memory are coming, this API change allows the DMA and
USB drivers to block the sleep() function so that user code can sleep()
for interrupts without having to worry about asynchronous tasks
requiring on-chip memory to complete.
2021-05-12 09:17:25 +02:00
..
3rdparty kprint: add floating-point formatting based in Grisu2b 59,56 2021-02-02 22:18:15 +01:00
cpg kernel: driver and world system overhaul 2021-04-23 20:44:08 +02:00
cpu cpu: allow functions to block the sleep() function 2021-05-12 09:17:25 +02:00
dma cpu: allow functions to block the sleep() function 2021-05-12 09:17:25 +02:00
gray gray: expose pointers to the screen buffers 2021-05-12 09:17:24 +02:00
intc intc: allow any call in intc_handler_function() 2021-05-12 09:17:24 +02:00
kernel string: use __restrict instead of restrict for C++ compatibility 2021-04-27 14:48:34 +02:00
keysc getkey: add a "feature function" to create application-wide shortcuts 2021-05-12 09:17:24 +02:00
kmalloc (typos and TODOs) 2021-04-20 12:19:24 +02:00
kprint kprint: add floating-point formatting based in Grisu2b 59,56 2021-02-02 22:18:15 +01:00
mmu kernel: driver and world system overhaul 2021-04-23 20:44:08 +02:00
r61524 dma: add an asynchronous API 2021-05-12 09:17:24 +02:00
render display: fix bound checking in drect_border (#14) 2021-05-12 09:17:24 +02:00
render-cg display: add a maximum size parameter to dtext_opt() 2021-02-15 18:37:06 +01:00
render-fx kernel: driver and world system overhaul 2021-04-23 20:44:08 +02:00
rtc intc: allow any call in intc_handler_function() 2021-05-12 09:17:24 +02:00
spu kernel: driver and world system overhaul 2021-04-23 20:44:08 +02:00
std kmalloc: create the kmalloc interface 2021-03-12 17:24:49 +01:00
t6k11 kernel: driver and world system overhaul 2021-04-23 20:44:08 +02:00
tmu use GINT_CALL() in every API that has callbacks 2021-04-27 14:29:38 +02:00
usb usb: improve and expose the sync/async write API 2021-05-12 09:17:24 +02:00
font5x7.png render: refactor to share functions, and basic text on fxcg50 2019-06-15 01:05:31 -04:00
font8x9.png topti: custom character and word spacing (#13) 2020-10-05 16:14:12 +02:00
fxconv-metadata.txt switch build system to CMake 2021-01-25 15:31:20 +01:00