diff options
Diffstat (limited to 'src/user/lib/include/tce')
-rw-r--r-- | src/user/lib/include/tce/mem.h | 9 | ||||
-rw-r--r-- | src/user/lib/include/tce/syscall.h | 5 |
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 |