From 592b574993ac8faddd58613e3bd3a573e68bd612 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 29 Dec 2008 11:11:03 +0000 Subject: 2008-12-29 Samuel Thibault * i386/intel/pmap.c (pmap_bootstrap): Extend kernel virtual memory to at least the size of the physical memory. --- i386/intel/pmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i386/intel') 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) -- cgit v1.2.3