RTEMS  5.1
Functions
heap.c File Reference

Heap Handler implementation. More...

#include <rtems/score/heapimpl.h>
#include <rtems/score/threadimpl.h>
#include <rtems/score/interr.h>
#include <string.h>

Functions

bool _Heap_Get_first_and_last_block (uintptr_t heap_area_begin, uintptr_t heap_area_size, uintptr_t page_size, uintptr_t min_block_size, Heap_Block **first_block_ptr, Heap_Block **last_block_ptr)
 Gets the first and last block for the heap area. More...
 
uintptr_t _Heap_Initialize (Heap_Control *heap, void *heap_area_begin_ptr, uintptr_t heap_area_size, uintptr_t page_size)
 Initializes the heap control block. More...
 
Heap_Block_Heap_Block_allocate (Heap_Control *heap, Heap_Block *block, uintptr_t alloc_begin, uintptr_t alloc_size)
 Allocates the memory area. starting at alloc_begin of size alloc_size bytes in the block block. More...
 

Detailed Description

Heap Handler implementation.