Commit Graph

156 Commits

Author SHA1 Message Date
he
8e58484dd6 Adapt to the statfs -> statvfs changes. 2004-05-21 08:35:00 +00:00
agc
7db1d33cba Modify the licences of code written by Theo De Raadt from a 4-clause
to a 2-clause licence (retaining UCB clauses (1) and (2)), per PR
22409 from Joel Baker, approved by Theo de Raadt, and ratified by
myself - the only discrepancy being the handling of the original
clause 3 in src/usr.sbin/yppoll/yppoll.c.
2003-12-10 12:06:25 +00:00
lukem
f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
scw
b9b144d190 Add -ffreestanding 2003-10-24 21:28:24 +00:00
he
47a6e783ff Adapt to const-ification of the first arg of the open function of fs_ops. 2003-08-24 14:43:29 +00:00
dsl
6c51a53afa Add memmove - needed for symlink processing in ufs.c 2003-08-22 21:00:26 +00:00
agc
aad01611e7 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
he
672b90d3f1 Fix this so that it compiles after the UFS2 merge. This program can
still only deal with UFS1 file systems.

Reviewed by scw.
2003-04-07 11:45:55 +00:00
he
cea7b7a329 Add the newly separated-out ether_sprintf.c here, so that the booters
can be allowed to link with no unresolved symbols again.
2003-03-16 08:39:58 +00:00
drochner
e7bde1e9c7 adapt for void *io_netif 2003-03-13 12:44:48 +00:00
scw
2125ffc454 Move the -D__daddr_t from libsa/Makefile to Makefile.booters so
the bootloaders get to benefit from it, not just libsa.
2003-02-27 20:38:34 +00:00
matt
938c539a86 Add CPPFLAGS+=-D__daddr_t=int32_t
Add snprintf.c to libsa/Makefile
2003-02-04 13:34:56 +00:00
fvdl
a3ff3a3038 Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
2003-01-24 21:55:02 +00:00
provos
d94186ee91 more trailing \r cleanup; pointed out by wiz 2002-10-01 20:41:22 +00:00
provos
0f09ed48a5 remove trailing \n in panic(). approved perry. 2002-09-27 15:35:29 +00:00
lukem
fb7bc8541e arch/*/stand stuff should be LDSTATIC=-static and not LDSTATIC?=-static.
It doesn't make sense to have standalone stuff dynamically linked just
because an end-user uses LDSTATIC="".
2002-08-27 08:53:14 +00:00
bjh21
23f7ce3522 .WAIT after building libbug and libsa, and before building anything that uses
them.
2002-05-28 19:34:15 +00:00
bjh21
0d79902e3f Use ${PRINTOBJDIR} rather that rolling our own.
This prevents parallel builds passing "--- xxx ---" (which make prints to
indicate it's building target "xxx") to ld.
2002-05-28 19:32:42 +00:00
jdolecek
9eed164863 remove redundant (and wrong) main() prototype 2002-05-05 20:11:37 +00:00
scw
132a9c91d5 Make sure main() has a prototype and a return type of "int". 2002-05-04 22:05:29 +00:00
scw
caf7ed0a69 main()'s return type should be int', not void'. 2002-05-03 20:48:34 +00:00
scw
d5ecd48d67 DTRT to avoid installing "netbsd.tmp" in /usr/mdec.
Addresses port-mvme68k/16282.
2002-04-10 18:43:21 +00:00
scw
6a75b57b3d Simplify generation of the s-record boot file using objcopy instead
of a homebrew tool.

Addresses port-mvme68k/16256.
2002-04-09 19:37:22 +00:00
scw
8fe81151a5 Add files.c to SRC_sa.
While I'm here, sort source files alphabetically.
2002-03-27 20:18:25 +00:00
scw
7ce75221c2 Round VID_OSL to be a multiple of 32 * 256byte blocks. 2002-03-24 18:15:03 +00:00
scw
d22256f158 Pass RB_NOSYM to exec_mvme() otherwise loadfile() tries to lseek()
backwards, which we don't support.
2002-03-24 18:13:24 +00:00
lukem
971861de37 use ${INSTALL_FILE} as appropriate 2002-02-09 09:35:59 +00:00
scw
86be963a27 Completely re-write wrtvid.c to make it usable during a cross-build.
Instead of parsing the 1st stage booter in wrtvid, use objcopy to
generate a binary image, leaving wrtvid to create the VID/CFG block.
2002-01-23 21:06:28 +00:00
lukem
b0b0a32ad7 Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
Otherwise the appropriate MKxxx=no won't be defined .
2001-12-12 12:24:19 +00:00
tv
8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
tv
48c09b6243 Work around <bsd.lib.mk> used for kernel libs in other places. Clean up
include paths.
2001-11-14 23:01:13 +00:00
scw
45e7238a02 Bump the version numbers of all bootloaders which use loadfile_elfXX() now
that it tries hard to avoid backwards seeks.
2001-11-09 19:53:11 +00:00
scw
439d3ea3cb G/C some debug printfs inadvertently left in the last commit. 2001-11-09 18:27:59 +00:00
scw
2f42a5932e Implement just enough of an lseek() to keep loadfile_elf32() happy.
While I'm here, bump RAWFS_BSIZE up to 8192 since the installation
instructions use "bs=8k oconv=sync". My Archive Viper now streams
nicely while booting.
2001-11-09 18:25:11 +00:00
scw
05c8b8d35b Fix a couple of uninitialised variable warnings with New Toolchain. 2001-11-08 21:41:42 +00:00
scw
a1cf047679 Fix a couple of uninitialised variable warning with New Toolchain. 2001-11-08 21:40:25 +00:00
thorpej
66f972ab70 Need byteorder.c for loadfile_elf*.c 2001-10-31 21:39:02 +00:00
thorpej
4810d73020 Build the loadfile() a.out, ECOFF, and ELF back-ends as separate
objects.
2001-10-31 01:51:42 +00:00
scw
f6e6d32172 Use the entry-point returned from the first call to loadfile()
instead of the one from the second call (which has a non-zero
offset included in it).

Fixes port-mvme68k/14292 from Ken Seefried.
2001-10-19 17:09:16 +00:00
chs
7491bc8eea add ashldi3.c, needed by ufs.c due to added cast in lblktosize(). 2001-10-02 06:30:03 +00:00
wiz
9fa0b17629 Give initiali[sz]e all the "i"s it deserves. 2001-09-18 18:15:49 +00:00
wiz
456dff6cb8 Spell 'occurred' with two 'r's. 2001-09-16 16:34:23 +00:00
scw
aac15fa001 Create the `machine' symlink before building. 2001-08-05 10:52:05 +00:00
matt
f33b1a3fd8 This is a HOST program, so make compile as one. 2001-08-05 06:10:25 +00:00
bjh21
ad2c12a28d Bump version numbers of all bootloaders that use loadfile/ELF, to account for
my changes to symbol loading.  I should probably have done this at the time,
but it's better late than never.
2001-08-02 12:24:05 +00:00
scw
b4c68ef164 Descend into wrtvid in all but the install pass. 2001-07-19 18:18:30 +00:00
scw
c1ab2b5460 bcopy -> memcpy
bzero -> memset
bcmp -> memcmp (note that the MI libsa's memcmp() still calls bcmp()...)
2001-07-07 09:06:43 +00:00
wiz
0a600be867 receive, not recieve 2001-06-12 15:17:10 +00:00
scw
967e648941 Use the versions of dev_net.[ch] in libsa in order to get DHCP support.
In other words, mvme68k's "netboot" finally supports DHCP.
2001-06-10 14:12:48 +00:00
scw
c605c91bdf Fix bootline argument passing from the Bug PROM. 2001-04-14 13:43:07 +00:00