Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
Data Structures | |
struct | llext_const_symbol |
Constant symbols are unchangeable named memory addresses. More... | |
struct | llext_symbol |
Symbols are named memory addresses. More... | |
struct | llext_symtable |
A symbol table. More... | |
Macros | |
#define | EXPORT_SYMBOL(x) |
Export a constant symbol to extensions. | |
#define | LL_EXTENSION_SYMBOL(x) |
Exports a symbol from an extension to the base image. | |
#define EXPORT_SYMBOL | ( | x | ) |
#include <include/zephyr/llext/symbol.h>
Export a constant symbol to extensions.
Takes a symbol (function or object) by symbolic name and adds the name and address of the symbol to a table of symbols that may be referenced by extensions.
x | Symbol to export to extensions |
#define LL_EXTENSION_SYMBOL | ( | x | ) |
#include <include/zephyr/llext/symbol.h>
Exports a symbol from an extension to the base image.
This macro can be used in extensions to add a symbol (function or object) to the extension's exported symbol table, so that it may be referenced by the base image.
x | Extension symbol to export to the base image |