RTEMS: cpukit/include/rtems/score/protectedheap.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Functions
protectedheap.h File Reference
Internal » SuperCore » Heap Handler » Protected Heap Handler

Protected Heap Handler API. More...

`#include <rtems/score/heapimpl.h>`
`#include <rtems/score/apimutex.h>`

Go to the source code of this file.

## Functions
RTEMS_INLINE_ROUTINE uintptr_t | _Protected_heap_Initialize (Heap_Control *heap, void *area_begin, uintptr_t area_size, uintptr_t page_size)
| Initializes the protected heap.
bool | _Protected_heap_Extend (Heap_Control *heap, void *area_begin, uintptr_t area_size)
| Extends the protected heap.
void * | _Protected_heap_Allocate_aligned_with_boundary (Heap_Control *heap, uintptr_t size, uintptr_t alignment, uintptr_t boundary)
| Allocates an aligned memory area with boundary constraint for the protected heap.
RTEMS_INLINE_ROUTINE void * | _Protected_heap_Allocate_aligned (Heap_Control *heap, uintptr_t size, uintptr_t alignment)
| Allocates an aligned memory area.
RTEMS_INLINE_ROUTINE void * | _Protected_heap_Allocate (Heap_Control *heap, uintptr_t size)
| Allocates a memory area.
bool | _Protected_heap_Get_block_size (Heap_Control *heap, void *addr, uintptr_t *size)
| Returns the size of the allocatable memory area.
bool | _Protected_heap_Resize_block (Heap_Control *heap, void *addr, uintptr_t size)
| Resizes the block of the allocated memory area.
bool | _Protected_heap_Free (Heap_Control *heap, void *addr)
| Frees the allocated memory area.
bool | _Protected_heap_Walk (Heap_Control *heap, int source, bool dump)
| Verifies the integrity of the heap.
void | _Protected_heap_Iterate (Heap_Control *heap, Heap_Block_visitor visitor, void *visitor_arg)
| Iterates over all blocks of the heap.
bool | _Protected_heap_Get_information (Heap_Control *heap, Heap_Information_block *info)
| Returns information about used and free blocks for the heap.
bool | _Protected_heap_Get_free_information (Heap_Control *heap, Heap_Information *info)
| Returns information about free blocks for the heap.
uintptr_t | _Protected_heap_Get_size (Heap_Control *heap)
| Returns the size of the allocatable area in bytes.

## Detailed Description

Protected Heap Handler API.