Module Name:    src
Committed By:   matt
Date:           Tue Aug 11 17:04:20 UTC 2009

Modified Files:
        src/sys/arch/acorn26/acorn26: machdep.c
        src/sys/arch/acorn32/acorn32: rpc_machdep.c
        src/sys/arch/acorn32/eb7500atx: eb7500atx_machdep.c
        src/sys/arch/arm/arm32: arm32_machdep.c
        src/sys/arch/arm/at91: at91bus.c
        src/sys/arch/cats/cats: cats_machdep.c
        src/sys/arch/cesfic/cesfic: pmap_bootstrap.c
        src/sys/arch/evbarm/adi_brh: brh_machdep.c
        src/sys/arch/evbarm/armadillo: armadillo9_machdep.c
        src/sys/arch/evbarm/beagle: beagle_machdep.c
        src/sys/arch/evbarm/evbarm: initarm_common.c
        src/sys/arch/evbarm/g42xxeb: g42xxeb_machdep.c
        src/sys/arch/evbarm/gemini: gemini_machdep.c
        src/sys/arch/evbarm/gumstix: gumstix_machdep.c
        src/sys/arch/evbarm/hdl_g: hdlg_machdep.c
        src/sys/arch/evbarm/imx31: imx31lk_machdep.c
        src/sys/arch/evbarm/integrator: integrator_machdep.c
        src/sys/arch/evbarm/iq80310: iq80310_machdep.c
        src/sys/arch/evbarm/iq80321: iq80321_machdep.c
        src/sys/arch/evbarm/ixdp425: ixdp425_machdep.c
        src/sys/arch/evbarm/ixm1200: ixm1200_machdep.c
        src/sys/arch/evbarm/lubbock: lubbock_machdep.c
        src/sys/arch/evbarm/npwr_fc: npwr_fc_machdep.c
        src/sys/arch/evbarm/nslu2: nslu2_machdep.c
        src/sys/arch/evbarm/osk5912: osk5912_machdep.c
        src/sys/arch/evbarm/smdk2xx0: smdk2410_machdep.c smdk2800_machdep.c
        src/sys/arch/evbarm/tisdp24xx: sdp24xx_machdep.c
        src/sys/arch/evbarm/tsarm: tsarm_machdep.c
        src/sys/arch/evbarm/viper: viper_machdep.c
        src/sys/arch/evbmips/adm5120: machdep.c
        src/sys/arch/evbmips/alchemy: machdep.c
        src/sys/arch/evbmips/atheros: machdep.c
        src/sys/arch/ews4800mips/ews4800mips: machdep.c
        src/sys/arch/hpcarm/hpcarm: hpc_machdep.c
        src/sys/arch/hppa/hppa: machdep.h
        src/sys/arch/iyonix/iyonix: iyonix_machdep.c
        src/sys/arch/mac68k/mac68k: pmap_bootstrap.c
        src/sys/arch/netwinder/netwinder: netwinder_machdep.c
        src/sys/arch/newsmips/newsmips: machdep.c
        src/sys/arch/playstation2/playstation2: machdep.c
        src/sys/arch/powerpc/ibm4xx: pmap.c
        src/sys/arch/powerpc/oea: pmap.c
        src/sys/arch/sgimips/sgimips: machdep.c
        src/sys/arch/sh3/sh3: sh3_machdep.c
        src/sys/arch/shark/ofw: ofw.c
        src/sys/arch/sun2/sun2: locore2.c
        src/sys/arch/sun3/sun3: locore2.c
        src/sys/arch/sun3/sun3x: pmap.c
        src/sys/arch/usermode/dev: cpu.c
        src/sys/arch/zaurus/zaurus: machdep.c

Log Message:
Remove all declarations of physmem from sys/arch.  Add an include of
<sys/systm.h> to the one file that did not already contain it.
This now means that physmem can be changed by updating systm.h and uvm_page.c
(excluding fixing printfs)


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/acorn26/acorn26/machdep.c
cvs rdiff -u -r1.75 -r1.76 src/sys/arch/acorn32/acorn32/rpc_machdep.c
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c
cvs rdiff -u -r1.65 -r1.66 src/sys/arch/arm/arm32/arm32_machdep.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/at91/at91bus.c
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/cats/cats/cats_machdep.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/cesfic/cesfic/pmap_bootstrap.c
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/evbarm/adi_brh/brh_machdep.c
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/evbarm/armadillo/armadillo9_machdep.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbarm/beagle/beagle_machdep.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/evbarm/evbarm/initarm_common.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/evbarm/g42xxeb/g42xxeb_machdep.c
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/evbarm/gemini/gemini_machdep.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/evbarm/gumstix/gumstix_machdep.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbarm/hdl_g/hdlg_machdep.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbarm/imx31/imx31lk_machdep.c
cvs rdiff -u -r1.61 -r1.62 \
    src/sys/arch/evbarm/integrator/integrator_machdep.c
cvs rdiff -u -r1.73 -r1.74 src/sys/arch/evbarm/iq80310/iq80310_machdep.c
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/evbarm/iq80321/iq80321_machdep.c
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/evbarm/ixdp425/ixdp425_machdep.c
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/evbarm/ixm1200/ixm1200_machdep.c
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/evbarm/lubbock/lubbock_machdep.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbarm/npwr_fc/npwr_fc_machdep.c
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/evbarm/nslu2/nslu2_machdep.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbarm/osk5912/osk5912_machdep.c
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/evbarm/smdk2xx0/smdk2410_machdep.c
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/evbarm/smdk2xx0/smdk2800_machdep.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/evbarm/tisdp24xx/sdp24xx_machdep.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/evbarm/tsarm/tsarm_machdep.c
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/evbarm/viper/viper_machdep.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/evbmips/adm5120/machdep.c
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/evbmips/alchemy/machdep.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/evbmips/atheros/machdep.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/ews4800mips/ews4800mips/machdep.c
cvs rdiff -u -r1.91 -r1.92 src/sys/arch/hpcarm/hpcarm/hpc_machdep.c
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/hppa/hppa/machdep.h
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/iyonix/iyonix/iyonix_machdep.c
cvs rdiff -u -r1.77 -r1.78 src/sys/arch/mac68k/mac68k/pmap_bootstrap.c
cvs rdiff -u -r1.70 -r1.71 \
    src/sys/arch/netwinder/netwinder/netwinder_machdep.c
