History log of /src/sys/arch/sparc/stand/ofwboot/Locore.c |
Revision | | Date | Author | Comments |
1.17 |
| 14-May-2022 |
hgutch | PR 56829: Fix "map" call to Open Firmware and no longer mess up OFW stack. This unbreaks miniroot.fs.
Thanks to Björn Johannesson for originally pointing this out and to mrg@ for pointing out the actual issue and suggesting a fix.
|
1.16 |
| 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.15 |
| 10-Oct-2015 |
martin | Add compile time asserts to make sure we have properly picked up types for a 64bit cpu and 64bit openfirmware.
|
1.14 |
| 27-Mar-2015 |
nakayama | Fix kernel loading failures from partitions started from over first 4GB of disks on sparc64.
|
1.13 |
| 18-Dec-2013 |
martin | branches: 1.13.4; 1.13.6; The "close" call returns no arguments
|
1.12 |
| 21-May-2011 |
tsutsui | branches: 1.12.4; 1.12.10; 1.12.14; 1.12.16; 1.12.18; 1.12.24; WARNSfy and fix dumb bugs noticed by warnings.
|
1.11 |
| 18-May-2009 |
nakayama | branches: 1.11.4; 1.11.6; Make ofwboot can handle over 4GB physical memory by using OpenFirmware calls properly, and some cosmetic changes. Idea from OpenBSD.
|
1.10 |
| 17-Oct-2007 |
garbled | branches: 1.10.20; 1.10.30; 1.10.40; 1.10.44; 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.9 |
| 19-Sep-2007 |
martin | Some aliases (like "cdrom") expand to a path that includes a partition - deal with them.
|
1.8 |
| 13-Jul-2006 |
uwe | branches: 1.8.14; 1.8.22; 1.8.32; 1.8.34; 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.7 |
| 27-Jan-2006 |
cdi | branches: 1.7.2; 1.7.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.6 |
| 11-Dec-2005 |
christos | branches: 1.6.2; merge ktrace-lwp.
|
1.5 |
| 01-Jun-2005 |
martin | branches: 1.5.2; Adapt to constification
|
1.4 |
| 16-Jan-2005 |
chs | remove some dead code, simplify and wrap some long lines.
|
1.3 |
| 27-Sep-2002 |
provos | branches: 1.3.6; 1.3.14; remove trailing \n in panic(). approved perry.
|
1.2 |
| 06-Jun-2002 |
martin | Follow changes in libsa/stand.h: exit(void) -> exit(int) (one in a #if 0 block), to make it compile again.
|
1.1 |
| 20-Aug-2000 |
mrg | branches: 1.1.2; 1.1.4; 1.1.8; 1.1.12; 1.1.20; move ofwboot & bootblk here; add a Makefile to build ofwboot.net
|
1.1.20.1 |
| 15-Jul-2002 |
gehenna | catch up with -current.
|
1.1.12.2 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.1.12.1 |
| 20-Jun-2002 |
nathanw | Catch up to -current.
|
1.1.8.2 |
| 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
1.1.8.1 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
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 Locore.c was added on branch thorpej_scsipi on 2000-11-20 20:25:50 +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 Locore.c was added on branch netbsd-1-5 on 2000-08-26 00:05:15 +0000
|
1.3.14.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.3.6.2 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.3.6.1 |
| 17-Jan-2005 |
skrll | Sync with HEAD.
|
1.5.2.3 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.5.2.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.5.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.6.2.1 |
| 01-Feb-2006 |
yamt | sync with head.
|
1.7.6.1 |
| 11-Aug-2006 |
yamt | sync with head
|
1.7.2.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.8.34.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.8.32.1 |
| 02-Oct-2007 |
joerg | Sync with HEAD.
|
1.8.22.1 |
| 03-Oct-2007 |
garbled | Sync with HEAD
|
1.8.14.1 |
| 09-Oct-2007 |
ad | Sync with head.
|
1.10.44.2 |
| 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.10.44.1 |
| 17-Apr-2015 |
msaitoh | Pull up following revision(s) (requested by nakayama in ticket #1958): sys/arch/sparc/stand/ofwboot/Locore.c: revision 1.14 Fix kernel loading failures from partitions started from over first 4GB of disks on sparc64.
|
1.10.40.2 |
| 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.10.40.1 |
| 17-Apr-2015 |
msaitoh | Pull up following revision(s) (requested by nakayama in ticket #1958): sys/arch/sparc/stand/ofwboot/Locore.c: revision 1.14 Fix kernel loading failures from partitions started from over first 4GB of disks on sparc64.
|
1.10.30.2 |
| 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.10.30.1 |
| 17-Apr-2015 |
msaitoh | Pull up following revision(s) (requested by nakayama in ticket #1958): sys/arch/sparc/stand/ofwboot/Locore.c: revision 1.14 Fix kernel loading failures from partitions started from over first 4GB of disks on sparc64.
|
1.10.20.1 |
| 20-Jun-2009 |
yamt | sync with head
|
1.11.6.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.11.4.1 |
| 31-May-2011 |
rmind | sync with head
|
1.12.24.1 |
| 16-Apr-2015 |
msaitoh | Pull up following revision(s) (requested by nakayama in ticket #1285): sys/arch/sparc/stand/ofwboot/Locore.c: revision 1.14 Fix kernel loading failures from partitions started from over first 4GB of disks on sparc64.
|
1.12.18.1 |
| 18-May-2014 |
rmind | sync with head
|
1.12.16.1 |
| 16-Apr-2015 |
msaitoh | Pull up following revision(s) (requested by nakayama in ticket #1285): sys/arch/sparc/stand/ofwboot/Locore.c: revision 1.14 Fix kernel loading failures from partitions started from over first 4GB of disks on sparc64.
|
1.12.14.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.12.14.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.12.10.1 |
| 16-Apr-2015 |
msaitoh | Pull up following revision(s) (requested by nakayama in ticket #1285): sys/arch/sparc/stand/ofwboot/Locore.c: revision 1.14 Fix kernel loading failures from partitions started from over first 4GB of disks on sparc64.
|
1.12.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")
|
1.13.6.2 |
| 27-Dec-2015 |
skrll | Sync with HEAD (as of 26th Dec)
|
1.13.6.1 |
| 06-Apr-2015 |
skrll | Sync with HEAD
|
1.13.4.1 |
| 29-Mar-2015 |
martin | Pull up following revision(s) (requested by nakayama in ticket #649): sys/arch/sparc/sparc/openfirm.c: revision 1.20 sys/arch/sparc/include/openfirm.h: revision 1.8 sys/arch/sparc/stand/ofwboot/Locore.c: revision 1.14 Fix kernel loading failures from partitions started from over first 4GB of disks on sparc64. Sync sparc64 kernel's OF_seek with ofwboot's one, but sparc version is not changed.
|