[EMAIL PROTECTED] writes:
> Tried a loop of alloc_init_page() at PAGESIZE
> increaments in setup_pagetables(). This works
> for a limited number of mappings (but not
> for the entire 2*8Meg).
Don't do this.
> Also what does alloc_init_section() do?
Don't use that either.
Add an entry to the mapping tables ("MAPPING" in 2.2, or the io_desc
in 2.3). The routines that scan these tables will then sort out the
page or section mappings as appropriate to achieve your required mapping
at the least cost to the TLB.
PS, this is a kernel question. Please post such questions to the
linux-arm-kernel mailing list, details are on the web site.
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King [EMAIL PROTECTED] --- ---
| | | | http://www.arm.linux.org.uk/ / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++ Please use [EMAIL PROTECTED] for ++
++ kernel-related discussions. ++