cvs rdiff -u -r1.102 -r1.103 src/sys/arch/newsmips/newsmips/machdep.c
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/playstation2/playstation2/machdep.c
cvs rdiff -u -r1.55 -r1.56 src/sys/arch/powerpc/ibm4xx/pmap.c
cvs rdiff -u -r1.65 -r1.66 src/sys/arch/powerpc/oea/pmap.c
cvs rdiff -u -r1.127 -r1.128 src/sys/arch/sgimips/sgimips/machdep.c
cvs rdiff -u -r1.80 -r1.81 src/sys/arch/sh3/sh3/sh3_machdep.c
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/shark/ofw/ofw.c
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/sun2/sun2/locore2.c
cvs rdiff -u -r1.93 -r1.94 src/sys/arch/sun3/sun3/locore2.c
cvs rdiff -u -r1.105 -r1.106 src/sys/arch/sun3/sun3x/pmap.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/usermode/dev/cpu.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/zaurus/zaurus/machdep.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/arch/acorn26/acorn26/machdep.c
diff -u src/sys/arch/acorn26/acorn26/machdep.c:1.30 src/sys/arch/acorn26/acorn26/machdep.c:1.31
--- src/sys/arch/acorn26/acorn26/machdep.c:1.30	Wed Mar 18 10:22:21 2009
+++ src/sys/arch/acorn26/acorn26/machdep.c	Tue Aug 11 17:04:14 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.30 2009/03/18 10:22:21 cegger Exp $ */
+/* $NetBSD: machdep.c,v 1.31 2009/08/11 17:04:14 matt Exp $ */
 
 /*-
  * Copyright (c) 1998 Ben Harris
@@ -32,7 +32,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.30 2009/03/18 10:22:21 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.31 2009/08/11 17:04:14 matt Exp $");
 
 #include <sys/buf.h>
 #include <sys/kernel.h>
@@ -54,7 +54,6 @@
 #include <machine/machdep.h>
 #include <machine/memcreg.h>
 
-int physmem;
 char cpu_model[] = "Archimedes";
 
 struct vm_map *phys_map = NULL;

Index: src/sys/arch/acorn32/acorn32/rpc_machdep.c
diff -u src/sys/arch/acorn32/acorn32/rpc_machdep.c:1.75 src/sys/arch/acorn32/acorn32/rpc_machdep.c:1.76
--- src/sys/arch/acorn32/acorn32/rpc_machdep.c:1.75	Fri Feb 13 22:41:00 2009
+++ src/sys/arch/acorn32/acorn32/rpc_machdep.c	Tue Aug 11 17:04:14 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: rpc_machdep.c,v 1.75 2009/02/13 22:41:00 apb Exp $	*/
+/*	$NetBSD: rpc_machdep.c,v 1.76 2009/08/11 17:04:14 matt Exp $	*/
 
 /*
  * Copyright (c) 2000-2002 Reinoud Zandijk.
@@ -55,7 +55,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: rpc_machdep.c,v 1.75 2009/02/13 22:41:00 apb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rpc_machdep.c,v 1.76 2009/08/11 17:04:14 matt Exp $");
 
 #include <sys/systm.h>
 #include <sys/kernel.h>
@@ -145,7 +145,6 @@
 paddr_t dma_range_end;
 
 u_int free_pages;
-int physmem = 0;
 paddr_t memoryblock_end;
 
 #ifndef PMAP_STATIC_L1S

Index: src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c
diff -u src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c:1.14 src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c:1.15
--- src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c:1.14	Fri Feb 13 22:41:00 2009
+++ src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c	Tue Aug 11 17:04:14 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: eb7500atx_machdep.c,v 1.14 2009/02/13 22:41:00 apb Exp $	*/
+/*	$NetBSD: eb7500atx_machdep.c,v 1.15 2009/08/11 17:04:14 matt Exp $	*/
 
 /*
  * Copyright (c) 2000-2002 Reinoud Zandijk.
@@ -55,7 +55,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: eb7500atx_machdep.c,v 1.14 2009/02/13 22:41:00 apb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: eb7500atx_machdep.c,v 1.15 2009/08/11 17:04:14 matt Exp $");
 
 #include <sys/systm.h>
 #include <sys/kernel.h>
@@ -148,7 +148,6 @@
 paddr_t dma_range_end;
 
 u_int free_pages;
-int physmem = 0;
 paddr_t memoryblock_end;
 
 #ifndef PMAP_STATIC_L1S

Index: src/sys/arch/arm/arm32/arm32_machdep.c
diff -u src/sys/arch/arm/arm32/arm32_machdep.c:1.65 src/sys/arch/arm/arm32/arm32_machdep.c:1.66
--- src/sys/arch/arm/arm32/arm32_machdep.c:1.65	Sun Mar 15 22:20:09 2009
+++ src/sys/arch/arm/arm32/arm32_machdep.c	Tue Aug 11 17:04:14 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: arm32_machdep.c,v 1.65 2009/03/15 22:20:09 cegger Exp $	*/
+/*	$NetBSD: arm32_machdep.c,v 1.66 2009/08/11 17:04:14 matt Exp $	*/
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.65 2009/03/15 22:20:09 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.66 2009/08/11 17:04:14 matt Exp $");
 
 #include "opt_md.h"
 #include "opt_pmap_debug.h"
@@ -73,8 +73,6 @@
 struct vm_map *mb_map = NULL;
 struct vm_map *phys_map = NULL;
 
-extern int physmem;
-
 #if NMD > 0 && defined(MEMORY_DISK_HOOKS) && !defined(MEMORY_DISK_ROOT_SIZE)
 extern size_t md_root_size;		/* Memory disc size */
 #endif	/* NMD && MEMORY_DISK_HOOKS && !MEMORY_DISK_ROOT_SIZE */

Index: src/sys/arch/arm/at91/at91bus.c
diff -u src/sys/arch/arm/at91/at91bus.c:1.5 src/sys/arch/arm/at91/at91bus.c:1.6
--- src/sys/arch/arm/at91/at91bus.c:1.5	Sat Mar 14 15:36:01 2009
+++ src/sys/arch/arm/at91/at91bus.c	Tue Aug 11 17:04:14 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: at91bus.c,v 1.5 2009/03/14 15:36:01 dsl Exp $	*/
+/*	$NetBSD: at91bus.c,v 1.6 2009/08/11 17:04:14 matt Exp $	*/
 
 /*
  * Copyright (c) 2007 Embedtronics Oy
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: at91bus.c,v 1.5 2009/03/14 15:36:01 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: at91bus.c,v 1.6 2009/08/11 17:04:14 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -114,7 +114,6 @@
 vm_offset_t physical_freeend_low;
 vm_offset_t physical_end;
 u_int free_pages;
-int physmem = 0;
 
 /* Physical and virtual addresses for some global pages */
 pv_addr_t irqstack;

Index: src/sys/arch/cats/cats/cats_machdep.c
diff -u src/sys/arch/cats/cats/cats_machdep.c:1.64 src/sys/arch/cats/cats/cats_machdep.c:1.65
--- src/sys/arch/cats/cats/cats_machdep.c:1.64	Fri Feb 13 22:41:01 2009
+++ src/sys/arch/cats/cats/cats_machdep.c	Tue Aug 11 17:04:15 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: cats_machdep.c,v 1.64 2009/02/13 22:41:01 apb Exp $	*/
+/*	$NetBSD: cats_machdep.c,v 1.65 2009/08/11 17:04:15 matt Exp $	*/
 
 /*
  * Copyright (c) 1997,1998 Mark Brinicombe.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cats_machdep.c,v 1.64 2009/02/13 22:41:01 apb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cats_machdep.c,v 1.65 2009/08/11 17:04:15 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_modular.h"
@@ -128,7 +128,6 @@
 vm_offset_t physical_end;
 u_int free_pages;
 vm_offset_t pagetables_start;
-int physmem = 0;
 
 /* Physical and virtual addresses for some global pages */
 pv_addr_t systempage;

Index: src/sys/arch/cesfic/cesfic/pmap_bootstrap.c
diff -u src/sys/arch/cesfic/cesfic/pmap_bootstrap.c:1.16 src/sys/arch/cesfic/cesfic/pmap_bootstrap.c:1.17
--- src/sys/arch/cesfic/cesfic/pmap_bootstrap.c:1.16	Sat Mar 14 15:36:04 2009
+++ src/sys/arch/cesfic/cesfic/pmap_bootstrap.c	Tue Aug 11 17:04:15 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap_bootstrap.c,v 1.16 2009/03/14 15:36:04 dsl Exp $	*/
+/*	$NetBSD: pmap_bootstrap.c,v 1.17 2009/08/11 17:04:15 matt Exp $	*/
 
 /* 
  * Copyright (c) 1991, 1993
@@ -36,9 +36,10 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.16 2009/03/14 15:36:04 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.17 2009/08/11 17:04:15 matt Exp $");
 
 #include <sys/param.h>
+#include <sys/systm.h>
 #include <sys/msgbuf.h>
 #include <sys/proc.h>
 
@@ -56,8 +57,6 @@
 extern char *proc0paddr;
 extern paddr_t avail_start, avail_end;
 
-extern int physmem;
-
 void	pmap_bootstrap(vm_offset_t, vm_offset_t);
 
 /*

Index: src/sys/arch/evbarm/adi_brh/brh_machdep.c
diff -u src/sys/arch/evbarm/adi_brh/brh_machdep.c:1.31 src/sys/arch/evbarm/adi_brh/brh_machdep.c:1.32
--- src/sys/arch/evbarm/adi_brh/brh_machdep.c:1.31	Sun Nov 30 18:21:32 2008
+++ src/sys/arch/evbarm/adi_brh/brh_machdep.c	Tue Aug 11 17:04:15 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: brh_machdep.c,v 1.31 2008/11/30 18:21:32 martin Exp $	*/
+/*	$NetBSD: brh_machdep.c,v 1.32 2009/08/11 17:04:15 matt Exp $	*/
 
 /*
  * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -73,7 +73,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: brh_machdep.c,v 1.31 2008/11/30 18:21:32 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: brh_machdep.c,v 1.32 2009/08/11 17:04:15 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_pmap_debug.h"
@@ -152,7 +152,6 @@
 vm_offset_t physical_end;
 u_int free_pages;
 vm_offset_t pagetables_start;
-int physmem = 0;
 
 /*int debug_flags;*/
 #ifndef PMAP_STATIC_L1S

