Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpkern Define uvmexp_pagemask and friends...
details: https://anonhg.NetBSD.org/src/rev/e724fbbe261f
branches: trunk
changeset: 758809:e724fbbe261f
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Tue Nov 16 01:12:57 2010 +0000
description:
Define uvmexp_pagemask and friends used by sparc to set PAGE_SIZE,
PAGE_MASK, PAGE_SHIFT dynamically.
diffstat:
sys/rump/librump/rumpkern/vm.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r ca9527ea2c53 -r e724fbbe261f sys/rump/librump/rumpkern/vm.c
--- a/sys/rump/librump/rumpkern/vm.c Mon Nov 15 23:59:06 2010 +0000
+++ b/sys/rump/librump/rumpkern/vm.c Tue Nov 16 01:12:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vm.c,v 1.99 2010/11/12 05:23:41 uebayasi Exp $ */
+/* $NetBSD: vm.c,v 1.100 2010/11/16 01:12:57 uebayasi Exp $ */
/*
* Copyright (c) 2007-2010 Antti Kantee. All Rights Reserved.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.99 2010/11/12 05:23:41 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.100 2010/11/16 01:12:57 uebayasi Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -69,6 +69,9 @@
kmutex_t uvm_swap_data_lock;
struct uvmexp uvmexp;
+int *uvmexp_pagesize;
+int *uvmexp_pagemask;
+int *uvmexp_pageshift;
struct uvm uvm;
struct vm_map rump_vmmap;
Home |
Main Index |
Thread Index |
Old Index