forked from Imagelibrary/rtems
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user