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 - make this compile on sparc.
details: https://anonhg.NetBSD.org/src/rev/76386b6d3aa8
branches: trunk
changeset: 748900:76386b6d3aa8
user: nakayama <nakayama%NetBSD.org@localhost>
date: Mon Nov 09 14:35:38 2009 +0000
description:
- make this compile on sparc.
- shrink blanks to fit in 80 columns.
diffstat:
sys/rump/librump/rumpkern/pmap_stub.c | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diffs (46 lines):
diff -r e89a941d4af5 -r 76386b6d3aa8 sys/rump/librump/rumpkern/pmap_stub.c
--- a/sys/rump/librump/rumpkern/pmap_stub.c Mon Nov 09 14:34:42 2009 +0000
+++ b/sys/rump/librump/rumpkern/pmap_stub.c Mon Nov 09 14:35:38 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_stub.c,v 1.22 2009/11/07 12:08:35 dsl Exp $ */
+/* $NetBSD: pmap_stub.c,v 1.23 2009/11/09 14:35:38 nakayama 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.22 2009/11/07 12:08:35 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_stub.c,v 1.23 2009/11/09 14:35:38 nakayama Exp $");
#include <sys/param.h>
@@ -56,7 +56,7 @@
bool pmap_is_modified(struct vm_page *);
bool pmap_clear_modify(struct vm_page *);
-void pmap_kenter_pa(vaddr_t, paddr_t, vm_prot_t);
+void pmap_kenter_pa(vaddr_t, paddr_t, vm_prot_t, u_int);
void pmap_kremove(vaddr_t, vsize_t);
void pmap_page_protect(struct vm_page *, vm_prot_t);
bool pmap_extract(pmap_t, vaddr_t, paddr_t *);
@@ -256,11 +256,11 @@
#endif
#if defined(__sparc__) && !defined(__sparc_v9__)
-bool (*pmap_clear_modify_p)(struct vm_page *) = pmap_clear_modify;
-bool (*pmap_is_modified_p)(struct vm_page *) = pmap_is_modified;
-void (*pmap_kenter_pa_p)(vaddr_t, paddr_t, vm_prot_t) = pmap_kenter_pa;
-void (*pmap_kremove_p)(vaddr_t, vsize_t) = pmap_kremove;
-void (*pmap_page_protect_p)(struct vm_page *, vm_prot_t)=pmap_page_protect;
-bool (*pmap_extract_p)(pmap_t, vaddr_t, paddr_t *) = pmap_extract;
-int (*pmap_enter_p)(pmap_t, vaddr_t, paddr_t, vm_prot_t, u_int) = pmap_enter;
+bool (*pmap_clear_modify_p)(struct vm_page *) = pmap_clear_modify;
+bool (*pmap_is_modified_p)(struct vm_page *) = pmap_is_modified;
+void (*pmap_kenter_pa_p)(vaddr_t, paddr_t, vm_prot_t, u_int) = pmap_kenter_pa;
+void (*pmap_kremove_p)(vaddr_t, vsize_t) = pmap_kremove;
+void (*pmap_page_protect_p)(struct vm_page *, vm_prot_t) = pmap_page_protect;
+bool (*pmap_extract_p)(pmap_t, vaddr_t, paddr_t *) = pmap_extract;
+int (*pmap_enter_p)(pmap_t, vaddr_t, paddr_t, vm_prot_t, u_int) = pmap_enter;
#endif
Home |
Main Index |
Thread Index |
Old Index