[USER] brk syscall

This commit is contained in:
2016-12-21 08:55:27 +01:00
parent 19df873615
commit a2cba95346
8 changed files with 73 additions and 7 deletions

10
libc/mem.c Normal file
View File

@@ -0,0 +1,10 @@
#include "syscalls.h"
long kernel_syscall(int num, ...);
SYSCALL_DEF(brk)
{
SYSCALL_INIT(unsigned long, brk);
return kernel_syscall(SYS_BRK, brk);
}