Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
memory-attr-xtensa.h File Reference

Go to the source code of this file.

Macros

#define DT_MEM_XTENSA_MASK   DT_MEM_ARCH_ATTR_MASK
 
#define DT_MEM_XTENSA_GET(x)   ((x) & DT_MEM_XTENSA_MASK)
 
#define DT_MEM_XTENSA(x)   ((x) << DT_MEM_ARCH_ATTR_SHIFT)
 
#define ATTR_XTENSA_INSTR_ROM   BIT(0)
 
#define ATTR_XTENSA_INSTR_RAM   BIT(1)
 
#define ATTR_XTENSA_DATA_ROM   BIT(2)
 
#define ATTR_XTENSA_DATA_RAM   BIT(3)
 
#define ATTR_XTENSA_XLMI   BIT(4)
 
#define DT_MEM_XTENSA_INSTR_ROM   DT_MEM_XTENSA(ATTR_XTENSA_INSTR_ROM)
 
#define DT_MEM_XTENSA_INSTR_RAM   DT_MEM_XTENSA(ATTR_XTENSA_INSTR_RAM)
 
#define DT_MEM_XTENSA_DATA_ROM   DT_MEM_XTENSA(ATTR_XTENSA_DATA_ROM)
 
#define DT_MEM_XTENSA_DATA_RAM   DT_MEM_XTENSA(ATTR_XTENSA_DATA_RAM)
 
#define DT_MEM_XTENSA_XLMI   DT_MEM_XTENSA(ATTR_XTENSA_XLMI)
 
#define DT_MEM_XTENSA_UNKNOWN   DT_MEM_ARCH_ATTR_UNKNOWN
 

Macro Definition Documentation

◆ ATTR_XTENSA_DATA_RAM

#define ATTR_XTENSA_DATA_RAM   BIT(3)

◆ ATTR_XTENSA_DATA_ROM

#define ATTR_XTENSA_DATA_ROM   BIT(2)

◆ ATTR_XTENSA_INSTR_RAM

#define ATTR_XTENSA_INSTR_RAM   BIT(1)

◆ ATTR_XTENSA_INSTR_ROM

#define ATTR_XTENSA_INSTR_ROM   BIT(0)

◆ ATTR_XTENSA_XLMI

#define ATTR_XTENSA_XLMI   BIT(4)

◆ DT_MEM_XTENSA

#define DT_MEM_XTENSA (   x)    ((x) << DT_MEM_ARCH_ATTR_SHIFT)

◆ DT_MEM_XTENSA_DATA_RAM

#define DT_MEM_XTENSA_DATA_RAM   DT_MEM_XTENSA(ATTR_XTENSA_DATA_RAM)

◆ DT_MEM_XTENSA_DATA_ROM

#define DT_MEM_XTENSA_DATA_ROM   DT_MEM_XTENSA(ATTR_XTENSA_DATA_ROM)

◆ DT_MEM_XTENSA_GET

#define DT_MEM_XTENSA_GET (   x)    ((x) & DT_MEM_XTENSA_MASK)

◆ DT_MEM_XTENSA_INSTR_RAM

#define DT_MEM_XTENSA_INSTR_RAM   DT_MEM_XTENSA(ATTR_XTENSA_INSTR_RAM)

◆ DT_MEM_XTENSA_INSTR_ROM

#define DT_MEM_XTENSA_INSTR_ROM   DT_MEM_XTENSA(ATTR_XTENSA_INSTR_ROM)

◆ DT_MEM_XTENSA_MASK

#define DT_MEM_XTENSA_MASK   DT_MEM_ARCH_ATTR_MASK

◆ DT_MEM_XTENSA_UNKNOWN

#define DT_MEM_XTENSA_UNKNOWN   DT_MEM_ARCH_ATTR_UNKNOWN

◆ DT_MEM_XTENSA_XLMI

#define DT_MEM_XTENSA_XLMI   DT_MEM_XTENSA(ATTR_XTENSA_XLMI)