RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Files | Typedefs | Functions | Variables

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

Files

file  mallocinitmulti.c
 This source file contains the _Workspace_Malloc_initialize_separate() implementation which supports more than one memory area.
 
file  mallocinitone.c
 This source file contains the _Workspace_Malloc_initialize_separate() implementation which supports exactly one memory area.
 
file  malloc.h
 This header file defines interfaces to support and use dynamic memory allocation.
 
file  mallocinitmulti.h
 This header file provides the implementation of _Malloc_Initialize_for_multiple_areas().
 
file  mallocinitone.h
 This header file provides the implementation of _Malloc_Initialize_for_one_area().
 
file  malloc_dirtier.c
 Dirty Memory Function.
 
file  mallocheap.c
 This source file provides the C Program Heap control along with the system initialization handler.
 
file  rtems_heap_extend_via_sbrk.c
 RTEMS Extend Heap via Sbrk.
 
file  rtems_heap_greedy.c
 Greedy Allocate that Empties the Heap.
 
file  rtems_heap_sbrk_greedy.c
 Greedy Allocate that Empties the sbrk system call.
 
file  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_ControlRTEMS_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.