zephyr/kernel
Volodymyr Fialko 9eee2eaee6 riscv: pmp: enable stackguard without multithreading
Without multithreading only two stacks present: ISR and main.
As any stack they also could overflow, so it make sense to add stack
guard for them also.

Remove stack guard dependency on multithreading and mark
`Z_RISCV_STACK_GUARD_SIZE` bytes at the beginning of stack as read-only
region with PMP entry.

Signed-off-by: Volodymyr Fialko <vfialko@marvell.com>
2024-11-20 08:25:49 -05:00
..
include riscv: pmp: enable stackguard without multithreading 2024-11-20 08:25:49 -05:00
paging
CMakeLists.txt
Kconfig
Kconfig.device
Kconfig.init init: support per-core init hook 2024-11-16 14:04:25 -05:00
Kconfig.mem_domain
Kconfig.obj_core
Kconfig.smp
Kconfig.vm
atomic_c.c
banner.c
busy_wait.c
compiler_stack_protect.c
condvar.c
cpu_mask.c
device.c
dynamic.c
dynamic_disabled.c
errno.c
events.c
fatal.c
float.c
futex.c
idle.c
init.c
init_static.c
ipi.c
irq_offload.c
kheap.c
mailbox.c
main_weak.c
mem_domain.c
mem_slab.c kernel: mem_slab: always validate memory address on free 2024-11-16 15:54:56 -05:00
mempool.c
mmu.c demand_paging: eviction: add kconfig CONFIG_EVICTION_TRACKING 2024-11-18 13:16:44 -05:00
msg_q.c
mutex.c
nothread.c kernel: fix k_sleep in no multi-threading mode 2024-11-16 14:07:41 -05:00
obj_core.c
pipes.c
poll.c
priority_queues.c
queue.c
sched.c kernel: Move run queue initialization 2024-11-16 15:20:15 -05:00
sem.c
smp.c
spinlock_validate.c
stack.c
system_work_q.c
thread.c
thread_monitor.c
timeout.c
timer.c
timeslicing.c
usage.c
userspace.c sys: util: use BITS_PER_BYTE macro instead of the magic number 8 2024-11-16 15:22:35 -05:00
userspace_handler.c
version.c
work.c kernel: workq: Fix function format to avoid CI Warning 2024-11-20 10:15:20 +00:00
xip.c