Kip Macy
0209c79363
add sun4v support to the sparc64 boot loader
...
Approved by: rwatson (mentor)
Reviewed by: jmg
Tested by: kris, dwhite, and jmg
2006-10-09 04:43:07 +00:00
Warner Losh
6a0fd84b50
Start each of the license/copyright comments with /*-
2005-01-05 22:16:58 +00:00
Ken Smith
a6406834da
Back out v1.24. v1.40 of sys/sparc64/sparc64/bus_machdep.c fixes the
...
problem this hack was put in place for.
MFC to be done if the fix to bus_machdep.c is MFC-ed.
2004-09-08 12:52:45 +00:00
Ken Smith
7a4cf071fc
Temporary bandaid to help sparc64 systems with ATA disks boot. Recent
...
changes to the ATA driver cause a kernel crash, no fault of the ATA
code. Work is in progress to add the necessary feature to the sparc64
kernel and this commit will be backed out when it is complete. This
bandaid is being put in mostly in the interests of getting the first
release snapshot done and out the door.
Tested on: Ultra-10 exhibiting the insta-panic.
MFC: Real Soon
2004-08-19 20:13:31 +00:00
Marius Strobl
39513fa664
Instead of "OpenFirmware", "openfirmware", etc. use the official spelling
...
"Open Firmware" from IEEE 1275 and OpenFirmware.org (no pun intended).
Ok'ed by: tmm
2004-08-16 15:45:27 +00:00
David E. O'Brien
bd506e2a3a
Convert to __FBSDID.
2004-01-04 23:21:18 +00:00
Thomas Moestl
07a41f740a
NFS support should be conditional on LOADER_NFS_SUPPORT, not
...
LOADER_NET_SUPPORT.
2003-07-11 16:12:50 +00:00
Jake Burkholder
caa4756af5
Remember to release the loader's heap.
...
Reviewed by: tmm
2003-06-15 19:16:43 +00:00
Peter Wemm
ec4eecb60b
Commit a missed change to keep in sync with the MI elf loader.
2003-05-01 04:39:22 +00:00
Jake Burkholder
7c6c018c0c
Renamed the loader's zipfs to gzipfs. zipfs.c was repo-copied to gzipfs.c.
2002-12-19 19:34:59 +00:00
Jake Burkholder
de0acbf78f
Change the device path representation in libofw to use the full firmware
...
path, instead of an internal i386 specific one. Don't try to interpret
a disklabel in ofw_disk.c, open the partition's device node directly and
let the firmware do it. This fixes booting from a partition other than 'a'
on sparc64, which is needed to support more installation methods.
No objection: ppc
2002-11-10 19:17:36 +00:00
Jake Burkholder
38013bd368
Compile in support for zipfs and bzipfs so we can load the gzipped mfsroot
...
that releases use.
2002-10-13 18:52:46 +00:00
Robert Drehmel
9884a53c1a
- Do not pretend to compile a kernel and remove the definition
...
of the _KERNEL macro.
- Do not include <sys/pcpu.h> for no reason.
Suggested by: jake
2002-08-21 15:52:23 +00:00
Robert Drehmel
09bb4b96a4
- Define the macro _KERNEL to pretend we are compiling a kernel.
...
This is required by recent changes to <sys/pcpu.h>, which uses
the #error preprocessor directive to keep non-kernel
applications from using it.
_KERNEL is defined below the #include <stand.h>, because <stand.h>
removes the definition of _KERNEL.
- Move the inclusion of <sys/queue.h> above the inclusion of
<sys/linker.h> to avoid syntax errors.
2002-08-21 12:45:36 +00:00
Jake Burkholder
7746cd480a
Print out the strings in vers.o instead of hardcoding the loader banner.
2002-08-04 01:30:26 +00:00
Jake Burkholder
8c7b34b8a3
Add needed include of queue.h. Remove unneeded include of smp.h.
2002-05-29 19:38:49 +00:00
Jake Burkholder
35738638d6
Use a contrived 'tlb_entry' structure for passing the mappings for the
...
kernel text and data from the loader to the kernel, so that the tte format
is not part of the loader->kernel ABI.
2002-05-29 05:49:59 +00:00
Tom Rhodes
d394511de3
More s/file system/filesystem/g
2002-05-16 21:28:32 +00:00
Jake Burkholder
6cc8d3ac6b
Attempt to not crash and burn on UltraSPARC III machines; the cpuid property
...
is named differently.
2002-05-11 22:05:22 +00:00
Thomas Moestl
bc3c153560
Do not use semi-fixed TLB slots for the 4M kernel pages any more.
2002-04-02 17:10:15 +00:00
Thomas Moestl
ad68ab89e2
Add support for booting from CD-ROM. Make it possible to enable UFS
...
support using make arguments.
2002-04-01 23:28:35 +00:00
Jake Burkholder
dd4af53607
Catch up to change in tte format.
...
Forgetten by: jake
Submitted by: tmm
2002-03-01 06:17:28 +00:00
Jake Burkholder
4aaca88542
Keep track of the ttes used to map the kernel and pass them to it as loader
...
metadata. Modify tlb handling functions to take a tte, instead of virtual
address, physical address and flags.
2002-02-23 11:06:37 +00:00
Jake Burkholder
d112f7bd5b
Fix fs support ifdefs. Add tftp support. Add physical and virtual
...
watchpoint support for debugging (under LOADER_DEBUG). Claim the
physical and virtual addresses used to map the kernel from the prom;
we map it ourselves behind the scenes though. Add a reboot command.
Submitted by: tmm
2002-02-23 04:04:30 +00:00
Jake Burkholder
a237ed036e
Add definitions for network support, doesn't work yet.
...
Pass the right arguments to the kernel.
Replace magic numbers with symbolic constants.
Pass the real openfirmware entry point to OF_init.
2001-10-30 06:31:45 +00:00
Robert Drehmel
8414482077
Fix some warnings.
2001-10-15 14:40:36 +00:00
Robert Drehmel
2727d8ffc8
Add the FreeBSD/sparc64 boot loader source files.
2001-10-15 14:35:39 +00:00