On 9/2/21 3:58 pm, Sebastian Huber wrote:
> On 09/02/2021 03:31, chr...@rtems.org wrote:
>
>> +++ b/cpukit/libcsupport/src/rtems_heap_sbrk_greedy.c
>> @@ -0,0 +1,37 @@
>> +/**
>> + * @file
>> + *
>> + * @brief Greedy Allocate that Empties the sbrk system call
>> + * @ingroup MallocSupport
>> +
On 09/02/2021 03:31, chr...@rtems.org wrote:
+++ b/cpukit/libcsupport/src/rtems_heap_sbrk_greedy.c
@@ -0,0 +1,37 @@
+/**
+ * @file
+ *
+ * @brief Greedy Allocate that Empties the sbrk system call
+ * @ingroup MallocSupport
+ */
+
+/*
+ * Copyright (c) 2021 Chris Johns. All rights reserved.
+
From: Chris Johns
- Move the heap sbrk code into a separate routnine.
- Update heap and workspace greedy allocators to use the common
sbrk greedy support.
Closes #3982
---
cpukit/Makefile.am| 1 +
cpukit/include/rtems/malloc.h | 13 +++
cpukit