rewrite ipc to use vaddress instead of paddr
This commit is contained in:
@@ -188,7 +188,7 @@ void* getFreeVirtSpace(pagetable_t* l4, uint8_t num_pages){
|
||||
}
|
||||
}
|
||||
if(space_is_free){
|
||||
//next_start_v = v+num_pages;
|
||||
next_start_v = v+num_pages;
|
||||
return (void*) ((uintptr_t) (v <<12));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user