7#ifndef ZEPHYR_LLEXT_LOADER_H
8#define ZEPHYR_LLEXT_LOADER_H
84 return l->
read(l, buf, len);
89 return l->
seek(l, pos);
95 return l->
peek(l, pos);
static void * llext_peek(struct llext_loader *l, size_t pos)
Definition: loader.h:92
static int llext_seek(struct llext_loader *l, size_t pos)
Definition: loader.h:87
static int llext_read(struct llext_loader *l, void *buf, size_t len)
Definition: loader.h:82
llext_mem
List of ELF regions that are stored or referenced in the llext.
Definition: llext.h:34
@ LLEXT_MEM_COUNT
Definition: llext.h:44
__UINT32_TYPE__ uint32_t
Definition: stdint.h:90
ELF Header(64-bit)
Definition: elf.h:104
Section Header(64-bit)
Definition: elf.h:176
Linkable loadable extension loader context.
Definition: loader.h:29
int(* seek)(struct llext_loader *ldr, size_t pos)
Seek to a new absolute location.
Definition: loader.h:57
int(* read)(struct llext_loader *ldr, void *out, size_t len)
Read (copy) from the loader.
Definition: loader.h:43
size_t prog_data_size
Total calculated .data size for relocatable extensions.
Definition: loader.h:72
void *(* peek)(struct llext_loader *ldr, size_t pos)
Peek at an absolute location.
Definition: loader.h:69