Date: Sun, 26 Jun 2005 22:03:14 GMT From: Paul Saab <ps@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 79018 for review Message-ID: <200506262203.j5QM3EEI002057@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=79018 Change 79018 by ps@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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506262203.j5QM3EEI002057>