RTEMS  5.0.0
Functions
workspacegreedy.c File Reference

Greedy Allocate that Empties the Workspace and Free. More...

#include <rtems/rtems/support.h>
#include <rtems/score/apimutex.h>
#include <rtems/score/heapimpl.h>
#include <rtems/score/threaddispatch.h>
#include <rtems/score/wkspace.h>

Functions

void * rtems_workspace_greedy_allocate (const uintptr_t *block_sizes, size_t block_count)
 Greedy allocate that empties the workspace. More...
 
void * rtems_workspace_greedy_allocate_all_except_largest (uintptr_t *allocatable_size)
 Greedy allocate all blocks except the largest free block. More...
 
void rtems_workspace_greedy_free (void *opaque)
 Frees space of a greedy allocation. More...
 

Detailed Description

Greedy Allocate that Empties the Workspace and Free.