RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Data Structures | Macros | Functions
libcsupport.h File Reference

Standard C Library Support. More...

#include <sys/types.h>
#include <stdint.h>
#include <rtems/score/heap.h>
#include <rtems/rtems/tasks.h>

Go to the source code of this file.

Data Structures

struct  rtems_resource_rtems_api
 
struct  rtems_resource_posix_api
 
struct  rtems_resource_snapshot
 

Macros

#define _NEWLIB_CREATE_HOOK   newlib_create_hook
 
#define RTEMS_NEWLIB_EXTENSION
 

Functions

void malloc_dump (void)
 
bool malloc_walk (int source, bool printf_enabled)
 Malloc walk.
 
void malloc_set_heap_pointer (Heap_Control *new_heap)
 Set malloc heap pointer.
 
Heap_Controlmalloc_get_heap_pointer (void)
 Get malloc heap pointer.
 
size_t malloc_free_space (void)
 Get free malloc information.
 
int malloc_info (Heap_Information_block *the_info)
 Get malloc status information.
 
bool newlib_create_hook (rtems_tcb *current_task, rtems_tcb *creating_task)
 
void newlib_terminate_hook (rtems_tcb *current_task)
 
void rtems_resource_snapshot_take (rtems_resource_snapshot *snapshot)
 Tasks a snapshot of the resource usage of the system.
 
bool rtems_resource_snapshot_equal (const rtems_resource_snapshot *a, const rtems_resource_snapshot *b)
 Compares two resource snapshots for equality.
 
bool rtems_resource_snapshot_check (const rtems_resource_snapshot *snapshot)
 Takes a new resource snapshot and checks that it is equal to the given resource snapshot.
 

Detailed Description

Standard C Library Support.

This include file contains the information regarding the RTEMS specific support for the standard C library.