summaryrefslogtreecommitdiff
path: root/src/user/lib/include/tce
diff options
context:
space:
mode:
authorAlex AUVOLAT <alexis211@gmail.com>2012-05-01 17:42:36 +0200
committerAlex AUVOLAT <alexis211@gmail.com>2012-05-01 17:42:36 +0200
commite9683297bf480f9590b0e5796f4520fb430e2e03 (patch)
tree93ef75cd154edf4c342d0a22cd56eb3670feb2b5 /src/user/lib/include/tce
parente8cf65c07d78e3cfbac953b1b97c51998a5900df (diff)
downloadTCE-e9683297bf480f9590b0e5796f4520fb430e2e03.tar.gz
TCE-e9683297bf480f9590b0e5796f4520fb430e2e03.zip
Now using Doug Lea's malloc for userland too. And improved stability.
Diffstat (limited to 'src/user/lib/include/tce')
-rw-r--r--src/user/lib/include/tce/mem.h9
-rw-r--r--src/user/lib/include/tce/syscall.h5
2 files changed, 2 insertions, 12 deletions
diff --git a/src/user/lib/include/tce/mem.h b/src/user/lib/include/tce/mem.h
deleted file mode 100644
index ab17bde..0000000
--- a/src/user/lib/include/tce/mem.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef DEF_HEAP_H
-#define DEF_HEAP_H
-
-#include <tce/syscall.h>
-
-void* malloc(size_t size);
-void free(void* p);
-
-#endif
diff --git a/src/user/lib/include/tce/syscall.h b/src/user/lib/include/tce/syscall.h
index 5257a02..7cb4381 100644
--- a/src/user/lib/include/tce/syscall.h
+++ b/src/user/lib/include/tce/syscall.h
@@ -14,8 +14,7 @@ void thread_new(void (*entry)(void*), void *data);
void irq_wait(int number);
int proc_priv();
-int proc_setheap(size_t start, size_t end);
-int shm_create(size_t offset, size_t length);
-int shm_delete(size_t offset);
+void* sbrk(size_t size);
+void brk(void* ptr);
#endif