mirror of
https://github.com/drasko/codezero.git
synced 2026-02-11 01:13:16 +01:00
Added copy_vma() function.
Sorting out return_from_fork() and kernel stack setup for the child.
This commit is contained in:
@@ -62,6 +62,8 @@ LIST_HEAD(vm_object_list);
|
||||
struct vm_object *vm_object_init(struct vm_object *obj)
|
||||
{
|
||||
INIT_LIST_HEAD(&obj->list);
|
||||
INIT_LIST_HEAD(&obj->shref);
|
||||
INIT_LIST_HEAD(&obj->shadowers);
|
||||
INIT_LIST_HEAD(&obj->page_cache);
|
||||
|
||||
return obj;
|
||||
|
||||
Reference in New Issue
Block a user