GC physical_memoryblock.
This commit is contained in:
parent
6a228da053
commit
665b05efd4
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue