mirror of
https://github.com/drasko/codezero.git
synced 2026-01-30 19:53:14 +01:00
Added preliminary support for execve(). Updates to clone, fork, exit, task handling.
It turned out we used one version of kmalloc for malloc() and another for kfree()! Now fixed. Added parent-child relationship to tasks. Need to polish handling CLONE_PARENT and THREAD.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#include <l4/lib/list.h>
|
||||
#include <l4lib/arch/syscalls.h>
|
||||
#include <l4lib/arch/syslib.h>
|
||||
#include <kmalloc/kmalloc.h>
|
||||
#include <lib/malloc.h>
|
||||
#include <mm/alloc_page.h>
|
||||
#include <vm_area.h>
|
||||
#include <string.h>
|
||||
@@ -62,6 +62,7 @@ int default_release_pages(struct vm_object *vm_obj)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int file_page_out(struct vm_object *vm_obj, unsigned long page_offset)
|
||||
{
|
||||
struct vm_file *f = vm_object_to_file(vm_obj);
|
||||
|
||||
Reference in New Issue
Block a user