17 #if !defined (_RTEMS_RTL_INDIRECT_PTR_H_) 18 #define _RTEMS_RTL_INDIRECT_PTR_H_ 113 return handle->
pointer == NULL;
132 rtems_rtl_ptr_init (src);
141 #define rtems_rtl_ptr_type_get(_h, _t) ((_t*) rtems_rtl_ptr_get (_h)) 151 return rtems_rtl_ptr_get (&handle->
ptr);
162 rtems_rtl_ptr_set (&handle->
ptr, pointer);
172 rtems_rtl_ptr_init (&handle->
ptr);
184 return rtems_rtl_ptr_null (&handle->
ptr);
196 rtems_rtl_ptr_move (&dst->
ptr, &src->
ptr);
218 static inline void rtems_rtl_sptr_set_size (
rtems_rtl_sptr_t* handle,
size_t size)
229 #define rtems_rtl_sptr_type_get(_h, _t) ((_t*) rtems_rtl_sptr_get (_h)) This is used to manage each element (node) which is placed on a chain.
Definition: chain.h:65
RTEMS_INLINE_ROUTINE void rtems_chain_extract_unprotected(rtems_chain_node *the_node)
Extract the specified node from a chain (unprotected).
Definition: chain.h:584
rtems_chain_node node
Indirect pointers are held on lists.
Definition: rtl-indirect-ptr.h:30
rtems_rtl_ptr_t ptr
The indirect pointer.
Definition: rtl-indirect-ptr.h:40
rtems_chain_node node
Chain of indirect pointers.
Definition: rtl-indirect-ptr.h:66
void * pointer
The actual pointer.
Definition: rtl-indirect-ptr.h:31
RTEMS_INLINE_ROUTINE void rtems_chain_insert_unprotected(rtems_chain_node *after_node, rtems_chain_node *the_node)
See _Chain_Insert_unprotected().
Definition: chain.h:653
RTEMS_INLINE_ROUTINE void rtems_chain_set_off_chain(rtems_chain_node *node)
Set off chain.
Definition: chain.h:183
rtems_rtl_ptr_t ptr
The indirect pointer.
Definition: rtl-indirect-ptr.h:54
rtems_chain_node node
Chain of indirect pointers.
Definition: rtl-indirect-ptr.h:53
The RTL Indirect size and pointer.
Definition: rtl-indirect-ptr.h:39
A chain of indirect pointers for users to chain in applications.
Definition: rtl-indirect-ptr.h:52
rtems_rtl_sptr_t ptr
The indirect pointer.
Definition: rtl-indirect-ptr.h:67
The RTL Indirect pointer.
Definition: rtl-indirect-ptr.h:29
A chain of indirect sized pointers for users to chain in applications.
Definition: rtl-indirect-ptr.h:65
size_t size
The size of the memory block.
Definition: rtl-indirect-ptr.h:41