Subject: Re: JavaStation1 saga continues
To: None <port-sparc@netbsd.org, uwe@ptc.spbu.ru>
From: None <eeh@netbsd.org>
List: port-sparc
Date: 04/19/2001 15:51:15
On Thu, Apr 19, 2001 at 15:23:11 -0000, eeh@netbsd.org wrote:
> > > You may be able to put the kernel heap and I/O areas above the PROM,
> >
> > That's what I currently do. KERNBASE is at E8000000 (used to be at
> > region EF, but I moved again because of assumed alignment problems; I
> > haven't booted the new region E8 kernel though).
>
> You shouldn't have alignment problems at EF000000.
I do ;-). Check the message I sent in the morning. Kernel get
alignment fault in pmap_create when it calls qzero. The alignment
problem is that for EF-based kernel both NKREG and NUREG are not
evenly divided by 8 (both are prime, actually :) and so qzero cannot
be safely called for nbytes = N[KU]REG * something. I don't want to
hunt subtle assumptions like this throught the tree.
You could always s/qzero/bzero/ and be done with it.
Eduardo