Commit Graph

67423 Commits

Author SHA1 Message Date
junyoung
592280de7a index() shouldn't be used in the kernel. Use strchr() instead. 2003-10-27 07:28:15 +00:00
simonb
075b65698a Use -Wno-error to compile a file with Duff's device and document this as
a hack.
2003-10-27 07:26:17 +00:00
chs
b3a3d69b22 uninitialized variables. 2003-10-27 07:14:25 +00:00
chs
3b6d3c710c uninitialized variables 2003-10-27 07:07:34 +00:00
christos
50459b4529 Fix uninitialized variable warnings. 2003-10-27 06:15:52 +00:00
christos
577a829bf1 fix make -jn by adding explicit dependency of in_cksum.o to assym.h 2003-10-27 05:49:15 +00:00
christos
63b3407c02 add posix semaphores 2003-10-27 05:34:48 +00:00
simonb
499ef1c1bb Remove (the now non-compiling) support for 128bit FP emulation, which
isn't needed for PowerPC anyway.
2003-10-27 04:32:02 +00:00
simonb
354075932d Fix a bogus uninitialised warning. 2003-10-27 04:30:32 +00:00
christos
7f7c7b7d99 Back out the libretto related hacks I accidentally committed. They are
in CVS in case one wants them :-)
2003-10-27 04:10:43 +00:00
simonb
1baeb1502a Keep bogus gcc -Wuninitialised warnings happy. 2003-10-27 03:58:17 +00:00
lukem
b81744894f appease gcc's uninitialised variable detection 2003-10-27 03:51:35 +00:00
simonb
6836656005 Remove assigned-to but otherwise unused variables. 2003-10-27 02:58:31 +00:00
simonb
ecb9893b78 Use "#if" to compare two tokens, not "#ifdef". 2003-10-27 02:30:26 +00:00
simonb
8338dcf797 More bogus uninitialised warnings. 2003-10-27 02:16:15 +00:00
cl
7585316531 initialize uninitialized 2003-10-27 02:03:10 +00:00
simonb
eeb03b3e1b "Fix" bogus gcc3 uninitialised warning. 2003-10-27 01:17:59 +00:00
kleink
964d6747b5 Err, rename some members added in previous to make them reflect their
semantics better.
2003-10-27 01:11:46 +00:00
cl
16d49327a2 appease lint's ``warning: nonportable bit-field type'' in MD header 2003-10-27 01:05:08 +00:00
christos
1293ac6b7f remove buildcontext 2003-10-27 00:16:42 +00:00
christos
382a193ff0 eliminate buildcontext, and fix siginfo delivery. 2003-10-27 00:16:24 +00:00
christos
2c67a735b8 Provide the correct trap address to userland. 2003-10-27 00:15:24 +00:00
lukem
171d653219 Overhaul how `build.sh tools' are used:
*	Rename "config.h" to "nbtool_config.h" and
	HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
	This makes in more obvious in the source when we're using
	tools/compat/config.h versus "standard autoconf" config.h

    *	Consistently move the inclusion of nbtool_config.h to before
    	<sys/cdefs.h> so that the former can provide __RCSID() (et al),
    	and there's no need to protect those macros any more.

These changes should make it easier to "tool-ify" a program by adding:
	#if HAVE_NBTOOL_CONFIG_H
	#include "nbtool_config.h"
	#endif
to the top of the source files (for the general case).
2003-10-27 00:12:41 +00:00
chs
44d9d27c84 don't print an uninitialized variable. 2003-10-26 23:42:57 +00:00
chris
25c741b8a6 Fix up some unitialised variables. 2003-10-26 23:11:15 +00:00
fvdl
4784db999a Regen after clarifying IGPE1000 name. 2003-10-26 22:25:53 +00:00
fvdl
4589fc061f Make the name of the IGPE1000 a bit clearer. 2003-10-26 22:24:58 +00:00
kleink
b37192f049 For convenient use in libc, add unions of the C floating types and their
corresponding structure definitions.
2003-10-26 21:46:46 +00:00
fvdl
7ec692e7d5 Regen after adding IGP01E1000. 2003-10-26 21:35:13 +00:00
fvdl
065b2aa956 Add Intel IGP01E1000 phy. 2003-10-26 21:34:44 +00:00
fvdl
5602142448 Fix unitialized var warning, add a comment to indicate that it's use
is suspect.
2003-10-26 21:03:34 +00:00
kleink
95971b8759 Correct the position of the QUIETNAN bit. 2003-10-26 20:59:51 +00:00
mhitch
4d65fcd111 Fix errors in processing the ELF sections. Gcc3 generated a .comment section
which was erroneously being added to the boot image size and loaded into the
boot image.
2003-10-26 20:57:37 +00:00
fvdl
404fa205d1 Fix (bogus) unitialized variable warning. 2003-10-26 20:55:57 +00:00
kleink
a3fabb9e7f Use <sys/ieee754.h> where applicable. 2003-10-26 20:55:30 +00:00
fvdl
f64435e552 Fix unitialized variable use. 2003-10-26 20:53:09 +00:00
kleink
a671ba71b3 Have a common place for definitions related to IEEE 754 single-precision
and double-precision formats.
2003-10-26 20:48:17 +00:00
christos
97ded127c6 Delete -Wno-uninitialized. Tested on sparc64 and i386. Rationale:
Gcc-3.3 produces valid warnings in most cases and uncovers bugs. In the
cases where a variable is known to be initialized, we initialize it and
add: /* XXX: gcc */. If a $MACHINE_ARCH's compiler is busted, it can add
-Wno-uninitialized in the MD Makefile.
2003-10-26 19:24:06 +00:00
christos
105af83a85 Fix uninitialized variable warning. 2003-10-26 19:18:16 +00:00
christos
2b104ea9cd use curproc, instead of homebrew test. 2003-10-26 19:17:41 +00:00
christos
8b88d0c462 Oops, the code that initialized pagesize was not actually used in the place
it was...
2003-10-26 19:17:10 +00:00
christos
594cf09925 Fix an uinitialized variable warning 2003-10-26 19:15:59 +00:00
christos
44cf8a09e9 Fix uninitialized variable warning. 2003-10-26 19:15:00 +00:00
christos
3684598911 Actually initialize the size that is printed in case of an error, so garbage
does not get printed.
2003-10-26 19:14:22 +00:00
christos
2e92e66166 don't use extra variables where there is no need to. 2003-10-26 19:13:18 +00:00
christos
4ca54df1ef Don't do the tsleep dance if timo is 0; simplify the code. 2003-10-26 19:12:50 +00:00
christos
05f07448b6 Another possibly uninitialized lasttx 2003-10-26 19:11:33 +00:00
christos
5220c0436c Fix unitialized variable warnings. 2003-10-26 19:10:42 +00:00
christos
82653d230d Fix uninitialized variable warnings.` 2003-10-26 19:09:44 +00:00
christos
93af726cde Don't return random garbage in the default case; return the smallest ring
descriptor instead.
2003-10-26 18:20:43 +00:00