Subject: PR/25763 CVS commit: src/sys/arch/sparc/stand/ofwboot
To: None <martin@netbsd.org, gnats-admin@netbsd.org,>
From: Dennis Chernoivanov <cdi@netbsd.org>
List: netbsd-bugs
Date: 01/27/2006 18:35:02
The following reply was made to PR port-sparc64/25763; it has been noted by GNATS.
From: Dennis Chernoivanov <cdi@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/25763 CVS commit: src/sys/arch/sparc/stand/ofwboot
Date: Fri, 27 Jan 2006 18:31:12 +0000 (UTC)
Module Name: src
Committed By: cdi
Date: Fri Jan 27 18:31:12 UTC 2006
Modified Files:
src/sys/arch/sparc/stand/ofwboot: Locore.c Makefile boot.c netif_of.c
ofdev.c openfirm.h srt0.s version
Added Files:
src/sys/arch/sparc/stand/ofwboot: boot.h bootinfo.c loadfile_machdep.c
prf.c promlib.c
Removed Files:
src/sys/arch/sparc/stand/ofwboot: elfXX_exec.c
Log Message:
Alter sparc64 bootstrap:
- Map kernel with permanent 4MB pages to ease kernel's life
- Pass mappings down to the kernel as part of bootinfo structure
- Try to detect whether kernel is aware of the new boot scheme or not and
in the former case map the kernel using OpenFirmware and do not pass
bootinfo structure
- Provide -C switch to force compatibility mode if autodetection fails
- While on this, fix PR #25763: If load of default kernel fails, try one by
one those specified in compiled-in list
Much inspired by the bootloader of FreeBSD, with some imported code from there.
To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/sys/arch/sparc/stand/ofwboot/Locore.c
cvs rdiff -r1.17 -r1.18 src/sys/arch/sparc/stand/ofwboot/Makefile
cvs rdiff -r1.11 -r1.12 src/sys/arch/sparc/stand/ofwboot/boot.c
cvs rdiff -r0 -r1.1 src/sys/arch/sparc/stand/ofwboot/boot.h \
src/sys/arch/sparc/stand/ofwboot/bootinfo.c \
src/sys/arch/sparc/stand/ofwboot/loadfile_machdep.c \
src/sys/arch/sparc/stand/ofwboot/prf.c \
src/sys/arch/sparc/stand/ofwboot/promlib.c
cvs rdiff -r1.8 -r0 src/sys/arch/sparc/stand/ofwboot/elfXX_exec.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/sparc/stand/ofwboot/netif_of.c \
src/sys/arch/sparc/stand/ofwboot/srt0.s
cvs rdiff -r1.9 -r1.10 src/sys/arch/sparc/stand/ofwboot/ofdev.c
cvs rdiff -r1.1 -r1.2 src/sys/arch/sparc/stand/ofwboot/openfirm.h
cvs rdiff -r1.10 -r1.11 src/sys/arch/sparc/stand/ofwboot/version
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.