Module Name:    src
Committed By:   pooka
Date:           Sun Jun 13 11:05:58 UTC 2010

Modified Files:
        src/sys/rump/librump/rumpkern: emul.c

Log Message:
add rest of sparc pagesize variables


To generate a diff of this commit:
cvs rdiff -u -r1.138 -r1.139 src/sys/rump/librump/rumpkern/emul.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/rump/librump/rumpkern/emul.c
diff -u src/sys/rump/librump/rumpkern/emul.c:1.138 src/sys/rump/librump/rumpkern/emul.c:1.139
--- src/sys/rump/librump/rumpkern/emul.c:1.138	Thu Jun 10 21:40:42 2010
+++ src/sys/rump/librump/rumpkern/emul.c	Sun Jun 13 11:05:58 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: emul.c,v 1.138 2010/06/10 21:40:42 pooka Exp $	*/
+/*	$NetBSD: emul.c,v 1.139 2010/06/13 11:05:58 pooka Exp $	*/
 
 /*
  * Copyright (c) 2007 Antti Kantee.  All Rights Reserved.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.138 2010/06/10 21:40:42 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.139 2010/06/13 11:05:58 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/null.h>
@@ -96,9 +96,11 @@
 
 struct lwplist alllwp = LIST_HEAD_INITIALIZER(alllwp);
 
-/* sparc doesn't sport constant page size */
+/* sparc doesn't sport constant page size, pretend we have 4k pages */
 #ifdef __sparc__
 int nbpg = 4096;
+int pgofset = 4096-1;
+int pgshift = 12;
 #endif
 
 struct loadavg averunnable = {

Reply via email to