Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Architecture-specific memory attributes

Architecture-specific memory attributes. More...

Topics

 ARM MPU memory attributes
 ARM64 memory attributes
 RISC-V memory attributes
 Xtensa memory attributes

Macros

#define DT_MEM_ARCH_ATTR_MASK   GENMASK(31, 20)
 Mask for architecture-specific memory attribute bits.
#define DT_MEM_ARCH_ATTR_GET(x)
 Extract architecture-specific memory attribute bits from a full zephyr,memory-attr value.
#define DT_MEM_ARCH_ATTR_SHIFT   (20)
 Shift for architecture-specific memory attribute bits.
#define DT_MEM_ARCH_ATTR_UNKNOWN   BIT(31)
 Architecture-specific memory attributes are unknown.

Detailed Description

Architecture-specific memory attributes.

They must reside in the section of the zephyr,memory-attr value corresponding to DT_MEM_ARCH_ATTR_MASK.

Macro Definition Documentation

◆ DT_MEM_ARCH_ATTR_GET

#define DT_MEM_ARCH_ATTR_GET ( x)

#include <memory-attr.h>

Value:
#define DT_MEM_ARCH_ATTR_MASK
Mask for architecture-specific memory attribute bits.
Definition memory-attr.h:99

Extract architecture-specific memory attribute bits from a full zephyr,memory-attr value.

Parameters
xValue to extract architecture-specific memory attribute bits from.
Returns
Architecture-specific memory attribute bits.

◆ DT_MEM_ARCH_ATTR_MASK

#define DT_MEM_ARCH_ATTR_MASK   GENMASK(31, 20)

#include <memory-attr.h>

Mask for architecture-specific memory attribute bits.

◆ DT_MEM_ARCH_ATTR_SHIFT

#define DT_MEM_ARCH_ATTR_SHIFT   (20)

#include <memory-attr.h>

Shift for architecture-specific memory attribute bits.

◆ DT_MEM_ARCH_ATTR_UNKNOWN

#define DT_MEM_ARCH_ATTR_UNKNOWN   BIT(31)

#include <memory-attr.h>

Architecture-specific memory attributes are unknown.