Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mac68k/mac68k Turn avail_next, avail_range, and ava...



details:   https://anonhg.NetBSD.org/src/rev/235a88cfcd9e
branches:  trunk
changeset: 471666:235a88cfcd9e
user:      scottr <scottr%NetBSD.org@localhost>
date:      Wed Apr 07 06:14:33 1999 +0000

description:
Turn avail_next, avail_range, and avail_remaining into local variables.  Also,
change vm_size_t -> vsize_t.

diffstat:

 sys/arch/mac68k/mac68k/pmap_bootstrap.c |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r c58af05d0fca -r 235a88cfcd9e sys/arch/mac68k/mac68k/pmap_bootstrap.c
--- a/sys/arch/mac68k/mac68k/pmap_bootstrap.c   Wed Apr 07 06:07:59 1999 +0000
+++ b/sys/arch/mac68k/mac68k/pmap_bootstrap.c   Wed Apr 07 06:14:33 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_bootstrap.c,v 1.49 1999/03/27 05:19:34 briggs Exp $       */
+/*     $NetBSD: pmap_bootstrap.c,v 1.50 1999/04/07 06:14:33 scottr Exp $       */
 
 /* 
  * Copyright (c) 1991, 1993
@@ -68,10 +68,10 @@
 extern pt_entry_t *Sysptmap, *Sysmap;
 
 extern int physmem;
-extern int avail_remaining, avail_range, avail_end;
-extern paddr_t avail_start, avail_next;
+extern paddr_t avail_start;
+extern paddr_t avail_end;
 extern vaddr_t virtual_avail, virtual_end;
-extern vm_size_t mem_size;
+extern vsize_t mem_size;
 extern int protection_codes[];
 
 #if NZSC > 0
@@ -126,6 +126,9 @@
 {
        paddr_t kstpa, kptpa, vidpa, iiopa, rompa, kptmpa, lkptpa, p0upa;
        u_int nptpages, kstsize;
+       paddr_t avail_next;
+       int avail_remaining;
+       int avail_range;
        int i;
        st_entry_t protoste, *ste;
        pt_entry_t protopte, *pte, *epte;



Home | Main Index | Thread Index | Old Index