Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Files

file  memory-attr-sw.h
 Software-defined memory attribute DT binding definitions.

Macros

#define DT_MEM_SW_GET(x)
 Extract software-specific bits from a full zephyr,memory-attr value.
#define DT_MEM_SW_ALLOC_CACHE   DT_MEM_SW(ATTR_SW_ALLOC_CACHE)
 Allocate from cached memory.
#define DT_MEM_SW_ALLOC_NON_CACHE   DT_MEM_SW(ATTR_SW_ALLOC_NON_CACHE)
 Allocate from non-cached memory.
#define DT_MEM_SW_ALLOC_DMA   DT_MEM_SW(ATTR_SW_ALLOC_DMA)
 Allocate from DMA-capable memory.

Detailed Description

Macro Definition Documentation

◆ DT_MEM_SW_ALLOC_CACHE

#define DT_MEM_SW_ALLOC_CACHE   DT_MEM_SW(ATTR_SW_ALLOC_CACHE)

#include <memory-attr-sw.h>

Allocate from cached memory.

◆ DT_MEM_SW_ALLOC_DMA

#define DT_MEM_SW_ALLOC_DMA   DT_MEM_SW(ATTR_SW_ALLOC_DMA)

#include <memory-attr-sw.h>

Allocate from DMA-capable memory.

◆ DT_MEM_SW_ALLOC_NON_CACHE

#define DT_MEM_SW_ALLOC_NON_CACHE   DT_MEM_SW(ATTR_SW_ALLOC_NON_CACHE)

#include <memory-attr-sw.h>

Allocate from non-cached memory.

◆ DT_MEM_SW_GET

#define DT_MEM_SW_GET ( x)

#include <memory-attr-sw.h>

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

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

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