Commit Graph

78 Commits

Author SHA1 Message Date
chs
74234c1818 don't include <sys/endian.h> when building as a host tool. 2006-12-09 22:02:24 +00:00
dsl
6f0f9f8763 Make almost everything #include <sys/bswap.h> instead of <machine/bswap.h>
The bswap.h and endian.h files are all rather incestuous, but I want to
get the constant folding stuff into one place - sys/bswap.h
2006-01-29 21:42:40 +00:00
perry
50a256a3a0 __asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
2005-12-24 23:23:59 +00:00
perry
2d65de2479 bare asm -> __asm 2005-12-24 22:45:33 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
he
14bbdadd3d The ANSIfication unconvered that we were calling devlookup() with
an extra argument.  It seems to be correct just to drop the last arg.
2005-07-15 23:15:00 +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
886a08c247 - ANSIfy, remove trailing spaces.
- Put /* FALLTHROUGH */ to make lint happy.
2005-06-28 20:51:19 +00:00
junyoung
f174987abc De-__P() and some cosmetic changes. 2005-06-28 20:30:46 +00:00
junyoung
7bac1211f4 ANSI, KNF, trailing spaces, and etc. 2005-06-28 20:06:19 +00:00
junyoung
e82b73153c ANSIfy & remove trailing spaces. 2005-06-28 20:01:17 +00:00
junyoung
a5b199a8f5 Remove trailing spaces. 2005-06-28 14:38:06 +00:00
junyoung
88ebacb43f - No need to define NULL here since it's already defined in stand.h.
- ANSI, KNF, de-__P, and remove trailing spaces.
2005-06-28 14:36:21 +00:00
junyoung
01690e5f55 ANSI, KNF, de-__P, drop trailing spaces, and some other cosmetic changes. 2005-06-27 11:52:28 +00:00
junyoung
17670568fe Use FS_OPS() macro. 2005-06-23 19:44:00 +00:00
jmc
9a999c376a Convert bebox's remaining host tools over to cross tools scheme. Builds to sets
w/o error now.
2004-11-25 08:09:14 +00:00
heinz
b804d8c240 Remove trailing argument list from #undef of divrnd macro to enable build
with gcc3 and -Werror.
2004-10-16 14:43:40 +00:00
kleink
bac8f8978b Repair operand constraints in delay(). 2004-06-29 16:21:16 +00:00
jmc
84fafa3db5 Ignore errors on some rm -rf's for platforms that aren't quite
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
2004-06-21 18:20:08 +00:00
wiz
d20841bb64 Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
keihan
29c72c57f0 netbsd.org -> NetBSD.org
All "netbsd.org" is now gone from src/sys/arch.
2003-12-04 13:05:15 +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
matt
aff62bef7a Make this build in a R/O build tree. And add -I. for gcc3 2003-10-24 18:20:01 +00:00
simonb
8ca32cb009 Use -ffreestanding. 2003-10-08 01:36:19 +00:00
simonb
07704f0a5a Use consistent type qualifiers for CPU1_alive (keeps gcc331 happy). 2003-10-08 01:33:54 +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
bjh21
6da931ff0d Cast KERNENTRY into a char * before doing arithmetic on it, so we don't end
up trying to cast a 64-bit integer into a pointer, which GCC warns about.
2003-04-20 18:17:07 +00:00
sakamoto
612c6ed6a0 add CFLAGS=-Wno-main for void main, suggested by Tsutsui-san. 2002-04-09 16:05:37 +00:00
sakamoto
edf360eeb6 Revert previous change. return type of main is void. 2002-04-09 15:59:35 +00:00
sakamoto
05cc0bf255 update example, use $(TOOLDIR)/bin/nbmake-bebox. 2002-04-08 16:12:18 +00:00
sakamoto
ff5a135777 fix vers.o target.
add cleandir distclean cleanlibdir target, remove cleanobjs target.
2002-04-08 16:09:58 +00:00
sakamoto
6317dec5cd change return type to int of main. 2002-04-08 16:07:47 +00:00
sakamoto
c359f5effe include lib/libkern/libkern.h for isdigit. 2002-04-08 16:05:58 +00:00
sakamoto
0f46be36c0 use HOSTPROG and include bsd.hostprog.mk for host tools. 2002-04-08 16:03:17 +00:00
heinz
bd5eeb9796 add .CURDIR/ld.script to enable builds with OBJMACHINE=yes 2002-03-15 21:02:29 +00:00
tv
8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +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
simonb
023bdd2bf2 Use comments around the token after a #endif. 2001-08-31 04:44:54 +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
wiz
a73374d9c8 bcopy -> memcpy, bcmp -> memcmp, bzero -> memset 2001-07-22 14:34:36 +00:00
wiz
c29fb7279b bcopy -> memmove 2001-07-22 14:32:16 +00:00
briggs
4290b6b288 Make sure that this will compile on a big-endian system. 2001-04-11 01:47:18 +00:00
cgd
8a986b2e96 convert to use getprogname() 2001-02-19 22:48:57 +00:00
sakamoto
4185cbf85c fix multiple link vers.o 2001-02-17 11:11:13 +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
jdolecek
4c97163e2d switch to sys/conf/newvers_stand.sh for generation of version files, no
functional changes
2000-07-21 21:34:27 +00:00
jdolecek
6a6ee4aa91 cleanup way vers.c file is created/compiled 2000-07-08 15:40:53 +00:00
jdolecek
50dc07c081 get the version number differently - instead of using RCS version number
of version file, take version from last line of that file as the part from
start of the line to ':'
2000-07-08 15:36:05 +00:00
darrenr
162b0b1dab __P(()) -> __P((void)) 2000-03-16 23:21:05 +00:00