- map in as much memory as is necessary in 4MB chunks to
let boot processes run with segments - allow segment-only processes to fork() by copying them and giving them an identity page table
This commit is contained in:
@@ -123,8 +123,7 @@ vir_bytes sp; /* new value of sp */
|
||||
rmp->vm_arch.vm_seg[S].mem_vir) ? ENOMEM : OK;
|
||||
|
||||
if(r == OK && (rmp->vm_flags & VMF_HASPT) &&
|
||||
rmp->vm_endpoint != VM_PROC_NR) {
|
||||
vm_assert(rmp->vm_heap);
|
||||
rmp->vm_endpoint != VM_PROC_NR && rmp->vm_heap) {
|
||||
if(old_clicks < data_clicks) {
|
||||
vir_bytes more;
|
||||
more = (data_clicks - old_clicks) << CLICK_SHIFT;
|
||||
|
||||
Reference in New Issue
Block a user