Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Remove declartions of physmem
details: https://anonhg.NetBSD.org/src/rev/2af0f9c408ec
branches: trunk
changeset: 780541:2af0f9c408ec
user: matt <matt%NetBSD.org@localhost>
date: Sat Jul 28 19:08:22 2012 +0000
description:
Remove declartions of physmem
diffstat:
sys/arch/arc/arc/machdep.c | 5 ++---
sys/arch/cobalt/cobalt/machdep.c | 5 ++---
sys/arch/evbarm/marvell/marvell_machdep.c | 5 ++---
sys/arch/evbarm/mini2440/mini2440_machdep.c | 3 +--
sys/arch/evbarm/rpi/rpi_machdep.c | 5 ++---
sys/arch/evbppc/include/intr.h | 4 +++-
sys/arch/hp700/hp700/machdep.c | 5 ++---
sys/arch/hpcmips/hpcmips/machdep.c | 5 ++---
sys/arch/ia64/ia64/machdep.c | 3 +--
sys/arch/luna68k/luna68k/machdep.c | 5 ++---
sys/arch/mipsco/mipsco/machdep.c | 5 ++---
sys/arch/mvme68k/mvme68k/machdep.c | 5 ++---
sys/arch/next68k/next68k/machdep.c | 5 ++---
sys/arch/sbmips/sbmips/machdep.c | 6 ++----
sys/arch/sparc/sparc/machdep.c | 6 ++----
sys/arch/sparc64/sparc64/machdep.c | 6 ++----
sys/arch/sun2/sun2/machdep.c | 5 ++---
sys/arch/sun3/sun3/machdep.c | 5 ++---
sys/arch/sun3/sun3x/machdep.c | 5 ++---
sys/arch/usermode/usermode/pmap.c | 5 ++---
20 files changed, 39 insertions(+), 59 deletions(-)
diffs (truncated from 492 to 300 lines):
diff -r 15d2344dc116 -r 2af0f9c408ec sys/arch/arc/arc/machdep.c
--- a/sys/arch/arc/arc/machdep.c Sat Jul 28 18:38:03 2012 +0000
+++ b/sys/arch/arc/arc/machdep.c Sat Jul 28 19:08:22 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.124 2011/07/01 19:28:00 dyoung Exp $ */
+/* $NetBSD: machdep.c,v 1.125 2012/07/28 19:08:22 matt Exp $ */
/* $OpenBSD: machdep.c,v 1.36 1999/05/22 21:22:19 weingart Exp $ */
/*
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.124 2011/07/01 19:28:00 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.125 2012/07/28 19:08:22 matt Exp $");
#include "opt_ddb.h"
#include "opt_ddbparam.h"
@@ -128,7 +128,6 @@
struct vm_map *phys_map = NULL;
int maxmem; /* max memory per process */
-int physmem; /* max supported memory, changes to actual */
int cpuspeed = 150; /* approx CPU clock [MHz] */
vsize_t kseg2iobufsize = 0; /* to reserve PTEs for KSEG2 I/O space */
struct arc_bus_space arc_bus_io;/* Bus tag for bus.h macros */
diff -r 15d2344dc116 -r 2af0f9c408ec sys/arch/cobalt/cobalt/machdep.c
--- a/sys/arch/cobalt/cobalt/machdep.c Sat Jul 28 18:38:03 2012 +0000
+++ b/sys/arch/cobalt/cobalt/machdep.c Sat Jul 28 19:08:22 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.112 2011/07/09 16:09:01 matt Exp $ */
+/* $NetBSD: machdep.c,v 1.113 2012/07/28 19:08:22 matt Exp $ */
/*-
* Copyright (c) 2006 Izumi Tsutsui. All rights reserved.
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.112 2011/07/09 16:09:01 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.113 2012/07/28 19:08:22 matt Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -99,7 +99,6 @@
/* Maps for VM objects. */
struct vm_map *phys_map = NULL;
-int physmem; /* Total physical memory */
void *bootinfo = NULL; /* pointer to bootinfo structure */
char bootstring[512]; /* Boot command */
diff -r 15d2344dc116 -r 2af0f9c408ec sys/arch/evbarm/marvell/marvell_machdep.c
--- a/sys/arch/evbarm/marvell/marvell_machdep.c Sat Jul 28 18:38:03 2012 +0000
+++ b/sys/arch/evbarm/marvell/marvell_machdep.c Sat Jul 28 19:08:22 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: marvell_machdep.c,v 1.9 2012/07/18 10:28:47 kiyohara Exp $ */
+/* $NetBSD: marvell_machdep.c,v 1.10 2012/07/28 19:08:22 matt Exp $ */
/*
* Copyright (c) 2007, 2008, 2010 KIYOHARA Takashi
* All rights reserved.
@@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: marvell_machdep.c,v 1.9 2012/07/18 10:28:47 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: marvell_machdep.c,v 1.10 2012/07/28 19:08:22 matt Exp $");
#include "opt_evbarm_boardtype.h"
#include "opt_ddb.h"
@@ -112,7 +112,6 @@
vm_offset_t physical_freeend;
vm_offset_t physical_end;
u_int free_pages;
-int physmem = 0;
/* Physical and virtual addresses for some global pages */
pv_addr_t systempage;
diff -r 15d2344dc116 -r 2af0f9c408ec sys/arch/evbarm/mini2440/mini2440_machdep.c
--- a/sys/arch/evbarm/mini2440/mini2440_machdep.c Sat Jul 28 18:38:03 2012 +0000
+++ b/sys/arch/evbarm/mini2440/mini2440_machdep.c Sat Jul 28 19:08:22 2012 +0000
@@ -131,7 +131,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mini2440_machdep.c,v 1.2 2012/02/03 00:33:08 nisimura Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mini2440_machdep.c,v 1.3 2012/07/28 19:08:23 matt Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -237,7 +237,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
diff -r 15d2344dc116 -r 2af0f9c408ec sys/arch/evbarm/rpi/rpi_machdep.c
--- a/sys/arch/evbarm/rpi/rpi_machdep.c Sat Jul 28 18:38:03 2012 +0000
+++ b/sys/arch/evbarm/rpi/rpi_machdep.c Sat Jul 28 19:08:22 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rpi_machdep.c,v 1.1 2012/07/26 06:21:57 skrll Exp $ */
+/* $NetBSD: rpi_machdep.c,v 1.2 2012/07/28 19:08:23 matt Exp $ */
/*
* Copyright (c) 2002, 2003, 2005 Genetec Corporation. All rights reserved.
@@ -122,7 +122,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rpi_machdep.c,v 1.1 2012/07/26 06:21:57 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rpi_machdep.c,v 1.2 2012/07/28 19:08:23 matt Exp $");
#include "opt_evbarm_boardtype.h"
#include "opt_broadcom.h"
@@ -183,7 +183,6 @@
vm_offset_t physical_freeend;
vm_offset_t physical_end;
u_int free_pages;
-int physmem = 0;
/* Physical and virtual addresses for some global pages */
pv_addr_t systempage;
diff -r 15d2344dc116 -r 2af0f9c408ec sys/arch/evbppc/include/intr.h
--- a/sys/arch/evbppc/include/intr.h Sat Jul 28 18:38:03 2012 +0000
+++ b/sys/arch/evbppc/include/intr.h Sat Jul 28 19:08:22 2012 +0000
@@ -1,3 +1,5 @@
-/* $NetBSD: intr.h,v 1.4 2005/12/11 12:17:12 christos Exp $ */
+/* $NetBSD: intr.h,v 1.5 2012/07/28 19:08:23 matt Exp $ */
+#ifdef PPC_INTR_IMPL
#include PPC_INTR_IMPL
+#endif
diff -r 15d2344dc116 -r 2af0f9c408ec sys/arch/hp700/hp700/machdep.c
--- a/sys/arch/hp700/hp700/machdep.c Sat Jul 28 18:38:03 2012 +0000
+++ b/sys/arch/hp700/hp700/machdep.c Sat Jul 28 19:08:22 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.114 2012/06/08 07:53:41 dsl Exp $ */
+/* $NetBSD: machdep.c,v 1.115 2012/07/28 19:08:23 matt Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.114 2012/06/08 07:53:41 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.115 2012/07/28 19:08:23 matt Exp $");
#include "opt_cputype.h"
#include "opt_ddb.h"
@@ -240,7 +240,6 @@
int (*cpu_dbtlb_ins)(int, pa_space_t, vaddr_t, paddr_t, vsize_t, u_int);
dev_t bootdev;
-int physmem; /* # pages supported by pmap */
int totalphysmem; /* # pages in system */
int availphysmem; /* # pages available to kernel */
int esym;
diff -r 15d2344dc116 -r 2af0f9c408ec sys/arch/hpcmips/hpcmips/machdep.c
--- a/sys/arch/hpcmips/hpcmips/machdep.c Sat Jul 28 18:38:03 2012 +0000
+++ b/sys/arch/hpcmips/hpcmips/machdep.c Sat Jul 28 19:08:22 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.114 2011/02/20 07:58:14 matt Exp $ */
+/* $NetBSD: machdep.c,v 1.115 2012/07/28 19:08:23 matt Exp $ */
/*-
* Copyright (c) 1999 Shin Takemura, All rights reserved.
@@ -69,7 +69,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.114 2011/02/20 07:58:14 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.115 2012/07/28 19:08:23 matt Exp $");
#include "opt_vr41xx.h"
#include "opt_tx39xx.h"
@@ -181,7 +181,6 @@
struct vm_map *phys_map;
/* physical memory */
-int physmem; /* max supported memory, changes to actual */
int mem_cluster_cnt;
phys_ram_seg_t mem_clusters[VM_PHYSSEG_MAX];
diff -r 15d2344dc116 -r 2af0f9c408ec sys/arch/ia64/ia64/machdep.c
--- a/sys/arch/ia64/ia64/machdep.c Sat Jul 28 18:38:03 2012 +0000
+++ b/sys/arch/ia64/ia64/machdep.c Sat Jul 28 19:08:22 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.31 2012/02/19 21:06:12 rmind Exp $ */
+/* $NetBSD: machdep.c,v 1.32 2012/07/28 19:08:24 matt Exp $ */
/*-
* Copyright (c) 2003,2004 Marcel Moolenaar
@@ -133,7 +133,6 @@
struct vm_map *phys_map = NULL;
void *msgbufaddr;
-int physmem;
vaddr_t kernstart, kernend;
diff -r 15d2344dc116 -r 2af0f9c408ec sys/arch/luna68k/luna68k/machdep.c
--- a/sys/arch/luna68k/luna68k/machdep.c Sat Jul 28 18:38:03 2012 +0000
+++ b/sys/arch/luna68k/luna68k/machdep.c Sat Jul 28 19:08:22 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.91 2012/07/28 17:33:53 tsutsui Exp $ */
+/* $NetBSD: machdep.c,v 1.92 2012/07/28 19:08:24 matt Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.91 2012/07/28 17:33:53 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.92 2012/07/28 19:08:24 matt Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -103,7 +103,6 @@
struct vm_map *phys_map = NULL;
int maxmem; /* max memory per process */
-int physmem; /* set by locore */
extern u_int lowram;
diff -r 15d2344dc116 -r 2af0f9c408ec sys/arch/mipsco/mipsco/machdep.c
--- a/sys/arch/mipsco/mipsco/machdep.c Sat Jul 28 18:38:03 2012 +0000
+++ b/sys/arch/mipsco/mipsco/machdep.c Sat Jul 28 19:08:22 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.74 2011/02/20 07:56:16 matt Exp $ */
+/* $NetBSD: machdep.c,v 1.75 2012/07/28 19:08:24 matt Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.74 2011/02/20 07:56:16 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.75 2012/07/28 19:08:24 matt Exp $");
/* from: Utah Hdr: machdep.c 1.63 91/04/24 */
@@ -106,7 +106,6 @@
struct vm_map *phys_map = NULL;
-int physmem; /* max supported memory, changes to actual */
char *bootinfo = NULL; /* pointer to bootinfo structure */
phys_ram_seg_t mem_clusters[VM_PHYSSEG_MAX];
diff -r 15d2344dc116 -r 2af0f9c408ec sys/arch/mvme68k/mvme68k/machdep.c
--- a/sys/arch/mvme68k/mvme68k/machdep.c Sat Jul 28 18:38:03 2012 +0000
+++ b/sys/arch/mvme68k/mvme68k/machdep.c Sat Jul 28 19:08:22 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.151 2012/07/27 05:36:11 matt Exp $ */
+/* $NetBSD: machdep.c,v 1.152 2012/07/28 19:08:24 matt Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.151 2012/07/27 05:36:11 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.152 2012/07/28 19:08:24 matt Exp $");
#include "opt_ddb.h"
#include "opt_m060sp.h"
@@ -124,7 +124,6 @@
paddr_t msgbufpa; /* PA of message buffer */
int maxmem; /* max memory per process */
-int physmem; /* size of physical memory */
/*
* The driver for the ethernet chip appropriate to the
diff -r 15d2344dc116 -r 2af0f9c408ec sys/arch/next68k/next68k/machdep.c
--- a/sys/arch/next68k/next68k/machdep.c Sat Jul 28 18:38:03 2012 +0000
+++ b/sys/arch/next68k/next68k/machdep.c Sat Jul 28 19:08:22 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.107 2012/07/27 05:36:11 matt Exp $ */
+/* $NetBSD: machdep.c,v 1.108 2012/07/28 19:08:24 matt Exp $ */
/*
* Copyright (c) 1998 Darrin B. Jewell
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.107 2012/07/27 05:36:11 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.108 2012/07/28 19:08:24 matt Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -130,7 +130,6 @@
Home |
Main Index |
Thread Index |
Old Index