RTEMS CPU Kit with SuperCore  4.10.99.0
Data Structures | Defines | Functions
rtems/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>
Include dependency graph for libcsupport.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rtems_resource_rtems_api
struct  rtems_resource_posix_api
struct  rtems_resource_snapshot

Defines

#define __RTEMS_NEWLIB_BEGIN   0
#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.
void libc_init (void)
int host_errno (void)
void fix_syscall_errno (void)
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_delete_hook (rtems_tcb *current_task, rtems_tcb *deleted_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.