RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Macros | Functions
rtems_heap_greedy.c File Reference

Greedy Allocate that Empties the Heap. More...

#include "malloc_p.h"

Macros

#define SBRK_ALLOC_SIZE   (128 * 1024UL * 1024UL)
 

Functions

void * rtems_heap_greedy_allocate (const uintptr_t *block_sizes, size_t block_count)
 Greedy allocate that empties the heap.
 
void * rtems_heap_greedy_allocate_all_except_largest (uintptr_t *allocatable_size)
 Greedy allocate all blocks except the largest free block.
 
void rtems_heap_greedy_free (void *opaque)
 Frees space of a greedy allocation.
 

Detailed Description

Greedy Allocate that Empties the Heap.