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

RISC-V memory attribute DT binding definitions. More...

Go to the source code of this file.

Macros

#define DT_MEM_RISCV_GET(x)
 Extract RISC-V-specific bits from a full zephyr,memory-attr value.
#define DT_MEM_RISCV_TYPE_MAIN   DT_MEM_RISCV(ATTR_RISCV_TYPE_MAIN)
 Main (DRAM) memory type.
#define DT_MEM_RISCV_TYPE_IO   DT_MEM_RISCV(ATTR_RISCV_TYPE_IO)
 I/O memory type.
#define DT_MEM_RISCV_TYPE_IO_R   DT_MEM_RISCV(ATTR_RISCV_TYPE_IO_R)
 I/O memory with read attribute.
#define DT_MEM_RISCV_TYPE_IO_W   DT_MEM_RISCV(ATTR_RISCV_TYPE_IO_W)
 I/O memory with write attribute.
#define DT_MEM_RISCV_TYPE_IO_X   DT_MEM_RISCV(ATTR_RISCV_TYPE_IO_X)
 I/O memory with execute attribute.
#define DT_MEM_RISCV_TYPE_EMPTY   DT_MEM_RISCV(ATTR_RISCV_TYPE_EMPTY)
 Empty or reserved memory type.
#define DT_MEM_RISCV_AMO_SWAP   DT_MEM_RISCV(ATTR_RISCV_AMO_SWAP)
 AMO swap operations supported.
#define DT_MEM_RISCV_AMO_LOGICAL   DT_MEM_RISCV(ATTR_RISCV_AMO_LOGICAL)
 AMO logical operations supported.
#define DT_MEM_RISCV_AMO_ARITHMETIC   DT_MEM_RISCV(ATTR_RISCV_AMO_ARITHMETIC)
 AMO arithmetic operations supported.
#define DT_MEM_RISCV_IO_IDEMPOTENT_READ   DT_MEM_RISCV(ATTR_RISCV_IO_IDEMPOTENT_READ)
 I/O memory with idempotent read attribute.
#define DT_MEM_RISCV_IO_IDEMPOTENT_WRITE   DT_MEM_RISCV(ATTR_RISCV_IO_IDEMPOTENT_WRITE)
 I/O memory with idempotent write attribute.
#define DT_MEM_RISCV_UNKNOWN   DT_MEM_ARCH_ATTR_UNKNOWN
 Unknown or unsupported RISC-V memory type.

Detailed Description

RISC-V memory attribute DT binding definitions.