- 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:
Ben Gras
2009-12-07 12:10:44 +00:00
parent 51065a1b47
commit f0db9bb328
5 changed files with 80 additions and 79 deletions

View File

@@ -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;