gint/include/gint
Lephe acc35d774f
dma: add an asynchronous API
This change adds asynchronous capabilities to the DMA API. Previously,
transfers would start asynchronously but could only be completed by a
call to dma_transfer_wait(). The API now supports a callback, as well
as the dma_transfer_sync() variant, to be consistent with the upcoming
USB API that has both _sync and _async versions of functions.

The interrupt handler of the DMA was changed to include a return to
userland, which is required to perform the callback.

* dma_transfer() is now an obsolete synonym for dma_transfer_async()
  with no callback.
* dma_transfer_noint() is now a synonym for dma_transfer_atomic(), for
  consistency with the upcoming USB API.
2021-05-12 09:17:24 +02:00
..
defs kernel: specify the return values of standard GINT_CALLs 2021-04-26 22:01:14 +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 cpg, tmu: add spin waiting and spin delay functions for drivers 2020-10-21 14:49:34 +02:00
config.h.in kmalloc: implement a custom segregated list allocator 2021-03-15 15:04:24 +01:00
cpu.h kernel: driver and world system overhaul 2021-04-23 20:44:08 +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 dma: add an asynchronous API 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 remove features that are deprecated as of v2.1 2020-07-26 11:47:23 +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: use the new keydev interface 2021-03-05 14:49:24 +01: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 use GINT_CALL() in every API that has callbacks 2021-04-27 14:29:38 +02:00
usb-ff-bulk.h usb: USB 2.0 function driver (WIP) 2021-04-11 19:04:54 +02:00
usb.h gint: rename the callbacks GINT_CALL, as there are synchronous ones 2021-04-20 17:51:53 +02:00