RTEMS
Macros | Functions
support.h File Reference

This header file defines support services of the API. More...

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <rtems/config.h>
#include <rtems/rtems/status.h>
#include <rtems/rtems/types.h>
#include <rtems/score/heapinfo.h>

Go to the source code of this file.

Macros

#define RTEMS_MILLISECONDS_TO_MICROSECONDS(_ms)   ( ( _ms ) * 1000UL )
 Returns the number of microseconds for the specified milliseconds value. More...
 
#define RTEMS_MICROSECONDS_TO_TICKS(_us)   ( ( _us ) / rtems_configuration_get_microseconds_per_tick() )
 Returns the number of clock ticks for the specified microseconds value. More...
 
#define RTEMS_MILLISECONDS_TO_TICKS(_ms)   RTEMS_MICROSECONDS_TO_TICKS( RTEMS_MILLISECONDS_TO_MICROSECONDS( _ms ) )
 Returns the number of clock ticks for the specified milliseconds value. More...
 

Functions

static bool rtems_is_name_valid (rtems_status_code name)
 Returns true, if the specified object name is valid, otherwise returns false. More...
 
static 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. More...
 
bool rtems_workspace_allocate (size_t bytes, void **pointer)
 % More...
 
bool rtems_workspace_free (void *pointer)
 % More...
 
bool rtems_workspace_get_information (Heap_Information_block *the_info)
 % More...
 
void * rtems_workspace_greedy_allocate (const uintptr_t *block_sizes, size_t block_count)
 % More...
 
void * rtems_workspace_greedy_allocate_all_except_largest (uintptr_t *allocatable_size)
 % More...
 
void rtems_workspace_greedy_free (void *opaque)
 % More...
 

Detailed Description

This header file defines support services of the API.

Definition in file support.h.