summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2012-12-28 21:41:46 +0100
committerRichard Braun <rbraun@sceen.net>2012-12-28 21:41:46 +0100
commit60693b640f527fff90ed62d0c532a6e86bd11a04 (patch)
treedfedc3ed10c6994cda0af6459cd9bf3a549d94fb /vm
parent3fa27e6bbd937c36ba845ed29b1a9369a8d97c9a (diff)
x86/pmap: reintroduce the kernel pmap
It is expected some future processes will require the kernel to have its own separate low level address space instead of always using the high part of user tasks. It also simplifies collecting statistics and managing other kernel specific data in a generic way. In addition, this change removes some duplicated boot data and makes boot code use more virtual to physical translations.
Diffstat (limited to 'vm')
-rw-r--r--vm/vm_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vm_map.c b/vm/vm_map.c
index 20e78934..eaf09ec1 100644
--- a/vm/vm_map.c
+++ b/vm/vm_map.c
@@ -913,7 +913,7 @@ vm_map_setup(void)
unsigned long start, end;
int error, flags;
- vm_map_init(kernel_map, NULL, VM_MIN_KERNEL_ADDRESS,
+ vm_map_init(kernel_map, kernel_pmap, VM_MIN_KERNEL_ADDRESS,
VM_MAX_KERNEL_ADDRESS);
/*