Lines Matching full:llext

12 #include <zephyr/llext/elf.h>
13 #include <zephyr/llext/symbol.h>
37 * @brief List of memory regions stored or referenced in the LLEXT subsystem
40 * LLEXT subsystem. The names match common ELF file section names; but note
57 LLEXT_MEM_COUNT, /**< Number of regions managed by LLEXT */
62 /* Number of memory partitions used by LLEXT */
77 struct llext { struct
88 /** Name of the llext */ argument
100 /** Total llext allocation size */ argument
112 * Table of symbols exported by the llext via @ref LL_EXTENSION_SYMBOL. argument
122 struct llext *dependency[LLEXT_MAX_DEPENDENCIES]; argument
131 static inline const elf_shdr_t *llext_section_headers(const struct llext *ext) in llext_section_headers() argument
136 static inline unsigned int llext_section_count(const struct llext *ext) in llext_section_count()
153 * those pre-defined addresses, so the LLEXT core doesn't have to do any
169 * @brief Find an llext by name
171 * @param[in] name String name of the llext
172 * @returns a pointer to the @ref llext, or `NULL` if not found
174 struct llext *llext_by_name(const char *name);
187 int llext_iterate(int (*fn)(struct llext *ext, void *arg), void *arg);
196 * @param[out] ext Pointer to the newly allocated @ref llext structure
204 int llext_load(struct llext_loader *loader, const char *name, struct llext **ext,
212 int llext_unload(struct llext **ext);
228 int llext_bringup(struct llext *ext);
242 int llext_teardown(struct llext *ext);
260 void llext_bootstrap(struct llext *ext, llext_entry_fn_t entry_fn, void *user_data);
280 __syscall ssize_t llext_get_fn_table(struct llext *ext, bool is_init, void *buf, size_t size);
308 int llext_call_fn(struct llext *ext, const char *sym_name);
323 int llext_add_domain(struct llext *ext, struct k_mem_domain *domain);
331 * are architecture specific and each architecture supporting LLEXT must
370 int llext_get_section_header(struct llext_loader *loader, struct llext *ext,
383 void arch_elf_relocate_local(struct llext_loader *loader, struct llext *ext, const elf_rela_t *rel,
397 void arch_elf_relocate_global(struct llext_loader *loader, struct llext *ext, const elf_rela_t *rel,
408 #include <zephyr/syscalls/llext.h>