Subject: Re: JavaStation1 saga continues
To: None <port-sparc@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: port-sparc
Date: 04/19/2001 17:07:10
On Thu, Apr 19, 2001 at 05:22:15 -0000, eeh@netbsd.org wrote:

> > > 1) Put the kernel below F0000000.  This will severly limit both
> > >    the size of the kernel and userspace.
> >
> > Can you give me a hint why?
> 
> Then the OBP would be entirely within kernel space.  The kernel
> and userland would both have to reside below F0000000.

Ah, I see where I misunderstood you.


> 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).

Then in pmap_bootstrap4m I just do:

#if 0 /* uwe: original code */
        virtual_avail = (vaddr_t)p;
#else /* uwe: XXX: skip OpenFirmware on MRCOFFEE */
        virtual_avail = (vaddr_t)0xf0080000;
#endif
        virtual_end = VM_MAX_KERNEL_ADDRESS;


> but that may require twiddling memory maps.

Will it?


SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen