summaryrefslogtreecommitdiff
path: root/i386
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 /i386
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.
Diffstat (limited to 'i386')
-rw-r--r--i386/intel/pmap.c2
1 files changed, 1 insertions, 1 deletions
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)