10 #ifndef _RTEMS_RTEMS_ASSOC_H 11 #define _RTEMS_RTEMS_ASSOC_H 34 uint32_t remote_value;
41 #define RTEMS_ASSOC_DEFAULT_NAME "(default)" 59 uint32_t rtems_assoc_remote_by_local(
130 uint32_t rtems_assoc_local_by_remote_bitfield(
143 #if defined(INSIDE_ASSOC) 145 #define rtems_assoc_is_default(_ap) \ 146 ((_ap)->name && !strcmp((_ap)->name, RTEMS_ASSOC_DEFAULT_NAME)) 154 const char *rtems_assoc_name_bad(
185 const char *separator,
uint32_t rtems_assoc_local_by_remote(const rtems_assoc_t *, uint32_t)
RTEMS Associate Local by Remote.
const rtems_assoc_t * rtems_assoc_ptr_by_local(const rtems_assoc_t *ap, uint32_t local_value)
RTEMS Associate Pointer by Local.
const char * rtems_assoc_name_by_local(const rtems_assoc_t *, uint32_t)
RTEMS Associate Name by Local.
char * rtems_assoc_name_by_remote_bitfield(const rtems_assoc_t *, uint32_t, char *)
RTEMS Associate Name by Remote Bitfield.
uint32_t rtems_assoc_local_by_name(const rtems_assoc_t *, const char *)
RTEMS Associate Local by Name.
size_t rtems_assoc_32_to_string(uint32_t value, char *buffer, size_t buffer_size, const rtems_assoc_32_pair *pairs, size_t pair_count, const char *separator, const char *fallback)
Converts the specified value into a text representation.
size_t rtems_assoc_thread_states_to_string(uint32_t states, char *buffer, size_t buffer_size)
Converts the specified thread states into a text representation.
const rtems_assoc_t * rtems_assoc_ptr_by_remote(const rtems_assoc_t *, uint32_t)
RTEMS Associate Pointer by Remote.
const char * rtems_assoc_name_by_remote(const rtems_assoc_t *, uint32_t)
RTEMS Associate Name by Remote.
uint32_t rtems_assoc_remote_by_name(const rtems_assoc_t *, const char *)
RTEMS Associate Remote by Name.
const rtems_assoc_t * rtems_assoc_ptr_by_name(const rtems_assoc_t *, const char *)
RTEMS Associate Pointer by Name.
uint32_t rtems_assoc_remote_by_local_bitfield(const rtems_assoc_t *, uint32_t)
RTEMS Assoc Routines.
char * rtems_assoc_name_by_local_bitfield(const rtems_assoc_t *, uint32_t, char *)
RTEMS Associate Name by Local Bitfield.