zephyr/subsys/bluetooth/host
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
..
a2dp.c Bluetooth: Move common code to common/ 2017-05-12 12:56:14 +03:00
a2dp_internal.h Bluetooth: A2DP: Stream End Point Structure 2017-01-28 08:43:41 +02:00
at.c Bluetooth: convert to using newly introduced integer sized types 2017-04-20 13:25:23 -05:00
at.h Bluetooth: convert to using newly introduced integer sized types 2017-04-20 13:25:23 -05:00
att.c Bluetooth: GATT: Add GAP service by default 2017-06-15 21:53:00 +03:00
att_internal.h Bluetooth: convert to using newly introduced integer sized types 2017-04-20 13:25:23 -05:00
avdtp.c Bluetooth: AVDTP: Remove dead code 2017-05-25 09:14:05 -07:00
avdtp_internal.h Bluetooth: convert to using newly introduced integer sized types 2017-04-20 13:25:23 -05:00
conn.c Bluetooth: conn: Fix notifying all pending tx packets in send_frag() 2017-07-06 20:46:25 +03:00
conn_internal.h Bluetooth: Clean up struct bt_conn 2017-07-05 12:40:11 +03:00
crypto.c Bluetooth: Move PRNG initialization a bit later in HCI init 2017-06-27 13:16:16 +03:00
crypto.h Bluetooth: Make LE Encrypt helpers public 2017-03-21 17:05:42 -07:00
ecc.h Bluetooth: convert to using newly introduced integer sized types 2017-04-20 13:25:23 -05:00
gatt.c kernel: make K_.*_INITIALIZER private to kernel 2017-07-10 11:44:56 -07:00
gatt_internal.h Bluetooth: GATT: Add GAP service by default 2017-06-15 21:53:00 +03:00
hci_core.c kernel: make K_.*_INITIALIZER private to kernel 2017-07-10 11:44:56 -07:00
hci_core.h Bluetooth: Move common code to common/ 2017-05-12 12:56:14 +03:00
hci_ecc.c Bluetooth: hci_ecc: Use ATOMIC_DEFINE() for the flags 2017-06-30 12:55:33 +03:00
hci_ecc.h Bluetooth: Make bt_hci_driver instances link-time constants 2017-03-21 17:05:42 -07:00
hci_raw.c Bluetooth: Move common code to common/ 2017-05-12 12:56:14 +03:00
hci_raw_internal.h Bluetooth: Make bt_hci_driver instances link-time constants 2017-03-21 17:05:42 -07:00
hfp_hf.c Bluetooth: Move common code to common/ 2017-05-12 12:56:14 +03:00
hfp_internal.h Bluetooth: convert to using newly introduced integer sized types 2017-04-20 13:25:23 -05:00
Kconfig Bluetooth: Kconfig: let MAX_PAIRED be 0 if SMP is not supported 2017-07-04 17:30:40 +03:00
keys.c Bluetooth: Move common code to common/ 2017-05-12 12:56:14 +03:00
keys.h Bluetooth: Fix alignment issues resulting from new integer types 2017-04-29 11:39:13 -04:00
keys_br.c Bluetooth: Move common code to common/ 2017-05-12 12:56:14 +03:00
l2cap.c net: buf: Move net_buf_pool objects to dedicated linker area 2017-06-16 17:05:06 +03:00
l2cap_br.c Bluetooth: Move common code to common/ 2017-05-12 12:56:14 +03:00
l2cap_internal.h Bluetooth: Consolidate flow control Kconfig 2017-05-04 18:09:31 +03:00
Makefile Bluetooth: Move common code to common/ 2017-05-12 12:56:14 +03:00
monitor.c Bluetooth: monitor: Remove interrupt locking from monitor_console_out() 2017-06-30 17:19:56 +03:00
monitor.h Bluetooth: Fix alignment issues resulting from new integer types 2017-04-29 11:39:13 -04:00
rfcomm.c misc: use K_THREAD_STACK_DEFINE macros 2017-06-09 18:53:28 -04:00
rfcomm_internal.h Bluetooth: convert to using newly introduced integer sized types 2017-04-20 13:25:23 -05:00
sdp.c Bluetooth: SDP: Fix possible out of bound memory access 2017-06-01 12:36:09 +03:00
sdp_internal.h Bluetooth: convert to using newly introduced integer sized types 2017-04-20 13:25:23 -05:00
smp.c Bluetooth: Move common code to common/ 2017-05-12 12:56:14 +03:00
smp.h Bluetooth: Move common code to common/ 2017-05-12 12:56:14 +03:00
smp_null.c Bluetooth: Move common code to common/ 2017-05-12 12:56:14 +03:00
storage.c Bluetooth: Move common code to common/ 2017-05-12 12:56:14 +03:00
uuid.c Bluetooth: convert to using newly introduced integer sized types 2017-04-20 13:25:23 -05:00