PERFORCE change 79018 for review
Paul Saab
ps at FreeBSD.org
Sun Jun 26 22:03:15 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=79018
Change 79018 by ps at butter.corp on 2005/06/26 22:02:54
Don't include page zero in dump_avail. We can add a hack
in dump_machdep to include this easier than dealing with
it here.
Also, make this compile.
Affected files ...
.. //depot/projects/hammer/sys/i386/i386/machdep.c#54 edit
Differences ...
==== //depot/projects/hammer/sys/i386/i386/machdep.c#54 (text+ko) ====
@@ -1871,8 +1871,11 @@
*/
physmap[0] = PAGE_SIZE; /* mask off page 0 */
pa_indx = 0;
+ da_indx = 0;
phys_avail[pa_indx++] = physmap[0];
phys_avail[pa_indx] = physmap[0];
+ dump_avail[da_indx++] = physmap[0];
+ dump_avail[da_indx] = physmap[0];
pte = CMAP1;
/*
@@ -2003,7 +2006,7 @@
dump_avail[da_indx++] = pa; /* start */
dump_avail[da_indx] = pa + PAGE_SIZE; /* end */
}
-do_next;
+do_next:
if (full)
break;
}
More information about the p4-projects
mailing list