zephyr/drivers/dma
Andrew Boie 8345e5ebf0 syscalls: remove policy from handler checks
The various macros to do checks in system call handlers all
implictly would generate a kernel oops if a check failed.
This is undesirable for a few reasons:

* System call handlers that acquire resources in the handler
  have no good recourse for cleanup if a check fails.
* In some cases we may want to propagate a return value back
  to the caller instead of just killing the calling thread,
  even though the base API doesn't do these checks.

These macros now all return a value, if nonzero is returned
the check failed. K_OOPS() now wraps these calls to generate
a kernel oops.

At the moment, the policy for all APIs has not changed. They
still all oops upon a failed check/

The macros now use the Z_ notation for private APIs.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2018-05-17 23:34:03 +03:00
..
CMakeLists.txt drivers: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for driver files. 2018-05-15 17:48:18 +03:00
Kconfig drivers: dma: Add dma driver for Nios-II MSGDMA core 2018-05-03 10:38:09 -04:00
Kconfig.cavs drivers: dma: introduce Intel CAVS DMA 2018-05-01 16:46:41 -04:00
Kconfig.nios2_msgdma drivers: dma: Add dma driver for Nios-II MSGDMA core 2018-05-03 10:38:09 -04:00
Kconfig.qmsi kconfig: fix more help spacing issues 2018-02-15 23:20:55 -05:00
Kconfig.sam_xdmac drivers: Add Atmel SAM DMA (XDMAC) driver 2017-11-30 10:30:33 -05:00
Kconfig.stm32f4x kconfig: fix more help spacing issues 2018-02-15 23:20:55 -05:00
dma_cavs.c drivers: dma: introduce Intel CAVS DMA 2018-05-01 16:46:41 -04:00
dma_cavs.h drivers: dma: introduce Intel CAVS DMA 2018-05-01 16:46:41 -04:00
dma_handlers.c syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
dma_nios2_msgdma.c drivers: dma: Add dma driver for Nios-II MSGDMA core 2018-05-03 10:38:09 -04:00
dma_qmsi.c drivers: dma: remove deprecated API functions 2017-09-22 07:50:20 -04:00
dma_sam_xdmac.c drivers: Add Atmel SAM DMA (XDMAC) driver 2017-11-30 10:30:33 -05:00
dma_sam_xdmac.h drivers: Add Atmel SAM DMA (XDMAC) driver 2017-11-30 10:30:33 -05:00
dma_stm32f4x.c drivers/dma: dma_stm32f4x: check stream id boundaries 2018-05-15 15:48:55 -05:00