Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Linkable loadable extension. More...

#include <llext.h>

Data Fields

char name [16]
 Name of the llext.
 
void * mem [LLEXT_MEM_COUNT]
 Lookup table of llext memory regions.
 
bool mem_on_heap [LLEXT_MEM_COUNT]
 Is the memory for this section allocated on heap?
 
size_t mem_size [LLEXT_MEM_COUNT]
 Size of each stored section.
 
size_t alloc_size
 Total llext allocation size.
 
struct llext_symtable sym_tab
 
struct llext_symtable exp_tab
 Exported symbols from the llext, may be linked against by other llext.
 
unsigned int use_count
 Extension use counter, prevents unloading while in use.
 

Detailed Description

Linkable loadable extension.

Field Documentation

◆ alloc_size

size_t llext::alloc_size

Total llext allocation size.

◆ exp_tab

struct llext_symtable llext::exp_tab

Exported symbols from the llext, may be linked against by other llext.

◆ mem

void* llext::mem[LLEXT_MEM_COUNT]

Lookup table of llext memory regions.

◆ mem_on_heap

bool llext::mem_on_heap[LLEXT_MEM_COUNT]

Is the memory for this section allocated on heap?

◆ mem_size

size_t llext::mem_size[LLEXT_MEM_COUNT]

Size of each stored section.

◆ name

char llext::name[16]

Name of the llext.

◆ sym_tab

struct llext_symtable llext::sym_tab

◆ use_count

unsigned int llext::use_count

Extension use counter, prevents unloading while in use.


The documentation for this struct was generated from the following file: