summaryrefslogtreecommitdiffstats
path: root/sys/boot/sparc64
Commit message (Collapse)AuthorAgeFilesLines
...
* Attempt to not crash and burn on UltraSPARC III machines; the cpuid propertyjake2002-05-111-1/+2
| | | | is named differently.
* -ffreestanding is the word.obrien2002-05-102-3/+2
| | | | | (also resort some CFLAGS such that the more "important" value are first so they are easier to see)
* Split file system setup code out into a function called mount.jake2002-04-241-50/+109
| | | | Implement vsnprintf. Implement panic in terms of it.
* Add support for loading files other than /boot/loader. Useful if you'rejake2002-04-241-79/+234
| | | | | | loader is screwed and you want loader.old. Rewrite the scaled down printf so it actually works right, and add support for more formats.
* Add an exit function.jake2002-04-241-3/+21
|
* Add -Wno-unused.jake2002-04-241-1/+1
|
* memcpy, memset -> bcopy, bzero.jake2002-04-241-32/+28
|
* Clean up elf loading to not make assumptions about the ordering of sections.jake2002-04-241-37/+18
| | | | | Don't load the symbol table; this is only needed for loading kernels and we load the loader.
* Remove xfsread. Just call fsread directly.jake2002-04-241-16/+5
|
* Remove a bunch of unused variables, functions and macros. Allocate storagejake2002-04-241-174/+11
| | | | statically instead of using a faked up malloc.
* o Use our own elf2aout now.obrien2002-04-211-2/+2
| | | | o Generalize a little.
* Do not use semi-fixed TLB slots for the 4M kernel pages any more.tmm2002-04-023-25/+24
|
* 1.) Rename locore.s to locore.S (by repocopy), to be able to removetmm2002-04-023-144/+21
| | | | | | | | | | | | special-case make rule 2.) Cleanups, remove superfluous expicit rules, add -nostdlib to LDFLAGS, remove -X and -g, remove -g from CFLAGS 3.) Add BINDIR 4.) Build install the loader help file, add an empty help.sparc64 5.) Change the default configuration to only support booting from disk 6.) Get libofw.a from a path relative ${.OBJDIR}, not ${.CURDIR} Submitted by: jake (1 - 5), obrien (6)
* Add support for booting from CD-ROM. Make it possible to enable UFStmm2002-04-012-0/+27
| | | | support using make arguments.
* 1.) Produce a boot1 disklabel template of the format disklabel(8) expects.tmm2002-04-011-12/+22
| | | | | | 2.) Clean up and change over to using bsd.prog.mk Submitted by: jake (2)
* was repocopied to ../boot1obrien2002-03-282-769/+0
|
* Apparently either gcc or ld, in their infinite wisdom, want toobrien2002-03-282-0/+16
| | | | | | | | put a bunch of crap before the code in .text. Since the firmware doesn't seem to honour the a.out entry point, we need to include a little assmbler file which jumps to where we want to be in C. Submitted by: jake
* Opps, bootblock component is no more.obrien2002-03-281-1/+1
|
* Add a Makefile for sparc64 at this level.obrien2002-03-281-0/+5
|
* Change every occurrence of "bootblock" into "boot1" afterrobert2002-03-051-7/+7
| | | | the repo-move from "src/sys/boot/sparc64/bootblock".
* - Fix seeking for offsets requiring more than 32 bits.robert2002-03-052-10/+54
| | | | | | | - Add sanity checks to lookup(). - Implement the 'l' modifier in printf(). Submitted by: tmm
* Catch up to change in tte format.jake2002-03-011-3/+3
| | | | | Forgetten by: jake Submitted by: tmm
* - Fix indentation and return statements to conform to style(9).robert2002-02-262-810/+856
| | | | | | | - Use the __FBSDID macro. - Fix some warnings. Submitted by: obrien (partly)
* Keep track of the ttes used to map the kernel and pass them to it as loaderjake2002-02-234-35/+126
| | | | | metadata. Modify tlb handling functions to take a tte, instead of virtual address, physical address and flags.
* Add make variables for fs support and propagate them to CFLAGS. Putjake2002-02-231-9/+21
| | | | -ffreestanding in CFLAGS. Remove unnecessary LDFLAGS.
* Fix fs support ifdefs. Add tftp support. Add physical and virtualjake2002-02-231-12/+107
| | | | | | | | 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
* Allocate a frame on our initial stack so that it doesn't run off intojake2002-02-232-12/+24
| | | | | | random memory. Disable interrupts while loading the tlb. Submitted by: tmm
* Include <machine/metadata.h>.jake2002-02-231-0/+2
|
* Add the FreeBSD/sparc64 bootblock and its make file.robert2002-02-154-0/+1448
|
* Avoid having the text and data sections merged into one programrobert2001-12-281-1/+1
| | | | header table entry by removing the -N flag from the LDFLAGS.
* Add code to copy the enironment and loader metadata into kernel space.jake2001-10-302-2/+320
|
* Add definitions for network support, doesn't work yet.jake2001-10-301-27/+40
| | | | | | Pass the right arguments to the kernel. Replace magic numbers with symbolic constants. Pass the real openfirmware entry point to OF_init.
* Use ENTRY() for defining functions in asm.jake2001-10-302-156/+32
| | | | | | | Remove asm functions to call the openfirmware and kernel entry points; we can just call them directly. Don't use the stack pointer for an intermediate result in setx. Put the stack in the bss.
* Fix some warnings.robert2001-10-151-4/+4
|
* Add the FreeBSD/sparc64 boot loader source files.robert2001-10-153-0/+658
|
* Add a Makefile for the sparc64 boot loader.robert2001-10-151-0/+76
OpenPOWER on IntegriCloud