Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mem_attr.h File Reference
#include <stddef.h>
#include <zephyr/types.h>
#include <zephyr/dt-bindings/memory-attr/memory-attr.h>

Go to the source code of this file.

Data Structures

struct  mem_attr_region_t
 memory-attr region structure. More...
 

Macros

#define DT_MEMORY_ATTR_FOREACH_STATUS_OKAY_NODE(fn)    DT_FOREACH_STATUS_OKAY_NODE_VARGS(_FILTER, fn)
 Invokes fn for every status okay node in the tree with property zephyr,memory-attr
 

Functions

size_t mem_attr_get_regions (const struct mem_attr_region_t **region)
 Get the list of memory regions.
 
int mem_attr_check_buf (void *addr, size_t size, uint32_t attr)
 Check if a buffer has correct size and attributes.