Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 Cometic change; keep the code to process ...
details: https://anonhg.NetBSD.org/src/rev/48ac83861782
branches: trunk
changeset: 499065:48ac83861782
user: enami <enami%NetBSD.org@localhost>
date: Fri Nov 10 04:00:25 2000 +0000
description:
Cometic change; keep the code to process a second hunk closer to the first one.
diffstat:
sys/arch/i386/i386/machdep.c | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diffs (36 lines):
diff -r 550b91973626 -r 48ac83861782 sys/arch/i386/i386/machdep.c
--- a/sys/arch/i386/i386/machdep.c Fri Nov 10 03:58:15 2000 +0000
+++ b/sys/arch/i386/i386/machdep.c Fri Nov 10 04:00:25 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.411 2000/11/10 03:58:15 enami Exp $ */
+/* $NetBSD: machdep.c,v 1.412 2000/11/10 04:00:25 enami Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2000 The NetBSD Foundation, Inc.
@@ -2050,17 +2050,18 @@
atop(tmp), atop(seg_start1),
atop(tmp), first16q);
seg_start1 = tmp;
- if (seg_start1 == seg_end1)
- continue;
}
+
+ if (seg_start1 != seg_end1) {
#if DEBUG_MEMLOAD
- printf("loading 0x%qx-0x%qx (0x%lx-0x%lx)\n",
- seg_start1, seg_end1,
- atop(seg_start1), atop(seg_end1));
+ printf("loading 0x%qx-0x%qx (0x%lx-0x%lx)\n",
+ seg_start1, seg_end1,
+ atop(seg_start1), atop(seg_end1));
#endif
- uvm_page_physload(atop(seg_start1), atop(seg_end1),
- atop(seg_start1), atop(seg_end1),
- VM_FREELIST_DEFAULT);
+ uvm_page_physload(atop(seg_start1),
+ atop(seg_end1), atop(seg_start1),
+ atop(seg_end1), VM_FREELIST_DEFAULT);
+ }
}
}
Home |
Main Index |
Thread Index |
Old Index