Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch pm_stfree in struct pmap is a bitmap value so make ...
details: https://anonhg.NetBSD.org/src/rev/c96b978cb726
branches: trunk
changeset: 749693:c96b978cb726
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sun Dec 06 00:33:58 2009 +0000
description:
pm_stfree in struct pmap is a bitmap value so make it unsigned.
diffstat:
sys/arch/amiga/amiga/amiga_init.c | 6 +++---
sys/arch/amiga/amiga/pmap_bootstrap.c | 6 +++---
sys/arch/atari/atari/atari_init.c | 6 +++---
sys/arch/atari/atari/pmap_bootstrap.c | 4 ++--
sys/arch/m68k/include/pmap_motorola.h | 4 ++--
sys/arch/m68k/m68k/pmap_motorola.c | 6 +++---
6 files changed, 16 insertions(+), 16 deletions(-)
diffs (144 lines):
diff -r 06fb16701355 -r c96b978cb726 sys/arch/amiga/amiga/amiga_init.c
--- a/sys/arch/amiga/amiga/amiga_init.c Sat Dec 05 23:16:57 2009 +0000
+++ b/sys/arch/amiga/amiga/amiga_init.c Sun Dec 06 00:33:58 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: amiga_init.c,v 1.114 2009/12/04 17:11:10 tsutsui Exp $ */
+/* $NetBSD: amiga_init.c,v 1.115 2009/12/06 00:33:59 tsutsui Exp $ */
/*
* Copyright (c) 1994 Michael L. Hitch
@@ -36,7 +36,7 @@
#include "opt_devreload.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amiga_init.c,v 1.114 2009/12/04 17:11:10 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amiga_init.c,v 1.115 2009/12/06 00:33:59 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -69,7 +69,7 @@
extern u_int Umap;
extern u_int Sysseg_pa;
#if defined(M68040) || defined(M68060)
-extern int protostfree;
+extern u_int protostfree;
#endif
extern u_long boot_partition;
vaddr_t amiga_uptbase;
diff -r 06fb16701355 -r c96b978cb726 sys/arch/amiga/amiga/pmap_bootstrap.c
--- a/sys/arch/amiga/amiga/pmap_bootstrap.c Sat Dec 05 23:16:57 2009 +0000
+++ b/sys/arch/amiga/amiga/pmap_bootstrap.c Sun Dec 06 00:33:58 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_bootstrap.c,v 1.7 2009/11/23 00:11:42 rmind Exp $ */
+/* $NetBSD: pmap_bootstrap.c,v 1.8 2009/12/06 00:33:59 tsutsui Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.7 2009/11/23 00:11:42 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.8 2009/12/06 00:33:59 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -87,7 +87,7 @@
extern paddr_t avail_start;
extern paddr_t avail_end;
#if defined(M68040) || defined(M68060)
-extern int protostfree;
+extern u_int protostfree;
#endif
extern paddr_t msgbufpa;
diff -r 06fb16701355 -r c96b978cb726 sys/arch/atari/atari/atari_init.c
--- a/sys/arch/atari/atari/atari_init.c Sat Dec 05 23:16:57 2009 +0000
+++ b/sys/arch/atari/atari/atari_init.c Sun Dec 06 00:33:58 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atari_init.c,v 1.89 2009/12/02 15:53:34 tsutsui Exp $ */
+/* $NetBSD: atari_init.c,v 1.90 2009/12/06 00:33:59 tsutsui Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atari_init.c,v 1.89 2009/12/02 15:53:34 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atari_init.c,v 1.90 2009/12/06 00:33:59 tsutsui Exp $");
#include "opt_ddb.h"
#include "opt_mbtype.h"
@@ -118,7 +118,7 @@
extern u_int lowram;
int machineid, mmutype, cputype, astpending;
#if defined(M68040) || defined(M68060)
-extern int protostfree;
+extern u_int protostfree;
#endif
extern char *esym;
diff -r 06fb16701355 -r c96b978cb726 sys/arch/atari/atari/pmap_bootstrap.c
--- a/sys/arch/atari/atari/pmap_bootstrap.c Sat Dec 05 23:16:57 2009 +0000
+++ b/sys/arch/atari/atari/pmap_bootstrap.c Sun Dec 06 00:33:58 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_bootstrap.c,v 1.4 2009/11/23 00:11:43 rmind Exp $ */
+/* $NetBSD: pmap_bootstrap.c,v 1.5 2009/12/06 00:33:59 tsutsui Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -84,7 +84,7 @@
extern paddr_t avail_start;
extern paddr_t avail_end;
#if defined(M68040) || defined(M68060)
-extern int protostfree;
+extern u_int protostfree;
#endif
extern paddr_t msgbufpa;
diff -r 06fb16701355 -r c96b978cb726 sys/arch/m68k/include/pmap_motorola.h
--- a/sys/arch/m68k/include/pmap_motorola.h Sat Dec 05 23:16:57 2009 +0000
+++ b/sys/arch/m68k/include/pmap_motorola.h Sun Dec 06 00:33:58 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_motorola.h,v 1.22 2009/12/02 15:47:45 tsutsui Exp $ */
+/* $NetBSD: pmap_motorola.h,v 1.23 2009/12/06 00:33:58 tsutsui Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -88,7 +88,7 @@
struct pmap {
pt_entry_t *pm_ptab; /* KVA of page table */
st_entry_t *pm_stab; /* KVA of segment table */
- int pm_stfree; /* 040: free lev2 blocks */
+ u_int pm_stfree; /* 040: free lev2 blocks */
st_entry_t *pm_stpa; /* 040: ST phys addr */
uint16_t pm_sref; /* segment table ref count */
uint16_t pm_count; /* pmap reference count */
diff -r 06fb16701355 -r c96b978cb726 sys/arch/m68k/m68k/pmap_motorola.c
--- a/sys/arch/m68k/m68k/pmap_motorola.c Sat Dec 05 23:16:57 2009 +0000
+++ b/sys/arch/m68k/m68k/pmap_motorola.c Sun Dec 06 00:33:58 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_motorola.c,v 1.52 2009/12/02 15:47:45 tsutsui Exp $ */
+/* $NetBSD: pmap_motorola.c,v 1.53 2009/12/06 00:33:58 tsutsui Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -117,7 +117,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_motorola.c,v 1.52 2009/12/02 15:47:45 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_motorola.c,v 1.53 2009/12/06 00:33:58 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -271,7 +271,7 @@
int pmap_aliasmask; /* seperation at which VA aliasing ok */
#endif
#if defined(M68040) || defined(M68060)
-int protostfree; /* prototype (default) free ST map */
+u_int protostfree; /* prototype (default) free ST map */
#endif
pt_entry_t *caddr1_pte; /* PTE for CADDR1 */
Home |
Main Index |
Thread Index |
Old Index