zephyr/kernel
Nicolas Pitre c9e3e0d956 sched: formalize the passing of NULL to z_get_next_switch_handle()
This is an attempt at formally distinguishing and supporting the case
described in 40795 where an architecture doesn't preserve/restore the
complete thread state upon entering/exiting interrupt exception state.

This is mainly about promoting the current behavior from the accepted
workaround to a formal API specification. This workaround is currently
used on ARM64 but RISC-V requires it too.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2022-03-18 13:32:49 -04:00
..
include everywhere: fix typos 2022-03-18 13:24:08 -04:00
paging
CMakeLists.txt kernel: move thread usage routines to own file 2022-01-10 10:38:06 -05:00
Kconfig kernel: SMP is Symmetric multiprocessing 2022-03-15 11:07:29 -04:00
Kconfig.vm everywhere: fix typos 2022-03-18 13:24:08 -04:00
atomic_c.c
banner.c
cache_handlers.c
compiler_stack_protect.c
condvar.c
device.c device: deprecate (z_)device_usable_check 2022-01-07 10:41:23 -05:00
errno.c
events.c
fatal.c
futex.c
idle.c pm: Do not suspend during kernel initialization 2022-01-19 14:14:28 -05:00
init.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
kheap.c
mailbox.c kernel: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
main_weak.c
mem_domain.c
mem_slab.c kernel: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
mempool.c
mmu.c kernel: mmu: add a log line for z_phys_unmap 2022-02-24 08:38:38 -06:00
msg_q.c
mutex.c everywhere: fix typos 2022-03-18 13:24:08 -04:00
pipes.c kernel: pipes: add pipe flush routines 2022-01-10 12:17:14 -05:00
poll.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
queue.c
sched.c sched: formalize the passing of NULL to z_get_next_switch_handle() 2022-03-18 13:32:49 -04:00
sem.c
smp.c kernel: Refactor SMP cpu initialization a bit 2022-03-01 09:59:15 -05:00
stack.c
system_work_q.c
thread.c kernel: Reduce strncpy in z_impl_k_thread_name_set by null char 2022-03-10 10:12:48 +01:00
timeout.c kernel: Fix timeout issue with SYSTEM_CLOCK_SLOPPY_IDLE 2022-02-15 13:05:04 -05:00
timer.c kernel: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
usage.c kernel: Update CPU runtime stats of non-idle time 2022-01-20 08:22:01 -05:00
userspace.c userspace: plug thread index leak in k_object_alloc() 2022-03-14 19:18:34 -04:00
userspace_handler.c
version.c
work.c kernel: work: remove unused if statement 2021-12-13 17:20:56 -05:00
xip.c kernel/init.c: allow for memset/memcpy alternatives during early boot 2022-02-21 21:00:12 -05:00