Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: syssrc/sys/arch/powerpc
In article <20020403001209.15309B004%cvs.netbsd.org@localhost>
matt%netbsd.org@localhost wrote:
> Modified Files:
> syssrc/sys/arch/powerpc/mpc6xx: pmap.c
> Log Message:
> Round
> memory regions in pmap_bootstrap.
In this commit,
> mp->start = round_page(mp->start);
> mp->size = trunc_page(mp->size);
> s = mp->start;
> e = mp->start + mp->size;
:
> if (e > kernelend) {
> avail[avail_cnt].start = kernelend;
> avail[avail_cnt].size = e - kernelend;
> avail_cnt++;
> }
if mp->start is not page-aligned and mp->size is aligned,
avail[].size would be updated incorrectly.
---
Izumi Tsutsui
tsutsui%ceres.dti.ne.jp@localhost
Home |
Main Index |
Thread Index |
Old Index