Index: src/sys/arch/evbarm/armadillo/armadillo9_machdep.c
diff -u src/sys/arch/evbarm/armadillo/armadillo9_machdep.c:1.14 src/sys/arch/evbarm/armadillo/armadillo9_machdep.c:1.15
--- src/sys/arch/evbarm/armadillo/armadillo9_machdep.c:1.14	Sun Nov 30 18:21:32 2008
+++ src/sys/arch/evbarm/armadillo/armadillo9_machdep.c	Tue Aug 11 17:04:15 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: armadillo9_machdep.c,v 1.14 2008/11/30 18:21:32 martin Exp $	*/
+/*	$NetBSD: armadillo9_machdep.c,v 1.15 2009/08/11 17:04:15 matt Exp $	*/
 
 /*
  * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -110,7 +110,7 @@
 */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: armadillo9_machdep.c,v 1.14 2008/11/30 18:21:32 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: armadillo9_machdep.c,v 1.15 2009/08/11 17:04:15 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -217,7 +217,6 @@
 vm_offset_t physical_freeend_low;
 vm_offset_t physical_end;
 u_int free_pages;
-int physmem = 0;
 
 /* Physical and virtual addresses for some global pages */
 pv_addr_t systempage;

Index: src/sys/arch/evbarm/beagle/beagle_machdep.c
diff -u src/sys/arch/evbarm/beagle/beagle_machdep.c:1.3 src/sys/arch/evbarm/beagle/beagle_machdep.c:1.4
--- src/sys/arch/evbarm/beagle/beagle_machdep.c:1.3	Tue Nov 11 06:46:41 2008
+++ src/sys/arch/evbarm/beagle/beagle_machdep.c	Tue Aug 11 17:04:15 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: beagle_machdep.c,v 1.3 2008/11/11 06:46:41 dyoung Exp $ */
+/*	$NetBSD: beagle_machdep.c,v 1.4 2009/08/11 17:04:15 matt Exp $ */
 
 /*
  * Machine dependent functions for kernel setup for TI OSK5912 board.
@@ -125,7 +125,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: beagle_machdep.c,v 1.3 2008/11/11 06:46:41 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: beagle_machdep.c,v 1.4 2009/08/11 17:04:15 matt Exp $");
 
 #include "opt_machdep.h"
 #include "opt_ddb.h"
@@ -203,8 +203,6 @@
 paddr_t physical_start;
 /* Physical address of the first byte after the end of SDRAM. */
 paddr_t physical_end;
-/* Number of pages of memory. */
-int physmem = 0;
 
 /* Same things, but for the free (unused by the kernel) memory. */
 static paddr_t physical_freestart, physical_freeend;

Index: src/sys/arch/evbarm/evbarm/initarm_common.c
diff -u src/sys/arch/evbarm/evbarm/initarm_common.c:1.6 src/sys/arch/evbarm/evbarm/initarm_common.c:1.7
--- src/sys/arch/evbarm/evbarm/initarm_common.c:1.6	Sat Jan 19 13:11:14 2008
+++ src/sys/arch/evbarm/evbarm/initarm_common.c	Tue Aug 11 17:04:15 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: initarm_common.c,v 1.6 2008/01/19 13:11:14 chris Exp $	*/
+/*	$NetBSD: initarm_common.c,v 1.7 2009/08/11 17:04:15 matt Exp $	*/
 
 /*
  * Copyright 2003 Wasabi Systems, Inc.
@@ -69,7 +69,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: initarm_common.c,v 1.6 2008/01/19 13:11:14 chris Exp $");
+__KERNEL_RCSID(0, "$NetBSD: initarm_common.c,v 1.7 2009/08/11 17:04:15 matt Exp $");
 
 #include <sys/systm.h>
 #include <sys/param.h>
@@ -96,7 +96,6 @@
 vm_offset_t physical_start;
 vm_offset_t physical_end;
 pv_addr_t systempage;
-int physmem = 0;
 
 struct user *proc0paddr;
 

Index: src/sys/arch/evbarm/g42xxeb/g42xxeb_machdep.c
diff -u src/sys/arch/evbarm/g42xxeb/g42xxeb_machdep.c:1.15 src/sys/arch/evbarm/g42xxeb/g42xxeb_machdep.c:1.16
--- src/sys/arch/evbarm/g42xxeb/g42xxeb_machdep.c:1.15	Tue Nov 11 06:46:41 2008
+++ src/sys/arch/evbarm/g42xxeb/g42xxeb_machdep.c	Tue Aug 11 17:04:15 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: g42xxeb_machdep.c,v 1.15 2008/11/11 06:46:41 dyoung Exp $ */
+/*	$NetBSD: g42xxeb_machdep.c,v 1.16 2009/08/11 17:04:15 matt Exp $ */
 
 /*
  * Copyright (c) 2002, 2003, 2004, 2005  Genetec Corporation.  
@@ -187,7 +187,6 @@
 vm_offset_t physical_end;
 u_int free_pages;
 vm_offset_t pagetables_start;
-int physmem = 0;
 
 /*int debug_flags;*/
 #ifndef PMAP_STATIC_L1S

Index: src/sys/arch/evbarm/gemini/gemini_machdep.c
diff -u src/sys/arch/evbarm/gemini/gemini_machdep.c:1.11 src/sys/arch/evbarm/gemini/gemini_machdep.c:1.12
--- src/sys/arch/evbarm/gemini/gemini_machdep.c:1.11	Sat Dec  6 05:22:39 2008
+++ src/sys/arch/evbarm/gemini/gemini_machdep.c	Tue Aug 11 17:04:15 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: gemini_machdep.c,v 1.11 2008/12/06 05:22:39 cliff Exp $	*/
+/*	$NetBSD: gemini_machdep.c,v 1.12 2009/08/11 17:04:15 matt Exp $	*/
 
 /* adapted from:
  *	NetBSD: sdp24xx_machdep.c,v 1.4 2008/08/27 11:03:10 matt Exp
@@ -129,7 +129,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gemini_machdep.c,v 1.11 2008/12/06 05:22:39 cliff Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gemini_machdep.c,v 1.12 2009/08/11 17:04:15 matt Exp $");
 
 #include "opt_machdep.h"
 #include "opt_ddb.h"
@@ -217,8 +217,6 @@
 paddr_t physical_start;
 /* Physical address of the first byte after the end of SDRAM. */
 paddr_t physical_end;
-/* Number of pages of memory. */
-int physmem = 0;
 
 /* Same things, but for the free (unused by the kernel) memory. */
 static paddr_t physical_freestart, physical_freeend;

Index: src/sys/arch/evbarm/gumstix/gumstix_machdep.c
diff -u src/sys/arch/evbarm/gumstix/gumstix_machdep.c:1.15 src/sys/arch/evbarm/gumstix/gumstix_machdep.c:1.16
--- src/sys/arch/evbarm/gumstix/gumstix_machdep.c:1.15	Sun Aug  9 07:10:13 2009
+++ src/sys/arch/evbarm/gumstix/gumstix_machdep.c	Tue Aug 11 17:04:15 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: gumstix_machdep.c,v 1.15 2009/08/09 07:10:13 kiyohara Exp $ */
+/*	$NetBSD: gumstix_machdep.c,v 1.16 2009/08/11 17:04:15 matt Exp $ */
 /*
  * Copyright (C) 2005, 2006, 2007  WIDE Project and SOUM Corporation.
  * All rights reserved.
@@ -220,7 +220,6 @@
 vm_offset_t physical_end;
 u_int free_pages;
 vm_offset_t pagetables_start;
-int physmem = 0;
 
 /*int debug_flags;*/
 #ifndef PMAP_STATIC_L1S

Index: src/sys/arch/evbarm/hdl_g/hdlg_machdep.c
diff -u src/sys/arch/evbarm/hdl_g/hdlg_machdep.c:1.9 src/sys/arch/evbarm/hdl_g/hdlg_machdep.c:1.10
--- src/sys/arch/evbarm/hdl_g/hdlg_machdep.c:1.9	Sun Nov 30 18:21:33 2008
+++ src/sys/arch/evbarm/hdl_g/hdlg_machdep.c	Tue Aug 11 17:04:16 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: hdlg_machdep.c,v 1.9 2008/11/30 18:21:33 martin Exp $	*/
+/*	$NetBSD: hdlg_machdep.c,v 1.10 2009/08/11 17:04:16 matt Exp $	*/
 
 /*
  * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -73,7 +73,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hdlg_machdep.c,v 1.9 2008/11/30 18:21:33 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hdlg_machdep.c,v 1.10 2009/08/11 17:04:16 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -152,7 +152,6 @@
 vm_offset_t physical_end;
 u_int free_pages;
 vm_offset_t pagetables_start;
-int physmem = 0;
 
 /*int debug_flags;*/
 #ifndef PMAP_STATIC_L1S

