David E. O'Brien
bd506e2a3a
Convert to __FBSDID.
2004-01-04 23:21:18 +00:00
Poul-Henning Kamp
f770d2d3dd
Cut&Paste considered far too easy:
...
Don't include <sys/disklabel.h>
2003-04-16 21:09:41 +00:00
Poul-Henning Kamp
197e5e73ef
Libdisk does not need to include <sys/diskslice.h> any more.
...
Move the remaining bits of <sys/diskslice.h> to <i386/include/bootinfo.h>
Move i386/pc98 specific bits from <sys/reboot.h> to
<i386/include/bootinfo.h> as well.
Adjust includes in sys/boot accordingly.
2003-04-04 16:35:16 +00:00
Poul-Henning Kamp
080ef30b20
Add explicit dependency on ufsread.c
2002-06-05 12:30:45 +00:00
Poul-Henning Kamp
af53575a04
Remove UFS related #includes, they're read in ufsread.c now.
2002-06-05 12:12:25 +00:00
Poul-Henning Kamp
3795d538a8
Make sparc64 share ufsread.c with i386.
...
Sponsored by: DARPA & NAI Labs.
2002-06-05 12:00:53 +00:00
Poul-Henning Kamp
7cbccd7f79
Avoid entering IOCCC with a memcpy turned bcopy.
2002-06-05 11:56:12 +00:00
David E. O'Brien
21ab21338d
Match the default newfs UFS block size.
2002-05-13 05:09:34 +00:00
David E. O'Brien
d1bdfb40fd
-ffreestanding is the word.
...
(also resort some CFLAGS such that the more "important" value are first so
they are easier to see)
2002-05-10 09:26:35 +00:00
Jake Burkholder
127e8646b8
Split file system setup code out into a function called mount.
...
Implement vsnprintf. Implement panic in terms of it.
2002-04-24 05:54:10 +00:00
Jake Burkholder
0d0c927680
Add support for loading files other than /boot/loader. Useful if you're
...
loader is screwed and you want loader.old.
Rewrite the scaled down printf so it actually works right, and add support
for more formats.
2002-04-24 04:27:49 +00:00
Jake Burkholder
3ff6556567
Add an exit function.
2002-04-24 02:50:59 +00:00
Jake Burkholder
083d8c5bab
Add -Wno-unused.
2002-04-24 02:50:36 +00:00
Jake Burkholder
8c2f8986a6
memcpy, memset -> bcopy, bzero.
2002-04-24 02:24:32 +00:00
Jake Burkholder
4b487ad2ec
Clean up elf loading to not make assumptions about the ordering of sections.
...
Don't load the symbol table; this is only needed for loading kernels and we
load the loader.
2002-04-24 02:10:35 +00:00
Jake Burkholder
e2b255fdea
Remove xfsread. Just call fsread directly.
2002-04-24 01:47:05 +00:00
Jake Burkholder
912ceb7f18
Remove a bunch of unused variables, functions and macros. Allocate storage
...
statically instead of using a faked up malloc.
2002-04-24 01:40:54 +00:00
David E. O'Brien
34ef85ee3d
o Use our own elf2aout now.
...
o Generalize a little.
2002-04-21 02:37:55 +00:00
Thomas Moestl
163f47b1ec
1.) Produce a boot1 disklabel template of the format disklabel(8) expects.
...
2.) Clean up and change over to using bsd.prog.mk
Submitted by: jake (2)
2002-04-01 22:57:51 +00:00
David E. O'Brien
20d9715213
Apparently either gcc or ld, in their infinite wisdom, want to
...
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
2002-03-28 02:41:52 +00:00
Robert Drehmel
aa22cb469c
Change every occurrence of "bootblock" into "boot1" after
...
the repo-move from "src/sys/boot/sparc64/bootblock".
2002-03-05 16:39:36 +00:00
Robert Drehmel
83ea6c23b5
- Fix seeking for offsets requiring more than 32 bits.
...
- Add sanity checks to lookup().
- Implement the 'l' modifier in printf().
Submitted by: tmm
2002-03-05 11:22:43 +00:00
Robert Drehmel
4d79812a7c
- Fix indentation and return statements to conform to style(9).
...
- Use the __FBSDID macro.
- Fix some warnings.
Submitted by: obrien (partly)
2002-02-26 10:05:20 +00:00
Robert Drehmel
c119807ba8
Add the FreeBSD/sparc64 bootblock and its make file.
2002-02-15 12:49:20 +00:00