Jake Burkholder
3c5ef798a0
Add make variables for fs support and propagate them to CFLAGS. Put
...
-ffreestanding in CFLAGS. Remove unnecessary LDFLAGS.
2002-02-23 04:35:28 +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
20dc3b11c5
Allocate a frame on our initial stack so that it doesn't run off into
...
random memory. Disable interrupts while loading the tlb.
Submitted by: tmm
2002-02-23 03:38:18 +00:00
Jake Burkholder
4f265afbc1
Include <machine/metadata.h>.
2002-02-23 03:33:39 +00:00
Robert Drehmel
c9f26ad128
Avoid having the text and data sections merged into one program
...
header table entry by removing the -N flag from the LDFLAGS.
2001-12-28 22:12:38 +00:00
Jake Burkholder
8be89d4719
Add code to copy the enironment and loader metadata into kernel space.
2001-10-30 06:37:36 +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
Jake Burkholder
073e92a52c
Use ENTRY() for defining functions in asm.
...
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.
2001-10-30 06:27:34 +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
Robert Drehmel
fc06896610
Add a Makefile for the sparc64 boot loader.
2001-10-15 10:36:35 +00:00