Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch Make pmap_aliasmask unsigned and declare it in <m68...



details:   https://anonhg.NetBSD.org/src/rev/dc0917878312
branches:  trunk
changeset: 760284:dc0917878312
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Jan 02 05:21:11 2011 +0000

description:
Make pmap_aliasmask unsigned and declare it in <m68k/pmap_motorola.h>.

XXX: does anyone still have working HP320 or HP350 with 020+HP_MMU+VAC?

diffstat:

 sys/arch/hp300/hp300/pmap_bootstrap.c |  7 ++-----
 sys/arch/m68k/include/pmap_motorola.h |  5 ++++-
 sys/arch/m68k/m68k/pmap_motorola.c    |  6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diffs (74 lines):

diff -r fc2a60889577 -r dc0917878312 sys/arch/hp300/hp300/pmap_bootstrap.c
--- a/sys/arch/hp300/hp300/pmap_bootstrap.c     Sun Jan 02 05:18:04 2011 +0000
+++ b/sys/arch/hp300/hp300/pmap_bootstrap.c     Sun Jan 02 05:21:11 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_bootstrap.c,v 1.48 2011/01/02 05:18:04 tsutsui Exp $      */
+/*     $NetBSD: pmap_bootstrap.c,v 1.49 2011/01/02 05:21:11 tsutsui Exp $      */
 
 /*
  * Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.48 2011/01/02 05:18:04 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.49 2011/01/02 05:21:11 tsutsui Exp $");
 
 #include <sys/param.h>
 
@@ -59,9 +59,6 @@
 
 extern int maxmem, physmem;
 extern paddr_t avail_start, avail_end;
-#ifdef M68K_MMU_HP
-extern int pmap_aliasmask;
-#endif
 
 void   pmap_bootstrap(paddr_t, paddr_t);
 
diff -r fc2a60889577 -r dc0917878312 sys/arch/m68k/include/pmap_motorola.h
--- a/sys/arch/m68k/include/pmap_motorola.h     Sun Jan 02 05:18:04 2011 +0000
+++ b/sys/arch/m68k/include/pmap_motorola.h     Sun Jan 02 05:21:11 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_motorola.h,v 1.30 2010/06/06 11:41:06 he Exp $    */
+/*     $NetBSD: pmap_motorola.h,v 1.31 2011/01/02 05:21:11 tsutsui Exp $       */
 
 /* 
  * Copyright (c) 1991, 1993
@@ -246,6 +246,9 @@
 #if defined(M68040) || defined(M68060)
 extern u_int           protostfree;
 #endif
+#ifdef M68K_MMU_HP
+extern u_int           pmap_aliasmask;
+#endif
 
 extern char            *vmmap;         /* map for mem, dumps, etc. */
 extern void            *CADDR1, *CADDR2;
diff -r fc2a60889577 -r dc0917878312 sys/arch/m68k/m68k/pmap_motorola.c
--- a/sys/arch/m68k/m68k/pmap_motorola.c        Sun Jan 02 05:18:04 2011 +0000
+++ b/sys/arch/m68k/m68k/pmap_motorola.c        Sun Jan 02 05:21:11 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_motorola.c,v 1.57 2010/11/10 09:27:22 uebayasi Exp $        */
+/*     $NetBSD: pmap_motorola.c,v 1.58 2011/01/02 05:21:11 tsutsui Exp $        */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -119,7 +119,7 @@
 #include "opt_m68k_arch.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_motorola.c,v 1.57 2010/11/10 09:27:22 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_motorola.c,v 1.58 2011/01/02 05:21:11 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -271,7 +271,7 @@
 int            pv_nfree;
 
 #ifdef M68K_MMU_HP
-int            pmap_aliasmask; /* seperation at which VA aliasing ok */
+u_int          pmap_aliasmask; /* seperation at which VA aliasing ok */
 #endif
 #if defined(M68040) || defined(M68060)
 u_int          protostfree;    /* prototype (default) free ST map */



Home | Main Index | Thread Index | Old Index