Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/arch/x68k/x68k pullup 1.64->1.65 (minoura)
details: https://anonhg.NetBSD.org/src/rev/a2f42ccac947
branches: netbsd-1-4
changeset: 468817:a2f42ccac947
user: perry <perry%NetBSD.org@localhost>
date: Mon Jun 21 16:16:20 1999 +0000
description:
pullup 1.64->1.65 (minoura)
diffstat:
sys/arch/x68k/x68k/machdep.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r 457e6354048b -r a2f42ccac947 sys/arch/x68k/x68k/machdep.c
--- a/sys/arch/x68k/x68k/machdep.c Mon Jun 21 15:27:37 1999 +0000
+++ b/sys/arch/x68k/x68k/machdep.c Mon Jun 21 16:16:20 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.60.2.2 1999/06/21 13:51:18 perry Exp $ */
+/* $NetBSD: machdep.c,v 1.60.2.3 1999/06/21 16:16:20 perry Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -1387,6 +1387,7 @@
{
int i;
psize_t s, min, max;
+ int basemax = ctob(physmem);
struct memlist *mlist = memlist;
u_long h;
@@ -1423,12 +1424,12 @@
* But some type of extended memory is in 32bit address space.
* Check whether.
*/
- if (!mem_exists(mlist[i].base, avail_end))
+ if (!mem_exists(mlist[i].base, basemax))
continue;
h = 0;
/* range check */
for (s = min; s <= max; s += 0x00100000) {
- if (!mem_exists(mlist[i].base + s - 4, h))
+ if (!mem_exists(mlist[i].base + s - 4, basemax))
break;
h = (u_long)(mlist[i].base + s);
}
Home |
Main Index |
Thread Index |
Old Index