Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Linkable loadable extensions buffer loader

LLEXT buffer loader. More...

Data Structures

struct  llext_buf_loader
 An extension loader from a provided buffer containing an ELF. More...
 

Macros

#define LLEXT_BUF_LOADER(_buf, _buf_len)
 Initialize an extension buf loader.
 

Detailed Description

LLEXT buffer loader.

Macro Definition Documentation

◆ LLEXT_BUF_LOADER

#define LLEXT_BUF_LOADER (   _buf,
  _buf_len 
)

#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 \
}

Initialize an extension buf loader.

Parameters
_bufBuffer containing an ELF binary
_buf_lenBuffer length in bytes