Subject: CVS commit: src/sys/arch/sparc64
To: None <source-changes@NetBSD.org>
From: Dennis Chernoivanov <cdi@netbsd.org>
List: source-changes
Date: 01/27/2006 18:37:50
Module Name: src
Committed By: cdi
Date: Fri Jan 27 18:37:50 UTC 2006
Modified Files:
src/sys/arch/sparc64/include: autoconf.h bootinfo.h cpu.h
loadfile_machdep.h pmap.h vmparam.h
src/sys/arch/sparc64/sparc64: autoconf.c cpu.c db_interface.c
genassym.cf locore.s machdep.c pmap.c
Log Message:
Alter sparc64 bootstrap, catch up to ofwboot v1.9:
- Accept bootinfo structure passed down from ofwboot v1.9
- Drop kernel re-mapping code
- Use permanent 4MB mappings provided by the loader instead
- Change kernel entry address to point directly at the code instead of pointing
at the trap table's first slot. This allows the bootloader to detect
those kernels which are aware of the new boot scheme
- Due to the changes in kernel mapping code, alter secondary CPU bootstrap
code to use trampoline just like FreeBSD does (some FreeBSD code is used
here as well)
To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 src/sys/arch/sparc64/include/autoconf.h
cvs rdiff -r1.1 -r1.2 src/sys/arch/sparc64/include/bootinfo.h \
src/sys/arch/sparc64/include/loadfile_machdep.h
cvs rdiff -r1.50 -r1.51 src/sys/arch/sparc64/include/cpu.h
cvs rdiff -r1.34 -r1.35 src/sys/arch/sparc64/include/pmap.h
cvs rdiff -r1.28 -r1.29 src/sys/arch/sparc64/include/vmparam.h
cvs rdiff -r1.106 -r1.107 src/sys/arch/sparc64/sparc64/autoconf.c
cvs rdiff -r1.43 -r1.44 src/sys/arch/sparc64/sparc64/cpu.c
cvs rdiff -r1.83 -r1.84 src/sys/arch/sparc64/sparc64/db_interface.c
cvs rdiff -r1.39 -r1.40 src/sys/arch/sparc64/sparc64/genassym.cf
cvs rdiff -r1.208 -r1.209 src/sys/arch/sparc64/sparc64/locore.s
cvs rdiff -r1.183 -r1.184 src/sys/arch/sparc64/sparc64/machdep.c
cvs rdiff -r1.167 -r1.168 src/sys/arch/sparc64/sparc64/pmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.