Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
mem_domain.h File Reference
#include <stdint.h>
#include <stddef.h>
#include <sys/dlist.h>
#include <toolchain.h>
#include <kernel/thread.h>

Go to the source code of this file.

Data Structures

struct  k_mem_partition
 Memory Partition. More...
 
struct  k_mem_domain
 Memory Domain. More...
 

Macros

#define K_MEM_PARTITION_DEFINE(name, start, size, attr)
 Statically declare a memory partition. More...
 

Functions

void k_mem_domain_init (struct k_mem_domain *domain, uint8_t num_parts, struct k_mem_partition *parts[])
 Initialize a memory domain. More...
 
void k_mem_domain_add_partition (struct k_mem_domain *domain, struct k_mem_partition *part)
 Add a memory partition into a memory domain. More...
 
void k_mem_domain_remove_partition (struct k_mem_domain *domain, struct k_mem_partition *part)
 Remove a memory partition from a memory domain. More...
 
void k_mem_domain_add_thread (struct k_mem_domain *domain, k_tid_t thread)
 Add a thread into a memory domain. More...
 

Variables

struct k_mem_domain k_mem_domain_default