Commit Graph

37106 Commits

Author SHA1 Message Date
mycroft
e24c0c7dfc Move a panic() to a different location, and eliminate a bogus initializer. 2003-10-29 03:40:56 +00:00
mycroft
a246f3b7a5 Reorder slightly to eliminate bogus initializers. 2003-10-29 02:02:05 +00:00
mycroft
659649b149 The previous change was wrong. The variables were legitimately uninitialized.
This code was broken on 2002/10/22 by christos.
2003-10-28 23:10:02 +00:00
mycroft
6ad04f2a27 XXX: gcc 2003-10-28 23:04:26 +00:00
mycroft
3aae7144ea Eliminate bogus initializer. 2003-10-28 22:52:53 +00:00
mycroft
f6f24ead9c In _bus_dma_uiomove():
* Don't punt after the first iov in the UIO_SYSSPACE case.  Not that this ever
  happens in practice right now.
* If we get through the loop, error==0 by definition, so just return 0.
* Eliminate bogus initializer.
2003-10-28 22:49:51 +00:00
kleink
7b674621bf Retire FPA support from this file at last; suggested by Richard Earnshaw
and not objected to by port-arm.
2003-10-28 21:27:08 +00:00
kleink
dbecd8cc2e Similar to sparc, make available the extended-precision definitions for
_KERNEL; the FPE package will require it once it's used on sun2.
2003-10-28 21:23:47 +00:00
mycroft
dd65577904 Remove bogus initializer. 2003-10-28 20:39:54 +00:00
skrll
c5a4c60e2e Compile sys/kern/uipc_socket.c -fno-strict-aliasing for now. PR 23044. 2003-10-28 20:12:00 +00:00
tsutsui
2f551b5f25 NULL -> '\0' 2003-10-28 17:54:35 +00:00
hannken
f3ce5e583f Get rid of uninitialized variable. 2003-10-28 17:37:25 +00:00
kleink
bff4c04c64 Make the extended-precision definitions available for _KERNEL (i.e. the
FPU support package), too; reported by Chuck Silvers.
2003-10-28 15:55:09 +00:00
chs
b42acb8d26 uninitialized variable. 2003-10-28 15:31:33 +00:00
chs
6ef2bc9b82 make this compile again. 2003-10-28 15:28:24 +00:00
chs
cd23cf5c7c uninitialized variables. 2003-10-28 15:25:27 +00:00
yamt
a059d6caf4 appease gcc "uninitialized" warning. 2003-10-28 14:49:53 +00:00
he
b563d90538 Include <stdlib.h> to pick up exit() prototype. 2003-10-28 11:46:39 +00:00
he
d820cc0029 Add -ffreestanding to CFLAGS, so that libsa prototypes do not conflict
with otherwise built-in functions and prototypes in the new gcc.
2003-10-28 11:41:46 +00:00
he
219781d5ed Add include of <string.h> to pick up strlen() prototype. 2003-10-28 11:38:04 +00:00
he
81c0d141d8 Rename those assembly files which should be passed through the C
preprocessor from .s to .S to pick up CPPFLAGS.
2003-10-28 11:34:59 +00:00
drochner
46e330c669 quell a gcc3 "uninitialized" warning by putting some more dead code
inside "#ifdef PNPBIOSEVENTS"
2003-10-28 11:17:14 +00:00
scw
39fe0cf03e Delete the symbolsize variable. It's not useful here.
Reported by Shoichi Miyake in port-arm/23293.
2003-10-28 08:26:33 +00:00
scw
fe5371e8a9 Fix an uninitialised variable warning, reported by Shoichi Miyake
in port-arm/23293.
2003-10-28 08:22:55 +00:00
mrg
f06db78213 NULL -> 0 bogon. 2003-10-28 08:00:36 +00:00
mrg
93b8296886 m68k_make_fpu_idle_frame() is not needed/wanted if defined(M68010) 2003-10-28 06:55:45 +00:00
junyoung
68a06a8528 Fix indent level. 2003-10-28 04:59:18 +00:00
fredb
137eabcb90 Fix that last warning in a prettier (and less befuddling) way, as
suggested by Dave Huang.
2003-10-28 04:56:23 +00:00
christos
239484d9e9 eliminate oldsp variable, and don't save the original sp with STACK_OFFSET. 2003-10-28 01:10:50 +00:00
kleink
91af1eaa96 #define __HAVE_LONG_DOUBLE on platforms which implement a distinct
`long double' type.
2003-10-28 00:55:28 +00:00
simonb
f85a32fc57 Set the CPU frequency parameters from YAMON if available, and fall back
to the timer/RTC based calibration loops otherwise.
2003-10-27 23:47:00 +00:00
simonb
eb24c3d567 Add a function to query YAMON for the CPU frequency, and set up the
parameters for delay() from this.
2003-10-27 23:41:42 +00:00
kleink
39dd1b6e20 pmap_print_mmuregs(): move initialization of addr before its first use;
reported by David Young.
2003-10-27 23:35:41 +00:00
fredb
3fef8c6042 Fix a befuddling error from gcc. 2003-10-27 23:11:23 +00:00
dyoung
9dbaa63583 Stop false uninitialized variable warning. 2003-10-27 23:08:12 +00:00
dyoung
9a73ec4e1e Stop false uninitialized variable warning. 2003-10-27 22:48:20 +00:00
fredb
2ba4302402 Initialize some "might (not) be used uninitialized" variables. 2003-10-27 22:16:04 +00:00
kleink
8b8e22cb01 Enter vaxfp.h, the VAX pendant of <machine/ieee.h>. 2003-10-27 21:52:03 +00:00
simonb
cbe1f08c71 Remove useless call to consinit(). 2003-10-27 18:36:26 +00:00
mycroft
e07e6dfcac Add a default: to a case statement. 2003-10-27 17:17:42 +00:00
cl
fcc21e91ba move structs nextstep_disklabel/cpu_partition and appendant #defines
to sys/sys/bootblock.h
- rename to next68k_disklabel and next68k_partition
- use {u,}int{8,16,32}_t instead of char/short/int (suggested by D. Laight)
2003-10-27 16:48:08 +00:00
mycroft
8df46a3c92 In j720ssp_kthread(), move the tsleep() to the end of the loop. 2003-10-27 16:18:18 +00:00
junyoung
2c4f6d0128 Nuke __P(). 2003-10-27 14:11:46 +00:00
junyoung
8f1ba94956 Nuke __P(). 2003-10-27 13:43:48 +00:00
kleink
060a72601c For convenient use in libc, add unions of the C floating types and their
corresponding structure definitions.
2003-10-27 10:13:48 +00:00
simonb
f3f5fb123b Fix bogus uninitialised warnings. 2003-10-27 09:58:42 +00:00
mhitch
c2a45d015c Fix uninitialized variable. 2003-10-27 09:56:56 +00:00
simonb
690122fc6a Do previous differently - check which ld we're using and set the right
link flags.

Suggested by Simon Gerraty.
2003-10-27 09:27:25 +00:00
simonb
35d9e54664 If the make variable "USE_BINUTILS" is yet, use correct options to link
a kernel with recent(ish) binutils ld.
2003-10-27 07:39:10 +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