Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
|
#include <stdbool.h>
Go to the source code of this file.
Macros | |
#define | RO_START 0 |
#define | RO_END 0 |
Functions | |
static bool | linker_is_in_rodata (const void *addr) |
Check if address is in read only section. | |
#define RO_END 0 |
#define RO_START 0 |
|
inlinestatic |
Check if address is in read only section.
Note that this may return false if the address lies outside the compiler's default read only sections (e.g. .rodata section), depending on the linker script used. This also applies to constants with explicit section attributes.
addr | Address. |