summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2008-12-29 11:11:03 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:21 +0200
commit592b574993ac8faddd58613e3bd3a573e68bd612 (patch)
tree24094a5f8ee77050eb1e85eaadcfcb41bb63b030
parent991b29519c16fa77b69323af63e335ee43633836 (diff)
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.
-rw-r--r--ChangeLog5
-rw-r--r--i386/intel/pmap.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b165c35..e625ae6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)