Index: src/sys/arch/evbarm/imx31/imx31lk_machdep.c
diff -u src/sys/arch/evbarm/imx31/imx31lk_machdep.c:1.4 src/sys/arch/evbarm/imx31/imx31lk_machdep.c:1.5
--- src/sys/arch/evbarm/imx31/imx31lk_machdep.c:1.4	Tue Nov 11 06:46:41 2008
+++ src/sys/arch/evbarm/imx31/imx31lk_machdep.c	Tue Aug 11 17:04:16 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: imx31lk_machdep.c,v 1.4 2008/11/11 06:46:41 dyoung Exp $ */
+/* $NetBSD: imx31lk_machdep.c,v 1.5 2009/08/11 17:04:16 matt Exp $ */
 
 /*
  * Startup routines for the ZOOM iMX31 LITEKIT.
@@ -110,7 +110,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx31lk_machdep.c,v 1.4 2008/11/11 06:46:41 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx31lk_machdep.c,v 1.5 2009/08/11 17:04:16 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -195,7 +195,6 @@
 vm_offset_t physical_end;
 u_int free_pages;
 vm_offset_t pagetables_start;
-int physmem = 0;
 
 /*int debug_flags;*/
 #ifndef PMAP_STATIC_L1S

Index: src/sys/arch/evbarm/integrator/integrator_machdep.c
diff -u src/sys/arch/evbarm/integrator/integrator_machdep.c:1.61 src/sys/arch/evbarm/integrator/integrator_machdep.c:1.62
--- src/sys/arch/evbarm/integrator/integrator_machdep.c:1.61	Sun Nov 30 18:21:33 2008
+++ src/sys/arch/evbarm/integrator/integrator_machdep.c	Tue Aug 11 17:04:16 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: integrator_machdep.c,v 1.61 2008/11/30 18:21:33 martin Exp $	*/
+/*	$NetBSD: integrator_machdep.c,v 1.62 2009/08/11 17:04:16 matt Exp $	*/
 
 /*
  * Copyright (c) 2001,2002 ARM Ltd
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: integrator_machdep.c,v 1.61 2008/11/30 18:21:33 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: integrator_machdep.c,v 1.62 2009/08/11 17:04:16 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_pmap_debug.h"
@@ -138,7 +138,6 @@
 vm_offset_t physical_start;
 vm_offset_t physical_end;
 vm_offset_t pagetables_start;
-int physmem = 0;
 
 /*int debug_flags;*/
 #ifndef PMAP_STATIC_L1S

Index: src/sys/arch/evbarm/iq80310/iq80310_machdep.c
diff -u src/sys/arch/evbarm/iq80310/iq80310_machdep.c:1.73 src/sys/arch/evbarm/iq80310/iq80310_machdep.c:1.74
--- src/sys/arch/evbarm/iq80310/iq80310_machdep.c:1.73	Sun Nov 30 18:21:33 2008
+++ src/sys/arch/evbarm/iq80310/iq80310_machdep.c	Tue Aug 11 17:04:16 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: iq80310_machdep.c,v 1.73 2008/11/30 18:21:33 martin Exp $	*/
+/*	$NetBSD: iq80310_machdep.c,v 1.74 2009/08/11 17:04:16 matt Exp $	*/
 
 /*
  * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -73,7 +73,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iq80310_machdep.c,v 1.73 2008/11/30 18:21:33 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iq80310_machdep.c,v 1.74 2009/08/11 17:04:16 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_pmap_debug.h"
@@ -149,7 +149,6 @@
 vm_offset_t physical_end;
 u_int free_pages;
 vm_offset_t pagetables_start;
-int physmem = 0;
 
 /*int debug_flags;*/
 #ifndef PMAP_STATIC_L1S

Index: src/sys/arch/evbarm/iq80321/iq80321_machdep.c
diff -u src/sys/arch/evbarm/iq80321/iq80321_machdep.c:1.43 src/sys/arch/evbarm/iq80321/iq80321_machdep.c:1.44
--- src/sys/arch/evbarm/iq80321/iq80321_machdep.c:1.43	Fri Jan  9 16:23:59 2009
+++ src/sys/arch/evbarm/iq80321/iq80321_machdep.c	Tue Aug 11 17:04:16 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: iq80321_machdep.c,v 1.43 2009/01/09 16:23:59 briggs Exp $	*/
+/*	$NetBSD: iq80321_machdep.c,v 1.44 2009/08/11 17:04:16 matt Exp $	*/
 
 /*
  * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -73,7 +73,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iq80321_machdep.c,v 1.43 2009/01/09 16:23:59 briggs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iq80321_machdep.c,v 1.44 2009/08/11 17:04:16 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -153,7 +153,6 @@
 vm_offset_t physical_end;
 u_int free_pages;
 vm_offset_t pagetables_start;
-int physmem = 0;
 
 /*int debug_flags;*/
 #ifndef PMAP_STATIC_L1S

Index: src/sys/arch/evbarm/ixdp425/ixdp425_machdep.c
diff -u src/sys/arch/evbarm/ixdp425/ixdp425_machdep.c:1.21 src/sys/arch/evbarm/ixdp425/ixdp425_machdep.c:1.22
--- src/sys/arch/evbarm/ixdp425/ixdp425_machdep.c:1.21	Sat Mar 14 14:45:58 2009
+++ src/sys/arch/evbarm/ixdp425/ixdp425_machdep.c	Tue Aug 11 17:04:16 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: ixdp425_machdep.c,v 1.21 2009/03/14 14:45:58 dsl Exp $ */
+/*	$NetBSD: ixdp425_machdep.c,v 1.22 2009/08/11 17:04:16 matt Exp $ */
 /*
  * Copyright (c) 2003
  *	Ichiro FUKUHARA <ich...@ichiro.org>.
@@ -70,7 +70,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixdp425_machdep.c,v 1.21 2009/03/14 14:45:58 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixdp425_machdep.c,v 1.22 2009/08/11 17:04:16 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -151,7 +151,6 @@
 vm_offset_t physical_end;
 u_int free_pages;
 vm_offset_t pagetables_start;
-int physmem = 0;
 
 /* Physical and virtual addresses for some global pages */
 pv_addr_t irqstack;

Index: src/sys/arch/evbarm/ixm1200/ixm1200_machdep.c
diff -u src/sys/arch/evbarm/ixm1200/ixm1200_machdep.c:1.40 src/sys/arch/evbarm/ixm1200/ixm1200_machdep.c:1.41
--- src/sys/arch/evbarm/ixm1200/ixm1200_machdep.c:1.40	Sat Mar 14 15:36:05 2009
+++ src/sys/arch/evbarm/ixm1200/ixm1200_machdep.c	Tue Aug 11 17:04:16 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: ixm1200_machdep.c,v 1.40 2009/03/14 15:36:05 dsl Exp $ */
+/*	$NetBSD: ixm1200_machdep.c,v 1.41 2009/08/11 17:04:16 matt Exp $ */
 
 /*
  * Copyright (c) 2002, 2003
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixm1200_machdep.c,v 1.40 2009/03/14 15:36:05 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixm1200_machdep.c,v 1.41 2009/08/11 17:04:16 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_modular.h"
@@ -169,7 +169,6 @@
 vm_offset_t physical_end;
 u_int free_pages;
 vm_offset_t pagetables_start;
-int physmem = 0;
 
 /*int debug_flags;*/
 #ifndef PMAP_STATIC_L1S

Index: src/sys/arch/evbarm/lubbock/lubbock_machdep.c
diff -u src/sys/arch/evbarm/lubbock/lubbock_machdep.c:1.19 src/sys/arch/evbarm/lubbock/lubbock_machdep.c:1.20
--- src/sys/arch/evbarm/lubbock/lubbock_machdep.c:1.19	Tue Nov 11 06:46:41 2008
+++ src/sys/arch/evbarm/lubbock/lubbock_machdep.c	Tue Aug 11 17:04:16 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: lubbock_machdep.c,v 1.19 2008/11/11 06:46:41 dyoung Exp $ */
+/*	$NetBSD: lubbock_machdep.c,v 1.20 2009/08/11 17:04:16 matt Exp $ */
 
 /*
  * Copyright (c) 2002, 2003, 2005  Genetec Corporation.  All rights reserved.
@@ -112,7 +112,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lubbock_machdep.c,v 1.19 2008/11/11 06:46:41 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lubbock_machdep.c,v 1.20 2009/08/11 17:04:16 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -196,7 +196,6 @@
 vm_offset_t physical_end;
 u_int free_pages;
 vm_offset_t pagetables_start;
-int physmem = 0;
 
 /*int debug_flags;*/
 #ifndef PMAP_STATIC_L1S

