Home | History | Annotate | Download | only in ofwboot
History log of /src/sys/arch/sparc/stand/ofwboot/boot.h
RevisionDateAuthorComments
 1.11  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.10  20-Feb-2014  joerg Add prototype for main.
 1.9  01-Jun-2011  tsutsui branches: 1.9.4; 1.9.14; 1.9.18;
- remove extern from function declarations
- some KNF
 1.8  19-May-2011  hauke Fix a tyop.
The intentions were good...
 1.7  19-May-2011  christos handle prototype for freeall
 1.6  22-Jan-2011  joerg Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh. Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
 1.5  28-Apr-2008  martin branches: 1.5.22; 1.5.28; 1.5.30;
Remove clause 3 and 4 from TNF licenses
 1.4  17-Oct-2007  garbled branches: 1.4.16; 1.4.18; 1.4.20;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.3  16-Sep-2007  martin Change "Boot:" prompt option parsing to be more in line with the default
(no prompt) behaviour - it is now possible to "boot net:dhcp -a" and then
say "disk" at the "Boot:" prompt - result should be equivalent to "boot disk",
but the ofwboot was loaded from the network.
While there fix a few minor errors, and one significant: if the "a" partition
should not start at the beginning of the disk, the previous code failed
to read a disklabel. Use the "c" partition now to find the disklabel now
always.
 1.2  05-Jun-2007  martin branches: 1.2.8; 1.2.10;
Use the new loadfile() marker MARK_DATA to optimize the loaded kernel
mappings before calling the entry point - change text mappings to read
only and only insert those into the iTLB.
While there remove a few magic constants by information queried from
the firmware.
 1.1  27-Jan-2006  cdi branches: 1.1.4; 1.1.18; 1.1.32; 1.1.34; 1.1.40;
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.40.2  03-Oct-2007  garbled Sync with HEAD
 1.1.40.1  26-Jun-2007  garbled Sync with HEAD.
 1.1.34.1  11-Jul-2007  mjf Sync with head.
 1.1.32.2  09-Oct-2007  ad Sync with head.
 1.1.32.1  09-Jun-2007  ad Sync with head.
 1.1.18.4  27-Oct-2007  yamt sync with head.
 1.1.18.3  03-Sep-2007  yamt sync with head.
 1.1.18.2  21-Jun-2006  yamt sync with head.
 1.1.18.1  27-Jan-2006  yamt file boot.h was added on branch yamt-lazymbuf on 2006-06-21 14:56:40 +0000
 1.1.4.2  01-Feb-2006  yamt sync with head.
 1.1.4.1  27-Jan-2006  yamt file boot.h was added on branch yamt-uio_vmspace on 2006-02-01 14:51:37 +0000
 1.2.10.1  06-Nov-2007  matt sync with HEAD
 1.2.8.1  02-Oct-2007  joerg Sync with HEAD.
 1.4.20.1  16-May-2008  yamt sync with head.
 1.4.18.1  18-May-2008  yamt sync with head.
 1.4.16.1  02-Jun-2008  mjf Sync with HEAD.
 1.5.30.1  08-Feb-2011  bouyer Sync with HEAD
 1.5.28.1  06-Jun-2011  jruoho Sync with HEAD.
 1.5.22.3  12-Jun-2011  rmind sync with head
 1.5.22.2  31-May-2011  rmind sync with head
 1.5.22.1  05-Mar-2011  rmind sync with head
 1.9.18.1  18-May-2014  rmind sync with head
 1.9.14.2  03-Dec-2017  jdolecek update from HEAD
 1.9.14.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.9.4.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed