zephyr/drivers/spi
Andrew Boie 65a9d2a94a kernel: make K_.*_INITIALIZER private to kernel
Upcoming memory protection features will be placing some additional
constraints on kernel objects:

- They need to reside in memory owned by the kernel and not the
application
- Certain kernel object validation schemes will require some run-time
initialization of all kernel objects before they can be used.

Per Ben these initializer macros were never intended to be public. It is
not forbidden to use them, but doing so requires care: the memory being
initialized must reside in kernel space, and extra runtime
initialization steps may need to be peformed before they are fully
usable as kernel objects. In particular, kernel subsystems or drivers
whose objects are already in kernel memory may still need to use these
macros if they define kernel objects as members of a larger data
structure.

It is intended that application developers instead use the
K_<object>_DEFINE macros, which will automatically put the object in the
right memory and add them to a section which can be iterated over at
boot to complete initiailization.

There was no K_WORK_DEFINE() macro for creating struct k_work objects,
this is now added.

k_poll_event and k_poll_signal are intended to be instatiated from
application memory and have not been changed.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-07-10 11:44:56 -07:00
..
Kconfig spi: add SPI driver for STM32 family 2017-07-01 08:36:51 -04:00
Kconfig.dw doc: misspellings in Kconfig files 2017-05-05 19:38:53 -04:00
Kconfig.mcux_dspi spell: Kconfig help typos: /arch 2017-04-24 20:14:53 +00:00
Kconfig.nrf5 drivers: spi: add nRF5 slave driver 2017-05-11 22:35:28 -04:00
Makefile spi: add SPI driver for STM32 family 2017-07-01 08:36:51 -04:00
spi_context.h kernel: make K_.*_INITIALIZER private to kernel 2017-07-10 11:44:56 -07:00
spi_dw.c spi: Cleanup use of C99 types 2017-06-22 13:47:28 -04:00
spi_dw.h drivers/spi: Handle synchronous calls in a generic manner in DW driver 2017-05-19 18:52:25 -04:00
spi_dw_legacy.c drivers/spi: Adapt DW driver to new SPI API 2017-05-19 18:52:25 -04:00
spi_dw_quark_se_ss_regs.h drivers/spi: Adapt DW driver to new SPI API 2017-05-19 18:52:25 -04:00
spi_dw_regs.h drivers/spi: Adapt DW driver to new SPI API 2017-05-19 18:52:25 -04:00
spi_intel.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
spi_intel.h drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
spi_ll_stm32.c spi: add SPI driver for STM32 family 2017-07-01 08:36:51 -04:00
spi_ll_stm32.h spi: add SPI driver for STM32 family 2017-07-01 08:36:51 -04:00
spi_mcux_dspi.c drivers: spi_mcux_dspi: Fix unlikely but possible division by zero 2017-05-23 06:48:26 -05:00
spi_qmsi.c drivers/spi: Get QMSI shim driver following syntax rules 2017-04-21 16:34:52 +00:00
spi_qmsi_ss.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
spim_nrf52.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
spis_nrf5.c drivers: spi: add nRF5 slave driver 2017-05-11 22:35:28 -04:00