40#ifndef _RTEMS_RTEMS_LIBCSUPPORT_H
41#define _RTEMS_RTEMS_LIBCSUPPORT_H
63extern void malloc_dump(
void);
102#ifdef _REENT_THREAD_LOCAL
103#define _NEWLIB_CREATE_HOOK NULL
105bool newlib_create_hook(
109#define _NEWLIB_CREATE_HOOK newlib_create_hook
112void newlib_terminate_hook(
116#define RTEMS_NEWLIB_EXTENSION \
118 _NEWLIB_CREATE_HOOK, \
126 newlib_terminate_hook \
130 uint32_t active_barriers;
131 uint32_t active_extensions;
132 uint32_t active_message_queues;
133 uint32_t active_partitions;
134 uint32_t active_periods;
135 uint32_t active_ports;
136 uint32_t active_regions;
137 uint32_t active_semaphores;
138 uint32_t active_tasks;
139 uint32_t active_timers;
143 uint32_t active_message_queues;
144 uint32_t active_semaphores;
145 uint32_t active_threads;
146 uint32_t active_timers;
152 uint32_t active_posix_key_value_pairs;
153 uint32_t active_posix_keys;
bool rtems_resource_snapshot_equal(const rtems_resource_snapshot *a, const rtems_resource_snapshot *b)
Compares two resource snapshots for equality.
Definition: resource_snapshot.c:148
int malloc_info(Heap_Information_block *the_info)
Get malloc status information.
Definition: mallocinfo.c:43
Heap_Control * malloc_get_heap_pointer(void)
Get malloc heap pointer.
Definition: mallocgetheapptr.c:44
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.
Definition: resource_snapshot.c:156
bool malloc_walk(int source, bool printf_enabled)
Malloc walk.
void rtems_resource_snapshot_take(rtems_resource_snapshot *snapshot)
Tasks a snapshot of the resource usage of the system.
Definition: resource_snapshot.c:113
size_t malloc_free_space(void)
Get free malloc information.
Definition: mallocfreespace.c:56
void malloc_set_heap_pointer(Heap_Control *new_heap)
Set malloc heap pointer.
Definition: mallocsetheapptr.c:44
This header file provides interfaces of the Heap Handler which are used by the implementation and the...
Control block used to manage a heap.
Definition: heap.h:339
Definition: libcsupport.h:142
Definition: libcsupport.h:129
Definition: libcsupport.h:149
This header file defines the main parts of the Tasks Manager API.