zephyr/kernel
Peter Bigot 2fcf76219e userspace: update k_object API to support immutable objects
The k_object API associates mutable state structures with known kernel
objects to support userspace.  The kernel objects themselves are not
modified by the API, and in some cases (e.g. device structures) may be
const-qualified.  Update the API so that pointers to these const
kernel objects can be passed without casting away the const qualifier.

Fixes #27399

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-09-02 13:48:13 +02:00
..
include userspace: introduce default memory domain 2020-08-26 20:35:02 -04:00
atomic_c.c kernel: Add k_heap synchronized memory allocator 2020-04-14 10:05:55 -07:00
cache_handlers.c syscalls: Add system call for cache flush & invalidate 2020-08-04 17:26:45 -04:00
CMakeLists.txt cmake: fix include directories to work with out-of-tree arch 2020-08-05 08:06:07 -04:00
compiler_stack_protect.c kernel: Fix gcc-9.2 warning with _StackCheckHandler 2019-10-04 05:22:30 -07:00
device.c device: Revise how initialization status is being handled 2020-09-02 13:48:13 +02:00
errno.c headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
fatal.c debug/coredump: add a primitive coredump mechanism 2020-08-24 20:28:24 -04:00
futex.c kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
idle.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
init.c kernel: init: allow custom switch to main for no-multithreading case 2020-08-07 13:06:04 +02:00
Kconfig kernel: add CONFIG_ARCH_MEM_DOMAIN_SYNCHRONOUS_API 2020-08-26 20:35:02 -04:00
kheap.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mailbox.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mem_domain.c kernel: add CONFIG_ARCH_MEM_DOMAIN_SYNCHRONOUS_API 2020-08-26 20:35:02 -04:00
mem_slab.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mempool_sys.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mempool.c kernel: Refactor k_mem_pool APIs into a base and derived level 2020-04-14 10:05:55 -07:00
mmu.c kernel: mmu: implement virtual mappings 2020-08-25 15:49:59 -04:00
msg_q.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mutex.c tracing: trace mutex/semaphore using dedicated calls 2020-08-24 13:21:12 +02:00
pipes.c kernel: pipes: rename inner spinlock keys 2020-07-25 21:26:15 -04:00
poll.c kernel: cleanup header inclusion 2020-06-25 16:12:36 -05:00
queue.c kernel: cleanup header inclusion 2020-06-25 16:12:36 -05:00
sched.c tracing: trace k_sleep 2020-08-24 13:21:12 +02:00
sem.c tracing: trace mutex/semaphore using dedicated calls 2020-08-24 13:21:12 +02:00
smp.c kernel: smp: avoid identifier collisions 2020-07-25 21:26:15 -04:00
stack.c kernel: cleanup header inclusion 2020-06-25 16:12:36 -05:00
system_work_q.c kernel: sys_workq thread stack is kernel-only 2020-07-30 21:11:14 -04:00
thread_abort.c kernel: don't reschedule thread abort in ISR 2020-08-18 08:36:35 +02:00
thread.c userspace: introduce default memory domain 2020-08-26 20:35:02 -04:00
timeout.c kernel/timeout: Fix coverity warning CID 211045 2020-08-16 09:29:41 -04:00
timer.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
userspace_handler.c userspace: update k_object API to support immutable objects 2020-09-02 13:48:13 +02:00
userspace.c userspace: update k_object API to support immutable objects 2020-09-02 13:48:13 +02:00
version.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
work_q.c kernel: Add k_delayed_work_pending to check if work has been submitted 2020-08-04 17:32:56 +02:00