From 4ddca59e2c07a98988ffb07571d2b35c4c90f5ac Mon Sep 17 00:00:00 2001 From: Miguel Date: Fri, 28 Sep 2018 01:52:07 +0200 Subject: reactiveate threads. allow user space access to framebuffer --- kernel/syscalls.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'kernel/syscalls.c') diff --git a/kernel/syscalls.c b/kernel/syscalls.c index d289121..01bc7a5 100644 --- a/kernel/syscalls.c +++ b/kernel/syscalls.c @@ -302,7 +302,16 @@ uint32_t syscall_fork(int none1, int none2, int none3, int pid) uint32_t syscall_clone(int none1, int none2, int none3, int pid) { - return task_clone(pid); + uint32_t newpid=task_clone(pid); + + for(int i=0;i