mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[ion] Remove _liba_heap_start, simply use _heap_start
Change-Id: I395762275f3aa1832210dfc3faae9c0eefb91d9e
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
#include <string.h>
|
||||
#include <private/memconfig.h>
|
||||
|
||||
extern char * _liba_heap_start;
|
||||
extern char * _liba_heap_end;
|
||||
extern char _heap_start;
|
||||
extern char _heap_end;
|
||||
|
||||
heap_config_t HeapConfig = {
|
||||
.nHeap = 0
|
||||
@@ -17,8 +17,8 @@ void * memsys5Realloc(void *pPrior, int nBytes);
|
||||
int memsys5Roundup(int n);
|
||||
|
||||
static void configure_heap() {
|
||||
HeapConfig.nHeap = (_liba_heap_end - _liba_heap_start);
|
||||
HeapConfig.pHeap = _liba_heap_start;
|
||||
HeapConfig.nHeap = (&_heap_end - &_heap_start);
|
||||
HeapConfig.pHeap = &_heap_start;
|
||||
HeapConfig.mnReq = 1;
|
||||
HeapConfig.bMemstat = 0;
|
||||
HeapConfig.xLog = 0;
|
||||
|
||||
Reference in New Issue
Block a user