RTEMS 6.1-rc1
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. More...
 
void * rtems_heap_greedy_allocate_all_except_largest (uintptr_t *allocatable_size)
 Greedy allocate all blocks except the largest free block. More...
 
void rtems_heap_greedy_free (void *opaque)
 Frees space of a greedy allocation. More...
 

Detailed Description

Greedy Allocate that Empties the Heap.