wip on fork
minimal example works
This commit is contained in:
@@ -231,6 +231,8 @@ void copy_pagetable(four_lvl_paging_t* parent_table, four_lvl_paging_t* child_ta
|
||||
((uintptr_t)i3<<30) |
|
||||
((uintptr_t)i2<<21) |
|
||||
((uintptr_t)i1<<12) ;
|
||||
if(vaddr < 0x4000000)
|
||||
continue;
|
||||
if(!isMapped(vaddr, child_table)){
|
||||
//only copy if not part of basic pagetable
|
||||
assert( (i3>0) || (i2>=32)); //assert user memory
|
||||
|
||||
Reference in New Issue
Block a user