Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
memory.h File Reference

reserved-memory Devicetree macro public API header file. More...

Go to the source code of this file.

Macros

#define DT_RESERVED_MEM_GET_PTR(node_id)   _DT_RESERVED_START(node_id)
 Get the pointer to the reserved-memory region. More...
 
#define DT_RESERVED_MEM_GET_SIZE(node_id)   DT_REG_SIZE(node_id)
 Get the size of the reserved-memory region. More...
 
#define DT_RESERVED_MEM_GET_PTR_BY_PHANDLE(node_id, ph)    DT_RESERVED_MEM_GET_PTR(DT_PHANDLE(node_id, ph))
 Get the pointer to the reserved-memory region from a memory-reserved phandle. More...
 
#define DT_RESERVED_MEM_GET_SIZE_BY_PHANDLE(node_id, ph)    DT_RESERVED_MEM_GET_SIZE(DT_PHANDLE(node_id, ph))
 Get the size of the reserved-memory region from a memory-reserved phandle. More...
 

Detailed Description

reserved-memory Devicetree macro public API header file.