Zephyr API 3.6.99
|
Application memory domain APIs . More...
Macros | |
#define | K_APP_DMEM_SECTION(id) |
Name of the data section for a particular partition. | |
#define | K_APP_BMEM_SECTION(id) |
Name of the bss section for a particular partition. | |
#define | K_APP_DMEM(id) |
Place data in a partition's data section. | |
#define | K_APP_BMEM(id) |
Place data in a partition's bss section. | |
#define | K_APPMEM_PARTITION_DEFINE(name) |
Define an application memory partition with linker support. | |
Application memory domain APIs .
#define K_APP_BMEM | ( | id | ) |
#include <zephyr/app_memory/app_memdomain.h>
Place data in a partition's bss section.
Globals tagged with this will end up in the bss section for the specified memory partition. This data will be zeroed at boot.
id | Name of the memory partition to associate this data |
#define K_APP_BMEM_SECTION | ( | id | ) |
#include <zephyr/app_memory/app_memdomain.h>
Name of the bss section for a particular partition.
Useful for defining memory pools, or any other macro that takes a section name as a parameter.
id | Partition name |
#define K_APP_DMEM | ( | id | ) |
#include <zephyr/app_memory/app_memdomain.h>
Place data in a partition's data section.
Globals tagged with this will end up in the data section for the specified memory partition. This data should be initialized to some desired value.
id | Name of the memory partition to associate this data |
#define K_APP_DMEM_SECTION | ( | id | ) |
#include <zephyr/app_memory/app_memdomain.h>
Name of the data section for a particular partition.
Useful for defining memory pools, or any other macro that takes a section name as a parameter.
id | Partition name |
#define K_APPMEM_PARTITION_DEFINE | ( | name | ) |
#include <zephyr/app_memory/app_memdomain.h>
Define an application memory partition with linker support.
Defines a k_mem_paritition with the provided name. This name may be used with the K_APP_DMEM and K_APP_BMEM macros to place globals automatically in this partition.
NOTE: placeholder char variable is defined here to prevent build errors if a partition is defined but nothing ever placed in it.
name | Name of the k_mem_partition to declare |