Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm32 GC physical_memoryblock.
details: https://anonhg.NetBSD.org/src/rev/31d925f64a26
branches: trunk
changeset: 467792:31d925f64a26
user: mycroft <mycroft%NetBSD.org@localhost>
date: Mon Mar 29 10:02:19 1999 +0000
description:
GC physical_memoryblock.
diffstat:
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(-)
diffs (126 lines):
diff -r 85af81cadcdd -r 31d925f64a26 sys/arch/arm32/arm32/pmap.c
--- a/sys/arch/arm32/arm32/pmap.c Mon Mar 29 10:01:39 1999 +0000
+++ b/sys/arch/arm32/arm32/pmap.c Mon Mar 29 10:02:19 1999 +0000
@@ -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_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 -r 85af81cadcdd -r 31d925f64a26 sys/arch/arm32/footbridge/ebsa285_machdep.c
--- a/sys/arch/arm32/footbridge/ebsa285_machdep.c Mon Mar 29 10:01:39 1999 +0000
+++ b/sys/arch/arm32/footbridge/ebsa285_machdep.c Mon Mar 29 10:02:19 1999 +0000
@@ -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_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 @@
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 -r 85af81cadcdd -r 31d925f64a26 sys/arch/arm32/ofw/ofw.c
--- a/sys/arch/arm32/ofw/ofw.c Mon Mar 29 10:01:39 1999 +0000
+++ b/sys/arch/arm32/ofw/ofw.c Mon Mar 29 10:02:19 1999 +0000
@@ -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_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 @@
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 @@
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 -r 85af81cadcdd -r 31d925f64a26 sys/arch/arm32/rc7500/rc7500_machdep.c
--- a/sys/arch/arm32/rc7500/rc7500_machdep.c Mon Mar 29 10:01:39 1999 +0000
+++ b/sys/arch/arm32/rc7500/rc7500_machdep.c Mon Mar 29 10:02:19 1999 +0000
@@ -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_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 @@
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 -r 85af81cadcdd -r 31d925f64a26 sys/arch/arm32/riscpc/rpc_machdep.c
--- a/sys/arch/arm32/riscpc/rpc_machdep.c Mon Mar 29 10:01:39 1999 +0000
+++ b/sys/arch/arm32/riscpc/rpc_machdep.c Mon Mar 29 10:02:19 1999 +0000
@@ -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_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 @@
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)
Home |
Main Index |
Thread Index |
Old Index