17 #if !defined (_RTEMS_RTL_INDIRECT_PTR_H_) 18 #define _RTEMS_RTL_INDIRECT_PTR_H_ 89 static inline void rtems_rtl_ptr_set (
rtems_rtl_ptr* handle,
void* pointer)
111 static inline bool rtems_rtl_ptr_null (
rtems_rtl_ptr* handle)
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);
160 static inline void rtems_rtl_sptr_set (
rtems_rtl_sptr* handle,
void* pointer)
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);
207 static inline size_t rtems_rtl_sptr_get_size (
rtems_rtl_sptr* handle)
229 #define rtems_rtl_sptr_type_get(_h, _t) ((_t*) rtems_rtl_sptr_get (_h)) void * pointer
Definition: rtl-indirect-ptr.h:31
rtems_rtl_ptr ptr
Definition: rtl-indirect-ptr.h:40
RTEMS_INLINE_ROUTINE void rtems_chain_extract_unprotected(rtems_chain_node *the_node)
Extract the specified node from a chain (unprotected).
Definition: chain.h:590
Definition: rtl-indirect-ptr.h:29
rtems_chain_node node
Definition: rtl-indirect-ptr.h:53
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:650
rtems_rtl_sptr ptr
Definition: rtl-indirect-ptr.h:67
size_t size
Definition: rtl-indirect-ptr.h:41
RTEMS_INLINE_ROUTINE void rtems_chain_set_off_chain(rtems_chain_node *node)
Set off chain.
Definition: chain.h:183
Definition: rtl-indirect-ptr.h:65
rtems_chain_node node
Definition: rtl-indirect-ptr.h:66
unsigned size
Definition: tte.h:74
rtems_rtl_ptr ptr
Definition: rtl-indirect-ptr.h:54
Definition: rtl-indirect-ptr.h:52
Definition: rtl-indirect-ptr.h:39
#define NULL
Requests a GPIO pin group configuration.
Definition: bestcomm_api.h:77
rtems_chain_node node
Definition: rtl-indirect-ptr.h:30