zephyr/subsys/llext
Luca Burelli af302cd5fe llext: add bringup, teardown, and bootstrap APIs
llext_bringup() and llext_teardown() are intended to be used to call the
extension's own initialization and cleanup functions, respectively. They
are meant to be called by the developer after loading an extension and
before unloading it. The list of function pointers to be called is
obtained via the new llext_get_fn_table() syscall, so that they are
compatible with user mode.

llext_bootstrap() is intended to be used as the entry point for a thread
created to run an extension, in either user or kernel contexts. It will
call the extension's own initialization functions and then an additional
entry point in the same context (if desired). The same function can also
be called directly in the main thread, if only initialization is
required.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2024-09-06 11:27:15 -04:00
..
buf_loader.c
CMakeLists.txt llext: add bringup, teardown, and bootstrap APIs 2024-09-06 11:27:15 -04:00
fs_loader.c llext: Add filesystem based extension loader 2024-09-06 11:26:09 -04:00
Kconfig llext: set proper LLEXT_STORAGE default for Xtensa 2024-06-25 21:25:33 -04:00
llext_export.c build: namespace syscall sources to zephyr/ 2024-05-28 22:03:55 +02:00
llext_handlers.c llext: add bringup, teardown, and bootstrap APIs 2024-09-06 11:27:15 -04:00
llext_link.c llext: add dependencies 2024-09-02 12:31:52 -04:00
llext_load.c llext: add support for ELF init/fini arrays 2024-09-06 11:27:15 -04:00
llext_mem.c llext: adjust memory permissions on MMU systems 2024-09-06 11:25:54 -04:00
llext_priv.h llext: adjust memory permissions on MMU systems 2024-09-06 11:25:54 -04:00
llext.c llext: add bringup, teardown, and bootstrap APIs 2024-09-06 11:27:15 -04:00
shell.c llext: Add shell command for loading LLEXT from a filesystem 2024-09-06 11:26:09 -04:00