Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
Constant symbols are unchangeable named memory addresses. More...
#include <symbol.h>
Data Fields | ||
union { | ||
const char *const name | ||
Name of symbol. More... | ||
const uintptr_t slid | ||
Symbol Link Identifier. More... | ||
}; | ||
At build time, we always write to 'name'. | ||
const void *const | addr | |
Address of symbol. | ||
Constant symbols are unchangeable named memory addresses.
Symbols may be named function or global objects that have been exported for linking. These constant symbols are useful in the base image as they may be placed in ROM.
union { ... } llext_const_symbol |
At build time, we always write to 'name'.
At runtime, which field is used depends on CONFIG_LLEXT_EXPORT_BUILTINS_BY_SLID.
const void* const llext_const_symbol::addr |
Address of symbol.
const char* const llext_const_symbol::name |
Name of symbol.
const uintptr_t llext_const_symbol::slid |
Symbol Link Identifier.