summaryrefslogtreecommitdiffstats
path: root/sys/boot/sparc64
Commit message (Collapse)AuthorAgeFilesLines
* Pass the right number of tlb slots to the kernel. The allocation schemetmm2002-10-181-10/+4
| | | | | | | was changed in r1.4, but I neglected to update most of the code in metadata.c. Pointy hat to: tmm
* Compile in support for zipfs and bzipfs so we can load the gzipped mfsrootjake2002-10-132-0/+14
| | | | that releases use.
* Remove NOFORTH=yes, it seems to work now thanks to scottl.jake2002-09-021-1/+0
|
* - Do not pretend to compile a kernel and remove the definitionrobert2002-08-211-2/+0
| | | | | | | of the _KERNEL macro. - Do not include <sys/pcpu.h> for no reason. Suggested by: jake
* - Define the macro _KERNEL to pretend we are compiling a kernel.robert2002-08-211-1/+2
| | | | | | | | | | 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.
* Print out the strings in vers.o instead of hardcoding the loader banner.jake2002-08-041-2/+4
|
* Enable netboot support by default, since it can now coexist with disk andjake2002-07-071-3/+3
| | | | cdrom support. This avoids having to distribute separate loaders.
* Make building with ficl work. Unfortunately booting with it doesn't.jake2002-07-072-5/+10
|
* Enable cd9660 support by default.jake2002-06-211-1/+1
|
* Add boot_serial and boot_multicons variables to set RB_SERIAL andpeter2002-06-201-0/+2
| | | | | RB_MULTIPLE since this seems to be the easiest way to add these flags for non-forth loaders etc.
* Add explicit dependency on ufsread.cphk2002-06-051-0/+2
|
* Remove UFS related #includes, they're read in ufsread.c now.phk2002-06-051-3/+0
|
* Make sparc64 share ufsread.c with i386.phk2002-06-052-126/+12
| | | | Sponsored by: DARPA & NAI Labs.
* Avoid entering IOCCC with a memcpy turned bcopy.phk2002-06-051-4/+4
|
* Add needed include of queue.h. Remove unneeded include of smp.h.jake2002-05-291-1/+1
|
* Use a contrived 'tlb_entry' structure for passing the mappings for thejake2002-05-293-18/+18
| | | | | kernel text and data from the loader to the kernel, so that the tte format is not part of the loader->kernel ABI.
* Sync with i386. The loader was being installed before the beforeinstalljake2002-05-281-26/+39
| | | | target, which conventiently moved it to loader.old, leaving no loader.
* More s/file system/filesystem/gtrhodes2002-05-161-2/+2
|
* Match the default newfs UFS block size.obrien2002-05-131-1/+1
|
* 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
|
OpenPOWER on IntegriCloud