Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Data Structures

struct  llext_buf_loader
 Implementation of llext_loader that reads from a memory buffer. More...
 
struct  llext_loader
 Linkable loadable extension loader context. More...
 

Macros

#define LLEXT_BUF_LOADER(_buf, _buf_len)
 Initializer for an llext_buf_loader structure.
 

Detailed Description

Macro Definition Documentation

◆ LLEXT_BUF_LOADER

#define LLEXT_BUF_LOADER (   _buf,
  _buf_len 
)

#include <include/zephyr/llext/buf_loader.h>

Value:
{ \
.loader = { \
.read = llext_buf_read, \
.seek = llext_buf_seek, \
.peek = llext_buf_peek, \
}, \
.buf = (_buf), \
.len = (_buf_len), \
.pos = 0 \
}

Initializer for an llext_buf_loader structure.

Parameters
_bufBuffer containing the ELF binary
_buf_lenBuffer length in bytes