Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Export pmap_procwr() declaration only #ifdef _KERNEL.
details: https://anonhg.NetBSD.org/src/rev/da01d08dbb49
branches: trunk
changeset: 749870:da01d08dbb49
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Fri Dec 11 18:31:27 2009 +0000
description:
Export pmap_procwr() declaration only #ifdef _KERNEL.
diffstat:
sys/arch/sun2/include/pmap.h | 6 +++---
sys/arch/sun3/include/pmap.h | 4 +++-
2 files changed, 6 insertions(+), 4 deletions(-)
diffs (39 lines):
diff -r c42c1a389131 -r da01d08dbb49 sys/arch/sun2/include/pmap.h
--- a/sys/arch/sun2/include/pmap.h Fri Dec 11 18:28:35 2009 +0000
+++ b/sys/arch/sun2/include/pmap.h Fri Dec 11 18:31:27 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.22 2009/12/11 13:56:15 tsutsui Exp $ */
+/* $NetBSD: pmap.h,v 1.23 2009/12/11 18:31:27 tsutsui Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -100,9 +100,9 @@
#define PMAP_NC 0x00 /* tells pmap_enter to set PG_NC */
#define PMAP_SPEC 0x0C /* mask to get all above. */
-#endif /* _KERNEL */
+void pmap_procwr(struct proc *, vaddr_t, size_t);
-void pmap_procwr(struct proc *, vaddr_t, size_t);
+#endif /* _KERNEL */
/* MMU specific segment value */
#define SEGSHIFT 15 /* LOG2(NBSG) */
diff -r c42c1a389131 -r da01d08dbb49 sys/arch/sun3/include/pmap.h
--- a/sys/arch/sun3/include/pmap.h Fri Dec 11 18:28:35 2009 +0000
+++ b/sys/arch/sun3/include/pmap.h Fri Dec 11 18:31:27 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.31 2008/12/09 20:45:45 pooka Exp $ */
+/* $NetBSD: pmap.h,v 1.32 2009/12/11 18:31:27 tsutsui Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -36,6 +36,8 @@
#include <machine/pmap3x.h>
#endif /* SUN3X */
+#ifdef _KERNEL
void pmap_procwr(struct proc *, vaddr_t, size_t);
+#endif
#endif /* _MACHINE_PMAP_H */
Home |
Main Index |
Thread Index |
Old Index