From 665b05efd4d21d2a2814fbcb83048b927ad676e4 Mon Sep 17 00:00:00 2001 From: mycroft Date: Mon, 29 Mar 1999 10:02:19 +0000 Subject: [PATCH] GC physical_memoryblock. --- sys/arch/arm32/arm32/pmap.c | 3 +-- sys/arch/arm32/footbridge/ebsa285_machdep.c | 4 +--- sys/arch/arm32/ofw/ofw.c | 6 ++---- sys/arch/arm32/rc7500/rc7500_machdep.c | 4 +--- sys/arch/arm32/riscpc/rpc_machdep.c | 4 +--- 5 files changed, 6 insertions(+), 15 deletions(-) diff --git a/sys/arch/arm32/arm32/pmap.c b/sys/arch/arm32/arm32/pmap.c index 63ac1699abdd..27436e3c7e6c 100644 --- a/sys/arch/arm32/arm32/pmap.c +++ b/sys/arch/arm32/arm32/pmap.c @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.56 1999/03/29 07:15:06 mycroft Exp $ */ +/* $NetBSD: pmap.c,v 1.57 1999/03/29 10:02:19 mycroft Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -153,7 +153,6 @@ extern vm_offset_t physical_start; extern vm_offset_t physical_freestart; extern vm_offset_t physical_end; extern vm_offset_t physical_freeend; -extern int physical_memoryblock; extern unsigned int free_pages; extern int max_processes; diff --git a/sys/arch/arm32/footbridge/ebsa285_machdep.c b/sys/arch/arm32/footbridge/ebsa285_machdep.c index f7f4fdcdbc62..0ea1dff4a2ac 100644 --- a/sys/arch/arm32/footbridge/ebsa285_machdep.c +++ b/sys/arch/arm32/footbridge/ebsa285_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: ebsa285_machdep.c,v 1.5 1999/01/03 02:23:27 mark Exp $ */ +/* $NetBSD: ebsa285_machdep.c,v 1.6 1999/03/29 10:02:19 mycroft Exp $ */ /* * Copyright (c) 1997,1998 Mark Brinicombe. @@ -109,7 +109,6 @@ vm_offset_t physical_start; vm_offset_t physical_freestart; vm_offset_t physical_freeend; vm_offset_t physical_end; -int physical_memoryblock; u_int free_pages; vm_offset_t pagetables_start; int physmem = 0; @@ -433,7 +432,6 @@ initarm(bootinfo) physical_freestart = physical_start; physical_end = ebsabootinfo.bt_memend; physical_freeend = physical_end; - physical_memoryblock = 0; free_pages = (physical_end - physical_start) / NBPG; physmem = (physical_end - physical_start) / NBPG; diff --git a/sys/arch/arm32/ofw/ofw.c b/sys/arch/arm32/ofw/ofw.c index 198e53c103d8..55e12f9752e1 100644 --- a/sys/arch/arm32/ofw/ofw.c +++ b/sys/arch/arm32/ofw/ofw.c @@ -1,4 +1,4 @@ -/* $NetBSD: ofw.c,v 1.21 1999/03/24 05:50:56 mrg Exp $ */ +/* $NetBSD: ofw.c,v 1.22 1999/03/29 10:02:19 mycroft Exp $ */ /* * Copyright 1997 @@ -123,7 +123,6 @@ vm_offset_t physical_start; vm_offset_t physical_freestart; vm_offset_t physical_freeend; vm_offset_t physical_end; -int physical_memoryblock; u_int free_pages; int physmem; pv_addr_t systempage; @@ -788,7 +787,7 @@ ofw_configmem(void) int availcnt; int i; - /* physmem, physical_start, physical_end, physical_memoryblock */ + /* physmem, physical_start, physical_end */ physmem = 0; for (totalcnt = 0, mp = OFphysmem; totalcnt < nOFphysmem; totalcnt++, mp++) { @@ -800,7 +799,6 @@ ofw_configmem(void) physical_start = OFphysmem[0].start; mp--; physical_end = mp->start + mp->size; - physical_memoryblock = 0; /* free_pages, physical_freestart, physical_freeend */ free_pages = 0; diff --git a/sys/arch/arm32/rc7500/rc7500_machdep.c b/sys/arch/arm32/rc7500/rc7500_machdep.c index d5ed40de8679..f274aa34ef97 100644 --- a/sys/arch/arm32/rc7500/rc7500_machdep.c +++ b/sys/arch/arm32/rc7500/rc7500_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: rc7500_machdep.c,v 1.22 1999/02/07 09:34:59 jonathan Exp $ */ +/* $NetBSD: rc7500_machdep.c,v 1.23 1999/03/29 10:02:20 mycroft Exp $ */ /* * Copyright (c) 1994-1998 Mark Brinicombe. @@ -109,7 +109,6 @@ vm_offset_t physical_start; vm_offset_t physical_freestart; vm_offset_t physical_freeend; vm_offset_t physical_end; -int physical_memoryblock; u_int free_pages; int physmem = 0; @@ -505,7 +504,6 @@ initarm(prom_id) physical_end = bootconfig.dram[bootconfig.dramblocks - 1].address + bootconfig.dram[bootconfig.dramblocks - 1].pages * NBPG; physical_freeend = physical_end; - physical_memoryblock = 0; free_pages = bootconfig.drampages - reserv_mem / NBPG; bootconfig.dram[0].address += reserv_mem; diff --git a/sys/arch/arm32/riscpc/rpc_machdep.c b/sys/arch/arm32/riscpc/rpc_machdep.c index 043e1e296e51..38f71973951b 100644 --- a/sys/arch/arm32/riscpc/rpc_machdep.c +++ b/sys/arch/arm32/riscpc/rpc_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: rpc_machdep.c,v 1.25 1999/01/03 02:23:27 mark Exp $ */ +/* $NetBSD: rpc_machdep.c,v 1.26 1999/03/29 10:02:20 mycroft Exp $ */ /* * Copyright (c) 1994-1998 Mark Brinicombe. @@ -107,7 +107,6 @@ vm_offset_t physical_start; vm_offset_t physical_freestart; vm_offset_t physical_freeend; vm_offset_t physical_end; -int physical_memoryblock; u_int free_pages; int physmem = 0; @@ -687,7 +686,6 @@ initarm(bootconf) physical_end = bootconfig.dram[bootconfig.dramblocks - 1].address + bootconfig.dram[bootconfig.dramblocks - 1].pages * NBPG; physical_freeend = physical_end; - physical_memoryblock = 0; free_pages = bootconfig.drampages; for (loop = 0; loop < bootconfig.dramblocks; ++loop)