Use alternative API

Replaced Allocate_majority_of_workspace() with
rtems_workspace_allocate().  Replaced Allocate_majority_of_heap() with
rtems_heap_greedy_allocate().
This commit is contained in:
Sebastian Huber
2012-02-17 16:54:23 +01:00
parent 622d6703d3
commit 77998753b5
6 changed files with 5 additions and 70 deletions

View File

@@ -16,24 +16,6 @@
extern "C" {
#endif
/*
* Allocate a number of small blocks from the workspace
* until the largest free block of memory available is
* smaller than smallest.
*
* NOTE: The memory CANNOT be freed.
*/
void Allocate_majority_of_workspace( int smallest );
/*
* Allocate a number of small blocks from the heap
* until the largest free block of memory available is
* smaller than smallest.
*
* NOTE: The memory CANNOT be freed.
*/
void Allocate_majority_of_heap( int smallest );
/*
* Return a pointer to the POSIX name that is slightly
* beyond the legal limit.