Index: src/sys/arch/evbarm/npwr_fc/npwr_fc_machdep.c
diff -u src/sys/arch/evbarm/npwr_fc/npwr_fc_machdep.c:1.9 src/sys/arch/evbarm/npwr_fc/npwr_fc_machdep.c:1.10
--- src/sys/arch/evbarm/npwr_fc/npwr_fc_machdep.c:1.9	Sun Nov 30 18:21:33 2008
+++ src/sys/arch/evbarm/npwr_fc/npwr_fc_machdep.c	Tue Aug 11 17:04:17 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: npwr_fc_machdep.c,v 1.9 2008/11/30 18:21:33 martin Exp $	*/
+/*	$NetBSD: npwr_fc_machdep.c,v 1.10 2009/08/11 17:04:17 matt Exp $	*/
 
 /*
  * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -73,7 +73,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npwr_fc_machdep.c,v 1.9 2008/11/30 18:21:33 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npwr_fc_machdep.c,v 1.10 2009/08/11 17:04:17 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -153,7 +153,6 @@
 vm_offset_t physical_end;
 u_int free_pages;
 vm_offset_t pagetables_start;
-int physmem = 0;
 
 /*int debug_flags;*/
 #ifndef PMAP_STATIC_L1S

Index: src/sys/arch/evbarm/nslu2/nslu2_machdep.c
diff -u src/sys/arch/evbarm/nslu2/nslu2_machdep.c:1.11 src/sys/arch/evbarm/nslu2/nslu2_machdep.c:1.12
--- src/sys/arch/evbarm/nslu2/nslu2_machdep.c:1.11	Sat Mar 14 14:45:59 2009
+++ src/sys/arch/evbarm/nslu2/nslu2_machdep.c	Tue Aug 11 17:04:17 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: nslu2_machdep.c,v 1.11 2009/03/14 14:45:59 dsl Exp $	*/
+/*	$NetBSD: nslu2_machdep.c,v 1.12 2009/08/11 17:04:17 matt Exp $	*/
 
 /*-
  * Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -100,7 +100,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nslu2_machdep.c,v 1.11 2009/03/14 14:45:59 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nslu2_machdep.c,v 1.12 2009/08/11 17:04:17 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -181,7 +181,6 @@
 vm_offset_t physical_end;
 u_int free_pages;
 vm_offset_t pagetables_start;
-int physmem = 0;
 
 /* Physical and virtual addresses for some global pages */
 pv_addr_t irqstack;

Index: src/sys/arch/evbarm/osk5912/osk5912_machdep.c
diff -u src/sys/arch/evbarm/osk5912/osk5912_machdep.c:1.4 src/sys/arch/evbarm/osk5912/osk5912_machdep.c:1.5
--- src/sys/arch/evbarm/osk5912/osk5912_machdep.c:1.4	Tue Nov 11 06:46:41 2008
+++ src/sys/arch/evbarm/osk5912/osk5912_machdep.c	Tue Aug 11 17:04:17 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: osk5912_machdep.c,v 1.4 2008/11/11 06:46:41 dyoung Exp $ */
+/*	$NetBSD: osk5912_machdep.c,v 1.5 2009/08/11 17:04:17 matt Exp $ */
 
 /*
  * Machine dependent functions for kernel setup for TI OSK5912 board.
@@ -99,7 +99,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: osk5912_machdep.c,v 1.4 2008/11/11 06:46:41 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: osk5912_machdep.c,v 1.5 2009/08/11 17:04:17 matt Exp $");
 
 #include "opt_machdep.h"
 #include "opt_ddb.h"
@@ -173,7 +173,6 @@
 /* Physical address of the first byte after the end of SDRAM. */
 paddr_t physical_end;
 /* Number of pages of memory. */
-int physmem = 0;
 
 /* Same things, but for the free (unused by the kernel) memory. */
 static paddr_t physical_freestart, physical_freeend;

Index: src/sys/arch/evbarm/smdk2xx0/smdk2410_machdep.c
diff -u src/sys/arch/evbarm/smdk2xx0/smdk2410_machdep.c:1.22 src/sys/arch/evbarm/smdk2xx0/smdk2410_machdep.c:1.23
--- src/sys/arch/evbarm/smdk2xx0/smdk2410_machdep.c:1.22	Sun Nov 30 18:21:33 2008
+++ src/sys/arch/evbarm/smdk2xx0/smdk2410_machdep.c	Tue Aug 11 17:04:17 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: smdk2410_machdep.c,v 1.22 2008/11/30 18:21:33 martin Exp $ */
+/*	$NetBSD: smdk2410_machdep.c,v 1.23 2009/08/11 17:04:17 matt Exp $ */
 
 /*
  * Copyright (c) 2002, 2003 Fujitsu Component Limited
@@ -105,7 +105,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: smdk2410_machdep.c,v 1.22 2008/11/30 18:21:33 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: smdk2410_machdep.c,v 1.23 2009/08/11 17:04:17 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -205,7 +205,6 @@
 vm_offset_t physical_end;
 u_int free_pages;
 vm_offset_t pagetables_start;
-int physmem = 0;
 
 /*int debug_flags;*/
 #ifndef PMAP_STATIC_L1S

Index: src/sys/arch/evbarm/smdk2xx0/smdk2800_machdep.c
diff -u src/sys/arch/evbarm/smdk2xx0/smdk2800_machdep.c:1.30 src/sys/arch/evbarm/smdk2xx0/smdk2800_machdep.c:1.31
--- src/sys/arch/evbarm/smdk2xx0/smdk2800_machdep.c:1.30	Sun Nov 30 18:21:33 2008
+++ src/sys/arch/evbarm/smdk2xx0/smdk2800_machdep.c	Tue Aug 11 17:04:17 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: smdk2800_machdep.c,v 1.30 2008/11/30 18:21:33 martin Exp $ */
+/*	$NetBSD: smdk2800_machdep.c,v 1.31 2009/08/11 17:04:17 matt Exp $ */
 
 /*
  * Copyright (c) 2002, 2003, 2005 Fujitsu Component Limited
@@ -106,7 +106,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: smdk2800_machdep.c,v 1.30 2008/11/30 18:21:33 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: smdk2800_machdep.c,v 1.31 2009/08/11 17:04:17 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -196,7 +196,6 @@
 vm_offset_t physical_end;
 u_int free_pages;
 vm_offset_t pagetables_start;
-int physmem = 0;
 
 /*int debug_flags;*/
 #ifndef PMAP_STATIC_L1S

Index: src/sys/arch/evbarm/tisdp24xx/sdp24xx_machdep.c
diff -u src/sys/arch/evbarm/tisdp24xx/sdp24xx_machdep.c:1.5 src/sys/arch/evbarm/tisdp24xx/sdp24xx_machdep.c:1.6
--- src/sys/arch/evbarm/tisdp24xx/sdp24xx_machdep.c:1.5	Tue Nov 11 06:46:41 2008
+++ src/sys/arch/evbarm/tisdp24xx/sdp24xx_machdep.c	Tue Aug 11 17:04:17 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: sdp24xx_machdep.c,v 1.5 2008/11/11 06:46:41 dyoung Exp $ */
+/*	$NetBSD: sdp24xx_machdep.c,v 1.6 2009/08/11 17:04:17 matt Exp $ */
 
 /*
  * Machine dependent functions for kernel setup for TI OSK5912 board.
@@ -125,7 +125,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdp24xx_machdep.c,v 1.5 2008/11/11 06:46:41 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdp24xx_machdep.c,v 1.6 2009/08/11 17:04:17 matt Exp $");
 
 #include "opt_machdep.h"
 #include "opt_ddb.h"
@@ -203,8 +203,6 @@
 paddr_t physical_start;
 /* Physical address of the first byte after the end of SDRAM. */
 paddr_t physical_end;
-/* Number of pages of memory. */
-int physmem = 0;
 
 /* Same things, but for the free (unused by the kernel) memory. */
 static paddr_t physical_freestart, physical_freeend;

