Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
symbol.h File Reference

Linkable loadable extension symbol definitions. More...

#include <zephyr/sys/iterable_sections.h>
#include <zephyr/toolchain.h>
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

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 LL_EXTENSION_SYMBOL(x)
 Exports a symbol from an extension to the base image.
 
#define EXPORT_SYMBOL(x)
 Export a constant symbol from the current build.
 

Detailed Description

Linkable loadable extension symbol definitions.

This file provides a set of macros and structures for defining and exporting symbols from the base image to extensions and vice versa, so that proper linking can be done between the two entities.