diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | i386/intel/pmap.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2008-12-29 Samuel Thibault <samuel.thibault@ens-lyon.org> + + * i386/intel/pmap.c (pmap_bootstrap): Extend kernel virtual memory to + at least the size of the physical memory. + 2008-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org> * vm/vm_fault.c (vm_fault_page): Print value returned diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c index 02482ae..5ed006c 100644 --- a/i386/intel/pmap.c +++ b/i386/intel/pmap.c @@ -576,7 +576,7 @@ void pmap_bootstrap() */ kernel_virtual_start = phys_last_addr; kernel_virtual_end = phys_last_addr + morevm - + (phys_last_addr - phys_first_addr) / 15; + + (phys_last_addr - phys_first_addr); if (kernel_virtual_end < phys_last_addr || kernel_virtual_end > VM_MAX_KERNEL_ADDRESS) |