RTEMS 6.3
Loading...
Searching...
No Matches

This group contains interfaces to support dynamic memory allocation. More...

Files

file  bsps/shared/start/mallocinitmulti.c
 This source file contains the _Workspace_Malloc_initialize_separate() implementation which supports more than one memory area.
file  bsps/shared/start/mallocinitone.c
 This source file contains the _Workspace_Malloc_initialize_separate() implementation which supports exactly one memory area.
file  cpukit/include/rtems/malloc.h
 This header file defines interfaces to support and use dynamic memory allocation.
file  cpukit/include/rtems/mallocinitmulti.h
 This header file provides the implementation of _Malloc_Initialize_for_multiple_areas().
file  cpukit/include/rtems/mallocinitone.h
 This header file provides the implementation of _Malloc_Initialize_for_one_area().
file  cpukit/libcsupport/src/malloc_dirtier.c
 Dirty Memory Function.
file  cpukit/libcsupport/src/mallocheap.c
 This source file provides the C Program Heap control along with the system initialization handler.
file  cpukit/libcsupport/src/rtems_heap_extend_via_sbrk.c
 RTEMS Extend Heap via Sbrk.
file  cpukit/libcsupport/src/rtems_heap_greedy.c
 Greedy Allocate that Empties the Heap.
file  cpukit/libcsupport/src/rtems_heap_sbrk_greedy.c
 Greedy Allocate that Empties the sbrk system call.
file  cpukit/libcsupport/src/rtems_memalign.c
 RTEMS Variation on Aligned Memory Allocation.

Typedefs

typedef void *(*) rtems_heap_extend_handler(Heap_Control *heap, size_t alloc_size)
typedef void(*) rtems_malloc_dirtier_t(void *, size_t)

Functions

void _Malloc_Initialize (void)
void * rtems_heap_extend_via_sbrk (Heap_Control *heap, size_t alloc_size)
 RTEMS Extend Heap via Sbrk.
void * rtems_heap_null_extend (Heap_Control *heap, size_t alloc_size)

Variables

Heap_Control * RTEMS_Malloc_Heap
 C program heap control.
const rtems_heap_extend_handler rtems_malloc_extend_handler
rtems_malloc_dirtier_t rtems_malloc_dirty_helper

Detailed Description

This group contains interfaces to support dynamic memory allocation.

Variable Documentation

◆ RTEMS_Malloc_Heap

Heap_Control* RTEMS_Malloc_Heap
extern

C program heap control.

This is the pointer to the heap control structure used to manage the C program heap.