Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pmap_bootstrap and mem_regions



On Fri, Feb 12, 2010 at 04:56:37PM +0100, Frank Wille wrote:
> On Fri, 12 Feb 2010 16:17:49 +0100
> Ignatios Souvatzis <is%netbsd.org@localhost> wrote:
> 
> > > So I would like to use the BAT-mapping in initppc() to translate
> > > each configuration to a fixed mem_region start and kernel start
> > > address of 0x10000000. Would that be possible?
> > 
> > Why doesn't your bootloader derice the memory address from the
> > Exec mem lists?
> 
> Reading the mem list doesn't help, because when compiling a kernel I have
> to select its start address (TEXTADDR in std.amigappc). There is no address 
> which fits for both, CSPPC and BPPC.
> 
> So I thought about enabling the MMU early and/or doing some relocation
> tricks as in port-amiga. But in the mean time I realized this cannot be
> done.

Uh, it can, if you add a relocation list to the kernel. I've a concept
paper written up somewhere, I'll send it to you.

Hm, when I find it, I'll probably also find what people told me about
the BPPC-memory regions.

Regards,
        -is
-- 
seal your e-mail: http://www.gnupg.org/


Home | Main Index | Thread Index | Old Index