67bb6db3f8
Linkable loadable extensions can only use syscalls if they are exported via EXPORT_SYSCALL (or EXPORT_SYMBOL). Instead of enabling used syscalls one by one, this patch exports all of them automatically via `gen_syscalls.py`. If CONFIG_LLEXT=n, the section where the exported symbols live is discarded, so it should be a non-op when llext is not enabled. This patch also removes the now redundant EXPORT_SYSCALL macro. Note that EXPORT_SYMBOL is still useful on different situations (and is indeed used by the code generated by `gen_syscalls.py`). Signed-off-by: Ederson de Souza <ederson.desouza@intel.com> |
||
---|---|---|
.. | ||
include | ||
paging | ||
atomic_c.c | ||
banner.c | ||
busy_wait.c | ||
CMakeLists.txt | ||
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 | ||
irq_offload.c | ||
Kconfig | ||
Kconfig.device | ||
Kconfig.obj_core | ||
Kconfig.smp | ||
Kconfig.vm | ||
kheap.c | ||
mailbox.c | ||
main_weak.c | ||
mem_domain.c | ||
mem_slab.c | ||
mempool.c | ||
mmu.c | ||
msg_q.c | ||
mutex.c | ||
obj_core.c | ||
pipes.c | ||
poll.c | ||
priority_queues.c | ||
queue.c | ||
sched.c | ||
sem.c | ||
smp.c | ||
spinlock_validate.c | ||
stack.c | ||
system_work_q.c | ||
thread.c | ||
thread_monitor.c | ||
timeout.c | ||
timer.c | ||
usage.c | ||
userspace.c | ||
userspace_handler.c | ||
version.c | ||
work.c | ||
xip.c |