7#ifndef ZEPHYR_LLEXT_SEMIHOST_LOADER_H
8#define ZEPHYR_LLEXT_SEMIHOST_LOADER_H
40int llext_semihost_read(
struct llext_loader *ldr,
void *buf,
size_t len);
41int llext_semihost_seek(
struct llext_loader *ldr,
size_t pos);
50#define LLEXT_SEMIHOST_LOADER(_filename) \
54 .prepare = llext_semihost_prepare, \
55 .read = llext_semihost_read, \
56 .seek = llext_semihost_seek, \
58 .finalize = llext_semihost_finalize, \
59 .storage = LLEXT_STORAGE_TEMPORARY, \
61 .filename = (_filename), \
LLEXT ELF loader context types.
Linkable loadable extension loader context.
Definition loader.h:80
Implementation of llext_loader that reads through semihosting.
Definition semihost_loader.h:27
struct llext_loader loader
Extension loader.
Definition semihost_loader.h:29