Index: src/sys/arch/evbarm/tsarm/tsarm_machdep.c
diff -u src/sys/arch/evbarm/tsarm/tsarm_machdep.c:1.10 src/sys/arch/evbarm/tsarm/tsarm_machdep.c:1.11
--- src/sys/arch/evbarm/tsarm/tsarm_machdep.c:1.10	Sun Nov 30 18:21:33 2008
+++ src/sys/arch/evbarm/tsarm/tsarm_machdep.c	Tue Aug 11 17:04:17 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: tsarm_machdep.c,v 1.10 2008/11/30 18:21:33 martin Exp $ */
+/*	$NetBSD: tsarm_machdep.c,v 1.11 2009/08/11 17:04:17 matt Exp $ */
 
 /*
  * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -73,7 +73,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tsarm_machdep.c,v 1.10 2008/11/30 18:21:33 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tsarm_machdep.c,v 1.11 2009/08/11 17:04:17 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -162,7 +162,6 @@
 vm_offset_t physical_freeend_low;
 vm_offset_t physical_end;
 u_int free_pages;
-int physmem = 0;
 
 /* Physical and virtual addresses for some global pages */
 pv_addr_t irqstack;

Index: src/sys/arch/evbarm/viper/viper_machdep.c
diff -u src/sys/arch/evbarm/viper/viper_machdep.c:1.11 src/sys/arch/evbarm/viper/viper_machdep.c:1.12
--- src/sys/arch/evbarm/viper/viper_machdep.c:1.11	Tue Nov 11 06:46:42 2008
+++ src/sys/arch/evbarm/viper/viper_machdep.c	Tue Aug 11 17:04:17 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: viper_machdep.c,v 1.11 2008/11/11 06:46:42 dyoung Exp $ */
+/*	$NetBSD: viper_machdep.c,v 1.12 2009/08/11 17:04:17 matt Exp $ */
 
 /*
  * Startup routines for the Arcom Viper.  Below you can trace the
@@ -112,7 +112,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: viper_machdep.c,v 1.11 2008/11/11 06:46:42 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: viper_machdep.c,v 1.12 2009/08/11 17:04:17 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -195,7 +195,6 @@
 vm_offset_t physical_end;
 u_int free_pages;
 vm_offset_t pagetables_start;
-int physmem = 0;
 
 /*int debug_flags;*/
 #ifndef PMAP_STATIC_L1S

Index: src/sys/arch/evbmips/adm5120/machdep.c
diff -u src/sys/arch/evbmips/adm5120/machdep.c:1.10 src/sys/arch/evbmips/adm5120/machdep.c:1.11
--- src/sys/arch/evbmips/adm5120/machdep.c:1.10	Fri Feb 13 22:41:01 2009
+++ src/sys/arch/evbmips/adm5120/machdep.c	Tue Aug 11 17:04:17 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.10 2009/02/13 22:41:01 apb Exp $ */
+/* $NetBSD: machdep.c,v 1.11 2009/08/11 17:04:17 matt Exp $ */
 
 /*-
  * Copyright (c) 2007 Ruslan Ermilov and Vsevolod Lobko.
@@ -107,7 +107,7 @@
  */
 
 #include <sys/cdefs.h>			/* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.10 2009/02/13 22:41:01 apb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.11 2009/08/11 17:04:17 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -170,7 +170,6 @@
 struct vm_map *mb_map = NULL;
 struct vm_map *phys_map = NULL;
 
-int physmem;		/* # pages of physical memory */
 int maxmem;			/* max memory per process */
 
 int mem_cluster_cnt;

Index: src/sys/arch/evbmips/alchemy/machdep.c
diff -u src/sys/arch/evbmips/alchemy/machdep.c:1.41 src/sys/arch/evbmips/alchemy/machdep.c:1.42
--- src/sys/arch/evbmips/alchemy/machdep.c:1.41	Fri Feb 13 22:41:01 2009
+++ src/sys/arch/evbmips/alchemy/machdep.c	Tue Aug 11 17:04:18 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.41 2009/02/13 22:41:01 apb Exp $ */
+/* $NetBSD: machdep.c,v 1.42 2009/08/11 17:04:18 matt Exp $ */
 
 /*-
  * Copyright (c) 2006 Itronix Inc.
@@ -107,7 +107,7 @@
  */
 
 #include <sys/cdefs.h>			/* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.41 2009/02/13 22:41:01 apb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.42 2009/08/11 17:04:18 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -172,7 +172,6 @@
 struct vm_map *mb_map = NULL;
 struct vm_map *phys_map = NULL;
 
-int physmem;		/* # pages of physical memory */
 int maxmem;			/* max memory per process */
 
 int mem_cluster_cnt;

Index: src/sys/arch/evbmips/atheros/machdep.c
diff -u src/sys/arch/evbmips/atheros/machdep.c:1.17 src/sys/arch/evbmips/atheros/machdep.c:1.18
--- src/sys/arch/evbmips/atheros/machdep.c:1.17	Fri Feb 13 22:41:01 2009
+++ src/sys/arch/evbmips/atheros/machdep.c	Tue Aug 11 17:04:18 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.17 2009/02/13 22:41:01 apb Exp $ */
+/* $NetBSD: machdep.c,v 1.18 2009/08/11 17:04:18 matt Exp $ */
 
 /*
  * Copyright (c) 2006 Urbana-Champaign Independent Media Center.
@@ -147,7 +147,7 @@
  */
 
 #include <sys/cdefs.h>			/* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.17 2009/02/13 22:41:01 apb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.18 2009/08/11 17:04:18 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -193,7 +193,6 @@
 struct vm_map *mb_map = NULL;
 struct vm_map *phys_map = NULL;
 
-int physmem;		/* # pages of physical memory */
 int maxmem;			/* max memory per process */
 
 int mem_cluster_cnt;

Index: src/sys/arch/ews4800mips/ews4800mips/machdep.c
diff -u src/sys/arch/ews4800mips/ews4800mips/machdep.c:1.16 src/sys/arch/ews4800mips/ews4800mips/machdep.c:1.17
--- src/sys/arch/ews4800mips/ews4800mips/machdep.c:1.16	Sun Nov 30 18:21:34 2008
+++ src/sys/arch/ews4800mips/ews4800mips/machdep.c	Tue Aug 11 17:04:18 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.16 2008/11/30 18:21:34 martin Exp $	*/
+/*	$NetBSD: machdep.c,v 1.17 2009/08/11 17:04:18 matt Exp $	*/
 
 /*-
  * Copyright (c) 2001, 2004, 2005 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.16 2008/11/30 18:21:34 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.17 2009/08/11 17:04:18 matt Exp $");
 
 #include "opt_ddb.h"
 
@@ -77,9 +77,6 @@
 struct vm_map *mb_map;
 struct vm_map *phys_map;
 
-/* for buffer cache, vnode cache estimation */
-int physmem;		/* max supported memory, changes to actual */
-
 /* referenced by mips_machdep.c:cpu_dump() */
 int mem_cluster_cnt;
 phys_ram_seg_t mem_clusters[VM_PHYSSEG_MAX];

Index: src/sys/arch/hpcarm/hpcarm/hpc_machdep.c
diff -u src/sys/arch/hpcarm/hpcarm/hpc_machdep.c:1.91 src/sys/arch/hpcarm/hpcarm/hpc_machdep.c:1.92
--- src/sys/arch/hpcarm/hpcarm/hpc_machdep.c:1.91	Fri Feb 13 22:41:02 2009
+++ src/sys/arch/hpcarm/hpcarm/hpc_machdep.c	Tue Aug 11 17:04:18 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: hpc_machdep.c,v 1.91 2009/02/13 22:41:02 apb Exp $	*/
+/*	$NetBSD: hpc_machdep.c,v 1.92 2009/08/11 17:04:18 matt Exp $	*/
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hpc_machdep.c,v 1.91 2009/02/13 22:41:02 apb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hpc_machdep.c,v 1.92 2009/08/11 17:04:18 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_modular.h"
@@ -125,7 +125,6 @@
 paddr_t physical_freestart;
 paddr_t physical_freeend;
 paddr_t physical_end;
-int physmem = 0;
 
 #ifndef PMAP_STATIC_L1S
 int max_processes = 64;			/* Default number */

