Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode/usermode The pv_tables and the kernel pmap...
details: https://anonhg.NetBSD.org/src/rev/ebe2a151aa2c
branches: trunk
changeset: 768632:ebe2a151aa2c
user: reinoud <reinoud%NetBSD.org@localhost>
date: Tue Aug 23 12:46:58 2011 +0000
description:
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.
diffstat:
sys/arch/usermode/usermode/pmap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9ba6894c94e1 -r ebe2a151aa2c sys/arch/usermode/usermode/pmap.c
--- a/sys/arch/usermode/usermode/pmap.c Tue Aug 23 12:36:20 2011 +0000
+++ b/sys/arch/usermode/usermode/pmap.c Tue Aug 23 12:46:58 2011 +0000
@@ -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 <reinoud%NetBSD.org@localhost>
@@ -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 */
}
Home |
Main Index |
Thread Index |
Old Index