Home | History | Annotate | Download | only in ofwboot
History log of /src/sys/arch/sparc/stand/ofwboot/openfirm.h
RevisionDateAuthorComments
 1.6  15-Sep-2017  martin Add more details about the boot device as a new bootinfo record type.
From within the bootloader, when we have readily accessible instance
handles of the boot device, it is easy to query more details like SCSI
LUN, target, and FC-AL wwn from the firmware.
The kernel later would have a hard time getting theses, but can make good
use to match the boot device.
 1.5  21-May-2011  tsutsui branches: 1.5.14;
WARNSfy and fix dumb bugs noticed by warnings.
 1.4  18-May-2009  nakayama branches: 1.4.4; 1.4.6;
Make ofwboot can handle over 4GB physical memory by using OpenFirmware
calls properly, and some cosmetic changes. Idea from OpenBSD.
 1.3  13-Jul-2006  uwe branches: 1.3.62; 1.3.72; 1.3.82; 1.3.86;
De-__P. ANSIify.

Same object code is generated (except in prf.c, where putchar argument
type was changed to int to match the prototype and one instrcution
changes accordingly).

strategy() in ofdev.c was not ANSIified in this sweep, b/c that
changes code generated at call sites!
 1.2  27-Jan-2006  cdi branches: 1.2.2; 1.2.6;
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.
 1.1  20-Aug-2000  mrg branches: 1.1.2; 1.1.4; 1.1.44; 1.1.56;
move ofwboot & bootblk here; add a Makefile to build ofwboot.net
 1.1.56.1  01-Feb-2006  yamt sync with head.
 1.1.44.2  30-Dec-2006  yamt sync with head.
 1.1.44.1  21-Jun-2006  yamt sync with head.
 1.1.4.2  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.1.4.1  20-Aug-2000  bouyer file openfirm.h was added on branch thorpej_scsipi on 2000-11-20 20:25:51 +0000
 1.1.2.2  26-Aug-2000  mrg move these from arch/sparc64/stand; approved by thorpej.
 1.1.2.1  20-Aug-2000  mrg file openfirm.h was added on branch netbsd-1-5 on 2000-08-26 00:05:19 +0000
 1.2.6.1  11-Aug-2006  yamt sync with head
 1.2.2.1  09-Sep-2006  rpaulo sync with head
 1.3.86.1  26-Apr-2015  msaitoh Pullup another commit for ticket #1958 requested by martin:

sys/arch/sparc/include/openfirm.h 1.7
sys/arch/sparc/stand/ofwboot/Locore.c 1.11
sys/arch/sparc/stand/ofwboot/loadfile_machdep.c 1.7
sys/arch/sparc/stand/ofwboot/openfirm.h 1.4

Make ofwboot can handle over 4GB physical memory by using OpenFirmware
calls properly, and some cosmetic changes. Idea from OpenBSD.
 1.3.82.1  26-Apr-2015  msaitoh Pullup another commit for ticket #1958 requested by martin:

sys/arch/sparc/include/openfirm.h 1.7
sys/arch/sparc/stand/ofwboot/Locore.c 1.11
sys/arch/sparc/stand/ofwboot/loadfile_machdep.c 1.7
sys/arch/sparc/stand/ofwboot/openfirm.h 1.4

Make ofwboot can handle over 4GB physical memory by using OpenFirmware
calls properly, and some cosmetic changes. Idea from OpenBSD.
 1.3.72.1  19-Apr-2015  msaitoh Pullup another commit for ticket #1958 requested by martin:

sys/arch/sparc/include/openfirm.h 1.7
sys/arch/sparc/stand/ofwboot/Locore.c 1.11
sys/arch/sparc/stand/ofwboot/loadfile_machdep.c 1.7
sys/arch/sparc/stand/ofwboot/openfirm.h 1.4

Make ofwboot can handle over 4GB physical memory by using OpenFirmware
calls properly, and some cosmetic changes. Idea from OpenBSD.
 1.3.62.1  20-Jun-2009  yamt sync with head
 1.4.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.4.4.1  31-May-2011  rmind sync with head
 1.5.14.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed