Subject: PAGE_SIZE in pmap_bootstrap...
To: None <netbsd-ports@sun-lamp.CS.Berkeley.EDU>
From: Chris G. Demetriou <cgd@postgres.Berkeley.EDU>
List: netbsd-ports
Date: 04/17/1994 20:32:48
[this pointed out by allen briggs...]

don't use PAGE_SIZE in pmap_bootstrap() -- when pmap_bootstrap() is
called, it's not yet been initialized...

use either DEFAULT_PAGE_SIZE, which it'll probably be initted to
later, or hard code a number, or something.  fact is, most of the pmap
routines you have won't deal with it right if the vm page size !=
the machine page size, anyway...

see also the recent mac68k pmap.c change.



chris

------------------------------------------------------------------------------