tsutsui
a07f7c8069
Misc cleanup:
...
- KNF, ANSIfy, remove __P()
- use __func__ to print function names
- use __arraycount()
- include "ioconf.h" for struct cfdriver
- u_intNN_t -> uintNN_t
- wrap long lines
etc.
2008-01-12 09:54:21 +00:00
he
ab9a43a85f
Follow up rename of in_cksum.c to ip_cksum.c.
2006-02-26 19:20:57 +00:00
he
daa2326eba
Make this build again after the libc/libkern consolidation by referring
...
to common/lib/libc/Makefile.inc via ${S}/..
Add use of ashrdi3.c inet_addr.c strncpy.c strlen.c, from common/lib.
2005-12-27 12:38:53 +00:00
tsutsui
8343611e9c
Adapt to libkern reorganization.
2005-12-24 22:18:40 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
he
e1ffd766c2
Make the bugscopen() function match it's prototype.
2005-07-03 22:22:50 +00:00
junyoung
e63501d234
#include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
2005-06-28 21:00:41 +00:00
junyoung
c42b06f995
ANSI & KNF.
2005-06-28 20:26:04 +00:00
junyoung
d305a14978
ANSI, KNF, etc.
2005-06-28 20:13:25 +00:00
junyoung
6cb3e5962d
ANSIfy & remove trailing spaces.
2005-06-28 14:41:47 +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
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
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
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
scw
8fe81151a5
Add files.c to SRC_sa.
...
While I'm here, sort source files alphabetically.
2002-03-27 20:18:25 +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
thorpej
4810d73020
Build the loadfile() a.out, ECOFF, and ELF back-ends as separate
...
objects.
2001-10-31 01:51:42 +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
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
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
57b29e6754
Fix symbol table loading.
2000-12-02 17:28:08 +00:00
scw
7051df32f5
Support booting an ELF kernel, plus numerous tweaks due to
...
the gas.new/ELF transition.
2000-11-30 22:26:26 +00:00
scw
d7b439dff5
udp.c is now needed in SRC_sa.
2000-11-11 11:36:17 +00:00
jdolecek
49c105ffdb
add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
...
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate
as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro
for hpcmips, use new bootverbose instead of it's own hpcmips_verbose
Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.
2000-09-24 12:32:31 +00:00
jdolecek
e25636b5da
g/c RB_DFLTROOT
...
I've tried hard to find also various usage() messages and remove the
appropriate flag from there as well, hopefully all occurences are covered.
2000-07-29 20:06:27 +00:00
scw
44c9e5e16e
Really make this work for `dependall'. Also strip bootst.bug before
...
running it through wrtvid.
2000-07-28 20:08:20 +00:00
scw
379de37900
Make these work for the `dependall' target.
2000-07-27 21:06:53 +00:00
jdolecek
921705c3eb
cleanup Makefiles, put common stuff to Makefile.booters, ditch unnecessary
...
stuff
make this all compile with -Wall -Wno-main -Wmissing-prototypes
-Wstrict-prototypes -Werror , also compilable on 1.4.1
label itself as NetBSD/mvme68k instead of "BSD" in bootblock message
move bugcrt.c to libbug, remove bugcrt directory (bugcrt is still built
and used separately to rest of libbug)
convert sboot to use ordinary mvme68 libsa, instead of copying needed
stuff in libc_sa.c
convert to use version info generated by sys/conf/newvers_stand.sh
instead of previous version.c files, add necessary 'version' files
put chiptotime() to separate libsa file (used also by sboot/clock.c)
Thanks to Steve Woodford for help with this. Note that -current build
might be hosed by this change, will be addressed by Steve shortly.
2000-07-24 18:39:01 +00:00
scw
2688608c2b
Pass the boot partition number into the loaded kernel, in preparation
...
for doing away with __BROKEN_DK_ESTABLISH.
2000-07-24 09:25:53 +00:00
jdolecek
f7d523ebb6
make buildable with -Wall -Werror
2000-07-10 22:48:25 +00:00
jdolecek
27a5ba9e0a
use <sys/exec_aout.h> instead of <a.out.h> - this is supposed
...
to be standalone after all
2000-07-10 20:36:15 +00:00
jdolecek
7e272173bd
no need to include <a.out.h> here
2000-07-10 20:33:49 +00:00
scw
b8cb8025c3
intoa.c is now required in the standalone library.
1999-09-19 09:57:52 +00:00
scw
fdd587c0ea
Define MKNOLINT=no and _STANDALONE.
1999-04-25 10:05:00 +00:00
scw
134a854765
Add some missing targets from sys/lib/libsa.
1999-02-20 16:26:57 +00:00
lukem
dcab0210a0
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
pk
7c5210bcab
Assign my copyrights to TNF.
1998-09-05 15:20:47 +00:00
scw
a84a67440f
vm_offset -> [vp]addr_t and vm_size_t -> [vp]size_t
...
While I'm here, expunge use of 'register' storage class.
1998-08-22 10:55:33 +00:00
scw
aec399e36f
Changes to keep lint happy.
...
In particular, fix some Makefiles so the include
paths are passed to lint.
1998-08-01 11:22:51 +00:00
cgd
87dc093422
replace ${MACHINE} with mvme68k, so that these Makefiles can safely
...
be run when MACHINE != mvme68k.
1998-06-12 23:11:45 +00:00
scw
cee1e443db
Use DEV_BSIZE in place of MAXBSIZE for the static 'iobuf' in devopen().
...
Use of the latter caused the 1st and 2nd stage boot loaders to occupy
over 64k of memory. This caused them to fail on a 4Mb mvme147 since
they are loaded at 0x3f0000.
Reported by Kristen A. McIntyre and Maxime Kurkdjian.
1998-06-11 19:04:57 +00:00
scw
3adf82c90e
Grok boot partition argument delimited by a colon. Force RB_ASKNAME
...
when partition argument is present.
1997-12-17 21:33:10 +00:00
cjs
7a66732d34
Back out BUILDDIR and NOINSTALL changes.
1997-05-31 21:21:13 +00:00
cjs
83498d7e88
Remove empty libinstall target and add NOINSTALL=1.
1997-05-30 13:43:06 +00:00
mycroft
185b24dd5b
Use libinstall::, not install:, to prevent instaling LIB.
1997-05-07 16:20:26 +00:00
mycroft
fd8daf980e
Add .MAKE to the .OBJDIR hacks, so they work with `make -n'.
1997-05-07 07:15:34 +00:00
chuck
f057fa41d5
leave room for partition
1996-05-28 19:07:32 +00:00
chuck
cd4d6d851b
new kernel call args.
1996-05-28 18:14:24 +00:00