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

Software-specific memory attributes. More...

Topics

 Software-defined memory attributes

Macros

#define DT_MEM_SW_ATTR_MASK   GENMASK(19, 16)
 Mask for software-specific memory attribute bits.
#define DT_MEM_SW_ATTR_GET(x)
 Extract software-specific memory attribute bits from a full zephyr,memory-attr value.
#define DT_MEM_SW_ATTR_SHIFT   (16)
 Shift for software-specific memory attribute bits.
#define DT_MEM_SW_ATTR_UNKNOWN   BIT(19)
 Software-specific memory attributes are unknown.

Detailed Description

Software-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_SW_ATTR_GET

#define DT_MEM_SW_ATTR_GET ( x)

#include <memory-attr.h>

Value:
#define DT_MEM_SW_ATTR_MASK
Mask for software-specific memory attribute bits.
Definition memory-attr.h:71

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

Parameters
xValue to extract software-specific memory attribute bits from.
Returns
Software-specific memory attribute bits.

◆ DT_MEM_SW_ATTR_MASK

#define DT_MEM_SW_ATTR_MASK   GENMASK(19, 16)

#include <memory-attr.h>

Mask for software-specific memory attribute bits.

◆ DT_MEM_SW_ATTR_SHIFT

#define DT_MEM_SW_ATTR_SHIFT   (16)

#include <memory-attr.h>

Shift for software-specific memory attribute bits.

◆ DT_MEM_SW_ATTR_UNKNOWN

#define DT_MEM_SW_ATTR_UNKNOWN   BIT(19)

#include <memory-attr.h>

Software-specific memory attributes are unknown.