Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
Advanced llext_load parameters. More...
#include <llext.h>
Data Fields | |
bool | relocate_local |
Perform local relocation. | |
bool | pre_located |
Use the virtual symbol addresses from the ELF, not addresses within the memory buffer, when calculating relocation targets. | |
bool(* | section_detached )(const elf_shdr_t *shdr) |
Extensions can implement custom ELF sections to be loaded in specific memory regions, detached from other sections of compatible types. | |
Advanced llext_load parameters.
This structure contains advanced parameters for llext_load.
bool llext_load_param::pre_located |
Use the virtual symbol addresses from the ELF, not addresses within the memory buffer, when calculating relocation targets.
It also means, that the application will take care to place the extension at those pre-defined addresses, so the LLEXT core doesn't have to do any allocation and copying internally.
bool llext_load_param::relocate_local |
Perform local relocation.
bool(* llext_load_param::section_detached) (const elf_shdr_t *shdr) |
Extensions can implement custom ELF sections to be loaded in specific memory regions, detached from other sections of compatible types.
This optional callback checks whether a section should be detached.