Index: src/sys/arch/hppa/hppa/machdep.h
diff -u src/sys/arch/hppa/hppa/machdep.h:1.11 src/sys/arch/hppa/hppa/machdep.h:1.12
--- src/sys/arch/hppa/hppa/machdep.h:1.11	Thu Apr 30 07:01:27 2009
+++ src/sys/arch/hppa/hppa/machdep.h	Tue Aug 11 17:04:18 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.h,v 1.11 2009/04/30 07:01:27 skrll Exp $	*/
+/*	$NetBSD: machdep.h,v 1.12 2009/08/11 17:04:18 matt Exp $	*/
 
 /*
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -58,7 +58,6 @@
 extern vaddr_t virtual_start, virtual_end;
 
 /* Total physical pages, and low reserved physical pages. */
-extern int physmem;
 extern int totalphysmem;
 extern int availphysmem;
 extern int resvmem;

Index: src/sys/arch/iyonix/iyonix/iyonix_machdep.c
diff -u src/sys/arch/iyonix/iyonix/iyonix_machdep.c:1.12 src/sys/arch/iyonix/iyonix/iyonix_machdep.c:1.13
--- src/sys/arch/iyonix/iyonix/iyonix_machdep.c:1.12	Sun Aug  2 11:32:05 2009
+++ src/sys/arch/iyonix/iyonix/iyonix_machdep.c	Tue Aug 11 17:04:18 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: iyonix_machdep.c,v 1.12 2009/08/02 11:32:05 gavan Exp $	*/
+/*	$NetBSD: iyonix_machdep.c,v 1.13 2009/08/11 17:04:18 matt Exp $	*/
 
 /*
  * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -73,7 +73,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iyonix_machdep.c,v 1.12 2009/08/02 11:32:05 gavan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iyonix_machdep.c,v 1.13 2009/08/11 17:04:18 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -155,7 +155,6 @@
 vm_offset_t physical_end;
 u_int free_pages;
 vm_offset_t pagetables_start;
-int physmem = 0;
 
 /*int debug_flags;*/
 #ifndef PMAP_STATIC_L1S

Index: src/sys/arch/mac68k/mac68k/pmap_bootstrap.c
diff -u src/sys/arch/mac68k/mac68k/pmap_bootstrap.c:1.77 src/sys/arch/mac68k/mac68k/pmap_bootstrap.c:1.78
--- src/sys/arch/mac68k/mac68k/pmap_bootstrap.c:1.77	Sat Jan 17 07:17:36 2009
+++ src/sys/arch/mac68k/mac68k/pmap_bootstrap.c	Tue Aug 11 17:04:18 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap_bootstrap.c,v 1.77 2009/01/17 07:17:36 tsutsui Exp $	*/
+/*	$NetBSD: pmap_bootstrap.c,v 1.78 2009/08/11 17:04:18 matt Exp $	*/
 
 /* 
  * Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.77 2009/01/17 07:17:36 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.78 2009/08/11 17:04:18 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -62,7 +62,6 @@
 extern char *etext;
 extern char *extiobase, *proc0paddr;
 
-extern int physmem;
 extern paddr_t avail_start;
 extern paddr_t avail_end;
 

Index: src/sys/arch/netwinder/netwinder/netwinder_machdep.c
diff -u src/sys/arch/netwinder/netwinder/netwinder_machdep.c:1.70 src/sys/arch/netwinder/netwinder/netwinder_machdep.c:1.71
--- src/sys/arch/netwinder/netwinder/netwinder_machdep.c:1.70	Sat Mar 14 21:04:13 2009
+++ src/sys/arch/netwinder/netwinder/netwinder_machdep.c	Tue Aug 11 17:04:18 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: netwinder_machdep.c,v 1.70 2009/03/14 21:04:13 dsl Exp $	*/
+/*	$NetBSD: netwinder_machdep.c,v 1.71 2009/08/11 17:04:18 matt Exp $	*/
 
 /*
  * Copyright (c) 1997,1998 Mark Brinicombe.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netwinder_machdep.c,v 1.70 2009/03/14 21:04:13 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netwinder_machdep.c,v 1.71 2009/08/11 17:04:18 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_pmap_debug.h"
@@ -137,7 +137,6 @@
 vm_offset_t physical_end;
 u_int free_pages;
 vm_offset_t pagetables_start;
-int physmem = 0;
 
 /*int debug_flags;*/
 #ifndef PMAP_STATIC_L1S

Index: src/sys/arch/newsmips/newsmips/machdep.c
diff -u src/sys/arch/newsmips/newsmips/machdep.c:1.102 src/sys/arch/newsmips/newsmips/machdep.c:1.103
--- src/sys/arch/newsmips/newsmips/machdep.c:1.102	Fri Feb 13 22:41:02 2009
+++ src/sys/arch/newsmips/newsmips/machdep.c	Tue Aug 11 17:04:19 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.102 2009/02/13 22:41:02 apb Exp $	*/
+/*	$NetBSD: machdep.c,v 1.103 2009/08/11 17:04:19 matt Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993
@@ -76,7 +76,7 @@
 
 #include <sys/cdefs.h>			/* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.102 2009/02/13 22:41:02 apb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.103 2009/08/11 17:04:19 matt Exp $");
 
 /* from: Utah Hdr: machdep.c 1.63 91/04/24 */
 
@@ -149,7 +149,6 @@
 struct vm_map *phys_map = NULL;
 
 char *bootinfo = NULL;		/* pointer to bootinfo structure */
-int physmem;			/* max supported memory, changes to actual */
 int systype;			/* what type of NEWS we are */
 struct apbus_sysinfo *_sip = NULL;
 

Index: src/sys/arch/playstation2/playstation2/machdep.c
diff -u src/sys/arch/playstation2/playstation2/machdep.c:1.25 src/sys/arch/playstation2/playstation2/machdep.c:1.26
--- src/sys/arch/playstation2/playstation2/machdep.c:1.25	Wed Mar 18 10:22:33 2009
+++ src/sys/arch/playstation2/playstation2/machdep.c	Tue Aug 11 17:04:19 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.25 2009/03/18 10:22:33 cegger Exp $	*/
+/*	$NetBSD: machdep.c,v 1.26 2009/08/11 17:04:19 matt Exp $	*/
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.25 2009/03/18 10:22:33 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.26 2009/08/11 17:04:19 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kloader.h"
@@ -77,7 +77,6 @@
 struct vm_map *phys_map;
 phys_ram_seg_t mem_clusters[VM_PHYSSEG_MAX];
 int mem_cluster_cnt;
-int physmem;	/* for buffer cache, vnode cache estimation */
 
 #ifdef DEBUG
 static void bootinfo_dump(void);

Index: src/sys/arch/powerpc/ibm4xx/pmap.c
diff -u src/sys/arch/powerpc/ibm4xx/pmap.c:1.55 src/sys/arch/powerpc/ibm4xx/pmap.c:1.56
--- src/sys/arch/powerpc/ibm4xx/pmap.c:1.55	Mon May 11 16:09:24 2009
+++ src/sys/arch/powerpc/ibm4xx/pmap.c	Tue Aug 11 17:04:19 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap.c,v 1.55 2009/05/11 16:09:24 he Exp $	*/
+/*	$NetBSD: pmap.c,v 1.56 2009/08/11 17:04:19 matt Exp $	*/
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.55 2009/05/11 16:09:24 he Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.56 2009/08/11 17:04:19 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/malloc.h>
@@ -130,7 +130,6 @@
 struct pmap kernel_pmap_;
 struct pmap *const kernel_pmap_ptr = &kernel_pmap_;
 
-int physmem;
 static int npgs;
 static u_int nextavail;
 #ifndef MSGBUFADDR

Index: src/sys/arch/powerpc/oea/pmap.c
diff -u src/sys/arch/powerpc/oea/pmap.c:1.65 src/sys/arch/powerpc/oea/pmap.c:1.66
--- src/sys/arch/powerpc/oea/pmap.c:1.65	Tue Apr 21 21:29:59 2009
+++ src/sys/arch/powerpc/oea/pmap.c	Tue Aug 11 17:04:19 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap.c,v 1.65 2009/04/21 21:29:59 cegger Exp $	*/
+/*	$NetBSD: pmap.c,v 1.66 2009/08/11 17:04:19 matt Exp $	*/
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -63,7 +63,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.65 2009/04/21 21:29:59 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.66 2009/08/11 17:04:19 matt Exp $");
 
 #define	PMAP_NOOPNAMES
 
@@ -112,7 +112,6 @@
 u_long pmap_pvo_remove_depth;
 #endif
 
-int physmem;
 #ifndef MSGBUFADDR
 extern paddr_t msgbuf_paddr;
 #endif

