Subject: Re: Map kernel as sections
To: None <rjs@fdy2.demon.co.uk>
From: John Fremlin <vii@users.sourceforge.net>
List: port-arm
Date: 06/04/2001 14:16:44
Robert Swindells <swindellsr@genrad.com> writes:

> I works because the kernel is aligned to 1MB boundaries in both
> virtual and physical memory.

I found a bug, explained by saying that the kernel load addresses for
arm32 people were not aligned on a l1 boundary, so that the pmap
section code was not tested. I shouldn't have been coding so late.

> Why not describe the VM layout that you are implementing along with
> the physical memory map. 

My trouble is that I rewrote rpc_machdep.c :-)

My version is about half the size, and it appears that the reason for
that is my ommission to undertake certain necessary things.

> I'm sure we can suggest some things to try.

Currently my big problem is not understanding the kernel_ptpt
business. It is a sort of array of the addresses to pagetables (?) 
that sometimes is treated as a pagetable (?).

Then pmap_pte does not return the pte at all but the pagetable (or am
I barking up the wrong tree?)

-- 

	http://ape.n3.net