Skip to content
Snippets Groups Projects
Commit 0f111bc5 authored by Wilke Pierre's avatar Wilke Pierre
Browse files

revert default return value allocate_if_possible -- ça plante sinon

parent 125fca9f
No related branches found
No related tags found
No related merge requests found
......@@ -378,11 +378,11 @@ int load_from_file(char* file,
}
int allocate_if_possible(pagetable_t pagetable, struct proc* p, uint64 addr){
return ENOVMA;
return 0;
}
int allocate_if_possible_range(pagetable_t pagetable, struct proc* p, uint64 addr, uint64 len){
return ENOVMA;
return 0;
}
// Copy from kernel to user.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment