zephyr/arch/arc
Andrew Boie d26cf2dc33 kernel: add k_thread_create() API
Unline k_thread_spawn(), the struct k_thread can live anywhere and not
in the thread's stack region. This will be useful for memory protection
scenarios where private kernel structures for a thread are not
accessible by that thread, or we want to allow the thread to use all the
stack space we gave it.

This requires a change to the internal _new_thread() API as we need to
provide a separate pointer for the k_thread.

By default, we still create internal threads with the k_thread in stack
memory. Forthcoming patches will change this, but we first need to make
it easier to define k_thread memory of variable size depending on
whether we need to store coprocessor state or not.

Change-Id: I533bbcf317833ba67a771b356b6bbc6596bf60f5
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-05-11 20:24:22 -04:00
..
core kernel: add k_thread_create() API 2017-05-11 20:24:22 -04:00
include kernel: expose struct k_thread implementation 2017-04-26 16:29:06 +00:00
soc arch/arc/soc: If IOAPIC is not enabled, gpio_dw should still compile 2017-04-21 16:34:54 +00:00
defconfig arc: Remove nonexistant Kconfig sybmol from defconfig 2016-07-27 17:14:54 +00:00
Kbuild new SoC naming convention 2016-04-18 21:24:59 +00:00
Kconfig spell: fix Kconfig help typos: /arch 2017-04-21 12:30:42 +00:00
Makefile arc: add -fno-delete-null-pointer-checks 2017-01-04 19:06:41 +00:00