Lines Matching +full:kconfig +full:- +full:ext
5 * SPDX-License-Identifier: Apache-2.0
47 LLEXT_MEM_RODATA, /**< Read-only data */
131 static inline const elf_shdr_t *llext_section_headers(const struct llext *ext) in llext_section_headers() argument
133 return ext->sect_hdrs; in llext_section_headers()
136 static inline unsigned int llext_section_count(const struct llext *ext) in llext_section_count() argument
138 return ext->sect_cnt; in llext_section_count()
153 * those pre-defined addresses, so the LLEXT core doesn't have to do any
180 * callback function returns a non-0 value.
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
200 * @retval -ENOMEM Not enough memory
201 * @retval -ENOEXEC Invalid ELF stream
202 * @retval -ENOTSUP Unsupported ELF features
204 int llext_load(struct llext_loader *loader, const char *name, struct llext **ext,
210 * @param[in] ext Extension to unload
212 int llext_unload(struct llext **ext);
224 * @param[in] ext Extension to initialize.
226 * @retval -EFAULT A relocation issue was detected
228 int llext_bringup(struct llext *ext);
238 * @param[in] ext Extension to de-initialize.
240 * @retval -EFAULT A relocation issue was detected
242 int llext_teardown(struct llext *ext);
254 * @param[in] ext Extension to execute. Passed as `p1` in @ref k_thread_create.
260 void llext_bootstrap(struct llext *ext, llext_entry_fn_t entry_fn, void *user_data);
270 * @param[in] ext Extension to initialize.
277 * @retval -EFAULT A relocation issue was detected
278 * @retval -ENOMEM Array does not fit in the allocated buffer
280 __syscall ssize_t llext_get_fn_table(struct llext *ext, bool is_init, void *buf, size_t size);
302 * @param[in] ext Extension to call function in
306 * @retval -ENOENT Symbol name not found
308 int llext_call_fn(struct llext *ext, const char *sym_name);
317 * @param[in] ext Extension to add to a domain
321 * @retval -ENOSYS Option @kconfig{CONFIG_USERSPACE} is not enabled or supported
323 int llext_add_domain(struct llext *ext, struct k_mem_domain *domain);
340 * @retval -ENOTSUP Unsupported relocation
341 * @retval -ENOEXEC Invalid relocation
363 * @param[in] ext Extension to be searched
367 * @retval -ENOTSUP "peek" method not supported
368 * @retval -ENOENT section not found
370 int llext_get_section_header(struct llext_loader *loader, struct llext *ext,
377 * @param[in] ext Extension to call function in
383 void arch_elf_relocate_local(struct llext_loader *loader, struct llext *ext, const elf_rela_t *rel,
391 * @param[in] ext Extension to call function in
395 * @param[in] link_addr target address for table-based relocations
397 void arch_elf_relocate_global(struct llext_loader *loader, struct llext *ext, const elf_rela_t *rel,