18 #ifndef _RTEMS_SCORE_PROTECTED_HEAP_H 19 #define _RTEMS_SCORE_PROTECTED_HEAP_H uintptr_t _Protected_heap_Get_size(Heap_Control *heap)
See _Heap_Get_size().
Definition: pheapgetsize.c:24
#define RTEMS_INLINE_ROUTINE
Definition: basedefs.h:65
uintptr_t _Heap_Initialize(Heap_Control *heap, void *area_begin, uintptr_t area_size, uintptr_t page_size)
Initializes the heap control block heap to manage the area starting at area_begin of size area_size b...
Definition: heap.c:201
Heap Handler Implementation.
bool _Protected_heap_Extend(Heap_Control *heap, void *area_begin, uintptr_t area_size)
See _Heap_Extend().
Definition: pheapextend.c:24
bool _Protected_heap_Resize_block(Heap_Control *heap, void *addr, uintptr_t size)
See _Heap_Resize_block().
Definition: pheapresizeblock.c:24
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().
Definition: protectedheap.h:43
bool _Protected_heap_Get_block_size(Heap_Control *heap, void *addr, uintptr_t *size)
See _Heap_Size_of_alloc_area().
Definition: pheapgetblocksize.c:24
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.
Definition: protectedheap.h:77
bool _Protected_heap_Free(Heap_Control *heap, void *addr)
See _Heap_Free().
Definition: pheapfree.c:24
Control block used to manage a heap.
Definition: heap.h:255
bool _Protected_heap_Get_free_information(Heap_Control *heap, Heap_Information *info)
See _Heap_Get_free_information().
Definition: pheapgetfreeinfo.c:24
bool _Protected_heap_Walk(Heap_Control *heap, int source, bool dump)
See _Heap_Walk().
Definition: pheapwalk.c:25
bool(* Heap_Block_visitor)(const Heap_Block *block, uintptr_t block_size, bool block_is_used, void *visitor_arg)
Heap block visitor.
Definition: heapimpl.h:172
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().
Definition: pheapallocate.c:24
unsigned size
Definition: tte.h:74
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.
Definition: protectedheap.h:91
void _Protected_heap_Iterate(Heap_Control *heap, Heap_Block_visitor visitor, void *visitor_arg)
See _Heap_Iterate().
Definition: pheapiterate.c:29
bool _Protected_heap_Get_information(Heap_Control *heap, Heap_Information_block *info)
See _Heap_Get_information().
Definition: pheapgetinfo.c:24