Module Name:    src
Committed By:   reinoud
Date:           Tue Aug 23 12:46:58 UTC 2011

Modified Files:
        src/sys/arch/usermode/usermode: pmap.c

Log Message:
The pv_tables and the kernel pmap structure are not managed by UVM and thus
shouldn't be returned in pmap_virtual_space() for UVM.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/usermode/usermode/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/usermode/usermode/pmap.c
diff -u src/sys/arch/usermode/usermode/pmap.c:1.17 src/sys/arch/usermode/usermode/pmap.c:1.18
--- src/sys/arch/usermode/usermode/pmap.c:1.17	Tue Aug 23 12:36:20 2011
+++ src/sys/arch/usermode/usermode/pmap.c	Tue Aug 23 12:46:58 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.17 2011/08/23 12:36:20 jmcneill Exp $ */
+/* $NetBSD: pmap.c,v 1.18 2011/08/23 12:46:58 reinoud Exp $ */
 
 /*-
  * Copyright (c) 2011 Reinoud Zandijk <rein...@netbsd.org>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.17 2011/08/23 12:36:20 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.18 2011/08/23 12:46:58 reinoud Exp $");
 
 #include "opt_memsize.h"
 #include "opt_kmempages.h"
@@ -291,7 +291,7 @@
 void
 pmap_virtual_space(vaddr_t *vstartp, vaddr_t *vendp)
 {
-	*vstartp = kmem_ext_start;	/* min to map in */
+	*vstartp = kmem_ext_cur_start;	/* min to map in */
 	*vendp   = kmem_ext_end;	/* max available */
 }
 

Reply via email to