zephyr/drivers/bluetooth
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
..
hci kernel: make K_.*_INITIALIZER private to kernel 2017-07-10 11:44:56 -07:00
Kconfig Bluetooth: Remove support for NBLE 2017-05-25 09:03:16 -07:00
Makefile Bluetooth: Remove support for NBLE 2017-05-25 09:03:16 -07:00
nrf51_pm.c Bluetooth: Move common code to common/ 2017-05-12 12:56:14 +03:00
nrf51_pm.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
util.h Bluetooth: convert to using newly introduced integer sized types 2017-04-20 13:25:23 -05:00