gint/include/gint
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
..
defs defs: use auto instead of __auto_type in C++ 2021-05-12 09:17:24 +02:00
drivers kernel: driver and world system overhaul 2021-04-23 20:44:08 +02:00
mpu usb: USB 2.0 function driver (WIP) 2021-04-11 19:04:54 +02:00
std string: use __restrict instead of restrict for C++ compatibility 2021-04-27 14:48:34 +02:00
bfile.h add utility types BFile_FileType, off_t 2021-04-26 21:58:52 +02:00
clock.h cpu: allow functions to block the sleep() function 2021-05-12 09:17:25 +02:00
config.h.in kmalloc: implement a custom segregated list allocator 2021-03-15 15:04:24 +01:00
cpu.h cpu: allow functions to block the sleep() function 2021-05-12 09:17:25 +02:00
display-cg.h bopti: deprecate image_t, renamed to bopti_image_t 2020-06-01 12:11:59 +02:00
display-fx.h remove features that are deprecated as of v2.1 2020-07-26 11:47:23 +02:00
display.h display: add a dfont_default() function to get the default font 2021-02-28 22:28:12 +01:00
dma.h (minor changes) 2021-05-12 09:17:24 +02:00
drivers.h kernel: driver and world system overhaul 2021-04-23 20:44:08 +02:00
exc.h kernel: dynamic loading of GMAPPED functions to user RAM 2020-09-17 14:48:54 +02:00
gint.h use GINT_CALL() in every API that has callbacks 2021-04-27 14:29:38 +02:00
gray.h gray: expose pointers to the screen buffers 2021-05-12 09:17:24 +02:00
hardware.h kernel: driver and world system overhaul 2021-04-23 20:44:08 +02:00
intc.h intc: allow any call in intc_handler_function() 2021-05-12 09:17:24 +02:00
keyboard.h getkey: add a "feature function" to create application-wide shortcuts 2021-05-12 09:17:24 +02:00
keycodes.h way too much, including bopti/topti, timers, and more. 2019-02-21 21:00:26 +01:00
kmalloc.h kmalloc: implement a custom segregated list allocator 2021-03-15 15:04:24 +01:00
kprint.h kprint: add floating-point formatting based in Grisu2b 59,56 2021-02-02 22:18:15 +01:00
mmu.h mmu: add an mmu_uram_size() function detecting static RAM size 2021-02-05 18:20:16 +01:00
rtc.h use GINT_CALL() in every API that has callbacks 2021-04-27 14:29:38 +02:00
timer.h (minor changes) 2021-05-12 09:17:24 +02:00
usb-ff-bulk.h usb: USB 2.0 function driver (WIP) 2021-04-11 19:04:54 +02:00
usb.h usb: improve and expose the sync/async write API 2021-05-12 09:17:24 +02:00