Subject: Re: CVS commit: syssrc
To: None <Aymeric.Vincent@labri.u-bordeaux.fr>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: source-changes
Date: 01/13/2001 19:35:30
In <87lmsfoimm.fsf@phantom.labri.u-bordeaux.fr>
Aymeric.Vincent@labri.u-bordeaux.fr wrote:

> Jason changed PAGE_SIZE into constants on Nov, 14th and it looks like
> PAGE_SIZE is 8K on the Amiga (see amiga/include/vmparam.h).
> 
> I just made the amiga port compile again yesterday, and trying to
> write a value into a constant looked like a bad thing. ;) I didn't
> look thoroughly at the issue.

Actually PAGE_SIZE is now constant, but I think it is used for
reference. uvmexp.pagesize is still used in UVM so

        RELOC(uvmexp.pagesize, u_int)  = NBPG;

is needed as before, isn't it?

BTW, does amiga port call uvm_setpagesize()?
If not, other values (pageshift, pagemask) should
also be initialized.
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp