RTEMS  5.0.0
Files | Functions
Protected Heap Handler

Provides protected heap services. More...

Files

file  protectedheap.h
 Protected Heap Handler API.
 
file  pheapallocate.c
 Protected Heap Handler implementation.
 
file  pheapextend.c
 Protected Heap Handler implementation.
 
file  pheapfree.c
 Protected Heap Handler implementation.
 
file  pheapgetblocksize.c
 Protected Heap Handler implementation.
 
file  pheapgetfreeinfo.c
 Protected Heap Handler implementation.
 
file  pheapgetinfo.c
 Protected Heap Handler implementation.
 
file  pheapgetsize.c
 Protected Heap Handler implementation.
 
file  pheapinit.c
 Protected Heap Handler implementation.
 
file  pheapiterate.c
 _Heap_Iterate() implementation.
 
file  pheapresizeblock.c
 Protected Heap Handler implementation.
 
file  pheapwalk.c
 Protected Heap Handler implementation.
 

Functions

RTEMS_INLINE_ROUTINE uintptr_t _Protected_heap_Initialize (Heap_Control *heap, void *area_begin, uintptr_t area_size, uintptr_t page_size)
 See _Heap_Initialize().
 
bool _Protected_heap_Extend (Heap_Control *heap, void *area_begin, uintptr_t area_size)
 See _Heap_Extend(). More...
 
void * _Protected_heap_Allocate_aligned_with_boundary (Heap_Control *heap, uintptr_t size, uintptr_t alignment, uintptr_t boundary)
 See _Heap_Allocate_aligned_with_boundary().
 
RTEMS_INLINE_ROUTINE void * _Protected_heap_Allocate_aligned (Heap_Control *heap, uintptr_t size, uintptr_t alignment)
 See _Heap_Allocate_aligned_with_boundary() with boundary equals zero.
 
RTEMS_INLINE_ROUTINE void * _Protected_heap_Allocate (Heap_Control *heap, uintptr_t size)
 See _Heap_Allocate_aligned_with_boundary() with alignment and boundary equals zero.
 
bool _Protected_heap_Get_block_size (Heap_Control *heap, void *addr, uintptr_t *size)
 See _Heap_Size_of_alloc_area().
 
bool _Protected_heap_Resize_block (Heap_Control *heap, void *addr, uintptr_t size)
 See _Heap_Resize_block(). More...
 
bool _Protected_heap_Free (Heap_Control *heap, void *addr)
 See _Heap_Free(). More...
 
bool _Protected_heap_Walk (Heap_Control *heap, int source, bool dump)
 See _Heap_Walk().
 
void _Protected_heap_Iterate (Heap_Control *heap, Heap_Block_visitor visitor, void *visitor_arg)
 See _Heap_Iterate().
 
bool _Protected_heap_Get_information (Heap_Control *heap, Heap_Information_block *info)
 See _Heap_Get_information(). More...
 
bool _Protected_heap_Get_free_information (Heap_Control *heap, Heap_Information *info)
 See _Heap_Get_free_information(). More...
 
uintptr_t _Protected_heap_Get_size (Heap_Control *heap)
 See _Heap_Get_size().
 

Detailed Description

Provides protected heap services.

The RTEMS Allocator Mutex is used to protect the heap accesses.

Function Documentation

◆ _Protected_heap_Extend()

bool _Protected_heap_Extend ( Heap_Control heap,
void *  area_begin,
uintptr_t  area_size 
)

See _Heap_Extend().

Returns true in case of success, and false otherwise.

◆ _Protected_heap_Free()

bool _Protected_heap_Free ( Heap_Control heap,
void *  addr 
)

See _Heap_Free().

Returns true in case of success, and false otherwise.

◆ _Protected_heap_Get_free_information()

bool _Protected_heap_Get_free_information ( Heap_Control heap,
Heap_Information info 
)

See _Heap_Get_free_information().

Returns true in case of success, and false otherwise.

◆ _Protected_heap_Get_information()

bool _Protected_heap_Get_information ( Heap_Control heap,
Heap_Information_block info 
)

See _Heap_Get_information().

Returns true in case of success, and false otherwise.

◆ _Protected_heap_Resize_block()

bool _Protected_heap_Resize_block ( Heap_Control heap,
void *  addr,
uintptr_t  size 
)

See _Heap_Resize_block().

Returns true in case of success, and false otherwise.