Subject: CVS commit: src/sys/arch/amiga/amiga
To: None <source-changes@netbsd.org>
From: Aymeric Vincent <aymeric@netbsd.org>
List: source-changes
Date: 01/11/2003 12:47:10
Module Name:	src
Committed By:	aymeric
Date:		Sat Jan 11 10:47:09 UTC 2003

Modified Files:
	src/sys/arch/amiga/amiga: amiga_init.c locore.s

Log Message:
Change the bootstrap procedure to avoid temporarily mapping physical memory.

Now, on the Amiga, we copy a small piece of code to chip memory and enable the
MMU from here.
On the DraCo, we setup %itt0 so that we shadow physical memory without
touching the page tables and very temporarily. The DraCo's memory layout
guarantees that there is no overlap in this case between physical and
virtual addresses.

This fixes a bug where Amiga's with physical memory at 0x200000 wouldn't boot
kernels >2M in size, and possibly other corner cases.

Joint work with Ilpo Ruotsalainen and Ignatios Souvatzis.


To generate a diff of this commit:
cvs rdiff -r1.82 -r1.83 src/sys/arch/amiga/amiga/amiga_init.c
cvs rdiff -r1.132 -r1.133 src/sys/arch/amiga/amiga/locore.s

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.