/Zephyr-latest/include/zephyr/llext/ |
D | loader.h | 42 struct llext_loader { struct 50 int (*prepare)(struct llext_loader *ldr); argument 64 int (*read)(struct llext_loader *ldr, void *out, size_t len); argument 77 int (*seek)(struct llext_loader *ldr, size_t pos); argument 89 void *(*peek)(struct llext_loader *ldr, size_t pos); argument 96 void (*finalize)(struct llext_loader *ldr); argument 106 static inline int llext_prepare(struct llext_loader *l) in llext_prepare() argument 115 static inline int llext_read(struct llext_loader *l, void *buf, size_t len) in llext_read() 120 static inline int llext_seek(struct llext_loader *l, size_t pos) in llext_seek() 125 static inline void *llext_peek(struct llext_loader *l, size_t pos) in llext_peek() [all …]
|
D | fs_loader.h | 30 struct llext_loader loader; 40 int llext_fs_prepare(struct llext_loader *ldr); 41 int llext_fs_read(struct llext_loader *ldr, void *buf, size_t len); 42 int llext_fs_seek(struct llext_loader *ldr, size_t pos); 43 void llext_fs_finalize(struct llext_loader *ldr);
|
D | buf_loader.h | 29 struct llext_loader loader; 39 int llext_buf_read(struct llext_loader *ldr, void *buf, size_t len); 40 int llext_buf_seek(struct llext_loader *ldr, size_t pos); 41 void *llext_buf_peek(struct llext_loader *ldr, size_t pos);
|
D | llext.h | 65 struct llext_loader; 204 int llext_load(struct llext_loader *loader, const char *name, struct llext **ext, 355 ssize_t llext_find_section(struct llext_loader *loader, const char *search_name); 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,
|
D | llext_internal.h | 21 struct llext_loader; 24 const void *llext_loaded_sect_ptr(struct llext_loader *ldr, struct llext *ext, unsigned int sh_ndx);
|
/Zephyr-latest/subsys/llext/ |
D | llext_priv.h | 22 int llext_copy_strings(struct llext_loader *ldr, struct llext *ext); 23 int llext_copy_regions(struct llext_loader *ldr, struct llext *ext, 53 int do_llext_load(struct llext_loader *ldr, struct llext *ext, 56 static inline const char *llext_string(struct llext_loader *ldr, struct llext *ext, in llext_string() 66 int llext_link(struct llext_loader *ldr, struct llext *ext,
|
D | fs_loader.c | 15 int llext_fs_prepare(struct llext_loader *l) in llext_fs_prepare() 32 int llext_fs_read(struct llext_loader *l, void *buf, size_t len) in llext_fs_read() 46 int llext_fs_seek(struct llext_loader *l, size_t pos) in llext_fs_seek() 57 void llext_fs_finalize(struct llext_loader *l) in llext_fs_finalize()
|
D | buf_loader.c | 12 int llext_buf_read(struct llext_loader *l, void *buf, size_t len) in llext_buf_read() 24 int llext_buf_seek(struct llext_loader *l, size_t pos) in llext_buf_seek() 33 void *llext_buf_peek(struct llext_loader *l, size_t pos) in llext_buf_peek()
|
D | llext_load.c | 42 const void *llext_loaded_sect_ptr(struct llext_loader *ldr, struct llext *ext, unsigned int sh_ndx) in llext_loaded_sect_ptr() 57 static int llext_load_elf_data(struct llext_loader *ldr, struct llext *ext) in llext_load_elf_data() 152 static int llext_find_tables(struct llext_loader *ldr, struct llext *ext) in llext_find_tables() 213 static int llext_map_sections(struct llext_loader *ldr, struct llext *ext, in llext_map_sections() 452 static int llext_count_export_syms(struct llext_loader *ldr, struct llext *ext) in llext_count_export_syms() 502 static int llext_allocate_symtab(struct llext_loader *ldr, struct llext *ext) in llext_allocate_symtab() 517 static int llext_export_symbols(struct llext_loader *ldr, struct llext *ext) in llext_export_symbols() 547 static int llext_copy_symbols(struct llext_loader *ldr, struct llext *ext, in llext_copy_symbols() 629 int do_llext_load(struct llext_loader *ldr, struct llext *ext, in do_llext_load()
|
D | llext_mem.c | 61 static int llext_copy_section(struct llext_loader *ldr, struct llext *ext, in llext_copy_section() 146 int llext_copy_strings(struct llext_loader *ldr, struct llext *ext) in llext_copy_strings() 157 int llext_copy_regions(struct llext_loader *ldr, struct llext *ext, in llext_copy_regions()
|
D | llext_link.c | 35 __weak void arch_elf_relocate_local(struct llext_loader *ldr, struct llext *ext, in arch_elf_relocate_local() 41 __weak void arch_elf_relocate_global(struct llext_loader *ldr, struct llext *ext, in arch_elf_relocate_global() 51 static size_t llext_file_offset(struct llext_loader *ldr, size_t offset) in llext_file_offset() 145 static void llext_link_plt(struct llext_loader *ldr, struct llext *ext, elf_shdr_t *shdr, in llext_link_plt() 272 int llext_link(struct llext_loader *ldr, struct llext *ext, const struct llext_load_param *ldr_parm) in llext_link()
|
D | llext.c | 26 int llext_get_section_header(struct llext_loader *ldr, struct llext *ext, const char *search_name, in llext_get_section_header() 52 ssize_t llext_find_section(struct llext_loader *ldr, const char *search_name) in llext_find_section() 163 int llext_load(struct llext_loader *ldr, const char *name, struct llext **ext, in llext_load()
|
D | shell.c | 145 struct llext_loader *ldr = &buf_loader.loader; in cmd_llext_load_hex() 211 struct llext_loader *ldr = &fs_loader.loader; in cmd_llext_load_fs()
|
/Zephyr-latest/arch/xtensa/core/ |
D | elf.c | 35 static void xtensa_elf_relocate(struct llext_loader *ldr, struct llext *ext, in xtensa_elf_relocate() 131 void arch_elf_relocate_local(struct llext_loader *ldr, struct llext *ext, const elf_rela_t *rel, in arch_elf_relocate_local() 155 void arch_elf_relocate_global(struct llext_loader *ldr, struct llext *ext, const elf_rela_t *rel, in arch_elf_relocate_global()
|
/Zephyr-latest/tests/subsys/llext/src/ |
D | test_llext.c | 126 struct llext_loader *loader = &buf_loader.loader; in load_call_unload() 343 struct llext_loader *loader_dependency = &buf_loader_dependency.loader; in ZTEST() 344 struct llext_loader *loader_dependent = &buf_loader_dependent.loader; in ZTEST() 374 struct llext_loader *loader = &buf_loader.loader; in ZTEST() 410 struct llext_loader *loader = &buf_loader.loader; in ZTEST() 446 static struct llext_loader *detached_loader; 534 struct llext_loader *loader = &fs_loader.loader; in ZTEST()
|
/Zephyr-latest/samples/subsys/llext/modules/src/ |
D | main_module.c | 24 struct llext_loader *ldr = &buf_loader.loader; in main()
|
/Zephyr-latest/tests/misc/llext-edk/src/ |
D | main.c | 57 struct llext_loader *loader = &buf_loader.loader; in load_and_run_extension()
|
/Zephyr-latest/samples/subsys/llext/edk/app/src/ |
D | main.c | 75 struct llext_loader *loader = &buf_loader.loader; in load()
|
/Zephyr-latest/doc/services/llext/ |
D | load.rst | 11 An extension may be loaded using any implementation of a :c:struct:`llext_loader`
|