Module Name:    src
Committed By:   skrll
Date:           Thu Apr 30 15:31:17 UTC 2009

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

Log Message:
Update to deal with the new hppa pmap.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/rump/librump/rumpkern/pmap_stub.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/pmap_stub.c
diff -u src/sys/rump/librump/rumpkern/pmap_stub.c:1.12 src/sys/rump/librump/rumpkern/pmap_stub.c:1.13
--- src/sys/rump/librump/rumpkern/pmap_stub.c:1.12	Fri Jan 23 13:14:16 2009
+++ src/sys/rump/librump/rumpkern/pmap_stub.c	Thu Apr 30 15:31:16 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap_stub.c,v 1.12 2009/01/23 13:14:16 pooka Exp $	*/
+/*	$NetBSD: pmap_stub.c,v 1.13 2009/04/30 15:31:16 skrll Exp $	*/
 
 /*
  * Copyright (c) 2008 Antti Kantee.  All Rights Reserved.
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_stub.c,v 1.12 2009/01/23 13:14:16 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_stub.c,v 1.13 2009/04/30 15:31:16 skrll Exp $");
 
 #include <sys/param.h>
 
@@ -113,7 +113,9 @@
 /*
  * Begin MD stubs
  */
-#if !defined(__i386__) && !defined(__x86_64__) && !defined(__vax__)
+#if !defined(__i386__) && !defined(__x86_64__) && \
+    !defined(__hppa__) && \
+    !defined(__vax__) 
 void
 pmap_page_protect(struct vm_page *pg, vm_prot_t prot)
 {
@@ -122,6 +124,28 @@
 }
 #endif
 
+#ifdef __hppa__
+void
+pmap_page_remove(struct vm_page *pg)
+{
+
+}
+
+bool
+pmap_changebit(struct vm_page *pg, unsigned int set, unsigned int clear)
+{
+
+	return true;
+}
+
+bool
+pmap_testbit(struct vm_page *pg, unsigned int bit)
+{
+
+	return true;
+}
+#endif
+
 #if defined(__i386__) || defined(__x86_64__)
 bool
 pmap_clear_attrs(struct vm_page *pg, unsigned what)

Reply via email to