Index: src/sys/arch/sgimips/sgimips/machdep.c
diff -u src/sys/arch/sgimips/sgimips/machdep.c:1.127 src/sys/arch/sgimips/sgimips/machdep.c:1.128
--- src/sys/arch/sgimips/sgimips/machdep.c:1.127	Wed Mar 18 10:22:35 2009
+++ src/sys/arch/sgimips/sgimips/machdep.c	Tue Aug 11 17:04:19 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.127 2009/03/18 10:22:35 cegger Exp $	*/
+/*	$NetBSD: machdep.c,v 1.128 2009/08/11 17:04:19 matt Exp $	*/
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.127 2009/03/18 10:22:35 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.128 2009/08/11 17:04:19 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -124,7 +124,6 @@
 int mach_subtype = 0;	/* subtype: eg., Guinness/Fullhouse for IP22 */
 int mach_boardrev = 0;	/* machine board revision, in case it matters */
 
-int physmem;		/* Total physical memory */
 int arcsmem;		/* Memory used by the ARCS firmware */
 
 int ncpus;

Index: src/sys/arch/sh3/sh3/sh3_machdep.c
diff -u src/sys/arch/sh3/sh3/sh3_machdep.c:1.80 src/sys/arch/sh3/sh3/sh3_machdep.c:1.81
--- src/sys/arch/sh3/sh3/sh3_machdep.c:1.80	Wed Mar 18 10:22:36 2009
+++ src/sys/arch/sh3/sh3/sh3_machdep.c	Tue Aug 11 17:04:19 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: sh3_machdep.c,v 1.80 2009/03/18 10:22:36 cegger Exp $	*/
+/*	$NetBSD: sh3_machdep.c,v 1.81 2009/08/11 17:04:19 matt Exp $	*/
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2002 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sh3_machdep.c,v 1.80 2009/03/18 10:22:36 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sh3_machdep.c,v 1.81 2009/08/11 17:04:19 matt Exp $");
 
 #include "opt_kgdb.h"
 #include "opt_memsize.h"
@@ -114,7 +114,6 @@
 struct vm_map *mb_map;
 struct vm_map *phys_map;
 
-int physmem;
 struct user *proc0paddr;	/* init_main.c use this. */
 struct pcb *curpcb;
 

Index: src/sys/arch/shark/ofw/ofw.c
diff -u src/sys/arch/shark/ofw/ofw.c:1.49 src/sys/arch/shark/ofw/ofw.c:1.50
--- src/sys/arch/shark/ofw/ofw.c:1.49	Wed Mar 18 16:00:14 2009
+++ src/sys/arch/shark/ofw/ofw.c	Tue Aug 11 17:04:19 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: ofw.c,v 1.49 2009/03/18 16:00:14 cegger Exp $	*/
+/*	$NetBSD: ofw.c,v 1.50 2009/08/11 17:04:19 matt Exp $	*/
 
 /*
  * Copyright 1997
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ofw.c,v 1.49 2009/03/18 16:00:14 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ofw.c,v 1.50 2009/08/11 17:04:19 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -131,7 +131,6 @@
 paddr_t physical_freeend;
 paddr_t physical_end;
 u_int free_pages;
-int physmem;
 #ifndef	OFWGENCFG
 pv_addr_t irqstack;
 #endif

Index: src/sys/arch/sun2/sun2/locore2.c
diff -u src/sys/arch/sun2/sun2/locore2.c:1.20 src/sys/arch/sun2/sun2/locore2.c:1.21
--- src/sys/arch/sun2/sun2/locore2.c:1.20	Fri Feb 13 22:41:03 2009
+++ src/sys/arch/sun2/sun2/locore2.c	Tue Aug 11 17:04:19 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: locore2.c,v 1.20 2009/02/13 22:41:03 apb Exp $	*/
+/*	$NetBSD: locore2.c,v 1.21 2009/08/11 17:04:19 matt Exp $	*/
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: locore2.c,v 1.20 2009/02/13 22:41:03 apb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: locore2.c,v 1.21 2009/08/11 17:04:19 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_modular.h"
@@ -94,8 +94,6 @@
  */
 int delay_divisor = 82;		/* assume the fastest (3/260) */
 
-extern int physmem;
-
 struct user *proc0paddr;	/* proc[0] pcb address (u-area VA) */
 extern struct pcb *curpcb;
 

Index: src/sys/arch/sun3/sun3/locore2.c
diff -u src/sys/arch/sun3/sun3/locore2.c:1.93 src/sys/arch/sun3/sun3/locore2.c:1.94
--- src/sys/arch/sun3/sun3/locore2.c:1.93	Fri Feb 13 22:41:03 2009
+++ src/sys/arch/sun3/sun3/locore2.c	Tue Aug 11 17:04:20 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: locore2.c,v 1.93 2009/02/13 22:41:03 apb Exp $	*/
+/*	$NetBSD: locore2.c,v 1.94 2009/08/11 17:04:20 matt Exp $	*/
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: locore2.c,v 1.93 2009/02/13 22:41:03 apb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: locore2.c,v 1.94 2009/08/11 17:04:20 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_modular.h"
@@ -96,8 +96,6 @@
  */
 int delay_divisor = 82;		/* assume the fastest (3/260) */
 
-extern int physmem;
-
 struct user *proc0paddr;	/* proc[0] pcb address (u-area VA) */
 extern struct pcb *curpcb;
 

Index: src/sys/arch/sun3/sun3x/pmap.c
diff -u src/sys/arch/sun3/sun3x/pmap.c:1.105 src/sys/arch/sun3/sun3x/pmap.c:1.106
--- src/sys/arch/sun3/sun3x/pmap.c:1.105	Sat Apr 25 15:32:30 2009
+++ src/sys/arch/sun3/sun3x/pmap.c	Tue Aug 11 17:04:20 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap.c,v 1.105 2009/04/25 15:32:30 tsutsui Exp $	*/
+/*	$NetBSD: pmap.c,v 1.106 2009/08/11 17:04:20 matt Exp $	*/
 
 /*-
  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -105,7 +105,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.105 2009/04/25 15:32:30 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.106 2009/08/11 17:04:20 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_pmap_debug.h"
@@ -136,7 +136,6 @@
 
 /* XXX - What headers declare these? */
 extern struct pcb *curpcb;
-extern int physmem;
 
 /* Defined in locore.s */
 extern char kernel_text[];

Index: src/sys/arch/usermode/dev/cpu.c
diff -u src/sys/arch/usermode/dev/cpu.c:1.2 src/sys/arch/usermode/dev/cpu.c:1.3
--- src/sys/arch/usermode/dev/cpu.c:1.2	Tue Feb 12 17:30:58 2008
+++ src/sys/arch/usermode/dev/cpu.c	Tue Aug 11 17:04:20 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.2 2008/02/12 17:30:58 joerg Exp $ */
+/* $NetBSD: cpu.c,v 1.3 2009/08/11 17:04:20 matt Exp $ */
 
 /*-
  * Copyright (c) 2007 Jared D. McNeill <jmcne...@invisible.ca>
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.2 2008/02/12 17:30:58 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.3 2009/08/11 17:04:20 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -314,7 +314,6 @@
 void
 cpu_startup(void)
 {
-	extern int physmem;
 	extern struct vm_map *mb_map;
 	vaddr_t minaddr, maxaddr;
 	char pbuf[9];

Index: src/sys/arch/zaurus/zaurus/machdep.c
diff -u src/sys/arch/zaurus/zaurus/machdep.c:1.16 src/sys/arch/zaurus/zaurus/machdep.c:1.17
--- src/sys/arch/zaurus/zaurus/machdep.c:1.16	Tue Aug  4 12:11:33 2009
+++ src/sys/arch/zaurus/zaurus/machdep.c	Tue Aug 11 17:04:20 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.16 2009/08/04 12:11:33 kiyohara Exp $	*/
+/*	$NetBSD: machdep.c,v 1.17 2009/08/11 17:04:20 matt Exp $	*/
 /*	$OpenBSD: zaurus_machdep.c,v 1.25 2006/06/20 18:24:04 todd Exp $	*/
 
 /*
@@ -107,7 +107,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.16 2009/08/04 12:11:33 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.17 2009/08/11 17:04:20 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -211,7 +211,6 @@
 paddr_t physical_freeend;
 paddr_t physical_end;
 u_int free_pages;
-int physmem = 0;
 
 #ifndef PMAP_STATIC_L1S
 int max_processes = 64;			/* Default number */

Reply via email to