mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2025-01-03 23:43:36 +01:00
acc35d774f
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. |
||
---|---|---|
.. | ||
gint |