RTEMS  5.1
Macros | Functions
support.h File Reference
#include <rtems/rtems/types.h>
#include <rtems/config.h>

Go to the source code of this file.

Macros

#define RTEMS_MILLISECONDS_TO_MICROSECONDS(_ms)   ((_ms) * 1000UL)
 Returns the number of micro seconds for the milli seconds value _ms.
 
#define RTEMS_MILLISECONDS_TO_TICKS(_ms)
 Returns the number of ticks for the milli seconds value _ms. More...
 
#define RTEMS_MICROSECONDS_TO_TICKS(_us)   ((_us) / rtems_configuration_get_microseconds_per_tick())
 Returns the number of ticks for the micro seconds value _us.
 

Functions

RTEMS_INLINE_ROUTINE bool rtems_is_name_valid (rtems_name name)
 Returns true if the name is valid, and false otherwise.
 
RTEMS_INLINE_ROUTINE void rtems_name_to_characters (rtems_name name, char *c1, char *c2, char *c3, char *c4)
 Breaks the object name into the four component characters c1, c2, c3, and c4.
 
bool rtems_workspace_get_information (Heap_Information_block *the_info)
 Gets Workspace Information. More...
 
bool rtems_workspace_allocate (size_t bytes, void **pointer)
 Allocates Memory from the Workspace. More...
 
bool rtems_workspace_free (void *pointer)
 Frees Memory Allocated from the Workspace. More...
 
void * rtems_workspace_greedy_allocate (const uintptr_t *block_sizes, size_t block_count)
 Greedy allocate that empties the workspace. More...
 
void * rtems_workspace_greedy_allocate_all_except_largest (uintptr_t *allocatable_size)
 Greedy allocate all blocks except the largest free block. More...
 
void rtems_workspace_greedy_free (void *opaque)
 Frees space of a greedy allocation. More...