Commit Graph

67470 Commits

Author SHA1 Message Date
ad f67ac65f3d Uninitialized variable. 2003-10-28 14:18:39 +00:00
he 4bd87960fa sys/dev/ata/wd.c causes spurious warning about blkno not
being initialized before used.  This appears to be a bug
specific to (at least) the m68k target, and will be reported
to the GCC maintainers.
2003-10-28 12:11:31 +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
augustss 6f77e29fd2 Appease new awk by changing \$ to $. 2003-10-28 10:35:12 +00:00
augustss 5a1764fb26 Regen. 2003-10-28 10:33:18 +00:00
augustss fe59444985 Add Treo 600. From kern/23290. 2003-10-28 10:32:54 +00:00
simonb 393d075aa5 Fix bogus uninitialised warning. 2003-10-28 09:52:32 +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
briggs 5a770ba2d8 Toggle the default value of ip6_v6only. Also provide a sample sysctl to
retain the existing behavior.
2003-10-28 06:31:28 +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
cl b8d68ee313 note 'm68k {u,}int64_t used uninitialized' bug.
add reference to gcc bug report.
mark all (known) occurrences.
2003-10-28 02:01:46 +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
fvdl 44954feab8 Add a driver for the Intel IGPE1000 PHY as found on 82541 and 82547 chips.
Not yet enabled anywhere.
2003-10-28 00:15:40 +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
fredb fc4e07a00b Appease gcc3 "-Wno-uninitialized". 2003-10-27 23:06:15 +00:00
fredb fa27252b6c Appease gcc3 -Wno-uninitialized (even though blkno is clearly assigned in
each branch of a conditional).
2003-10-27 23:03:05 +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
mycroft c41a3efdb2 Eliminate bogus initializer. 2003-10-27 17:11:19 +00:00
thorpej db71356cd1 - Change callout_setfunc() to require that the callout handle is already
initialized.  Update the txp(4) to compensate.
- Statically initialize the TCP timer callout handles in the tcpcb
  template.  We still use callout_setfunc(), but that call is now much
  less expensive.  Add a comment that the compiler is likely to unroll
  the loop (so don't sweat that it's there).
2003-10-27 16:52:01 +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
yamt 2022580e89 uvm_loanzero:
- after sleeping for memory, re-check if we have a page.
- put the allocated page to pageq to appease UVM_PAGE_TRKOWN.
- dequeue the page when doing ->K loan.
2003-10-27 12:47:33 +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
itojun 3fef2ba893 make it compilable with TCP_DEBUG defined 2003-10-27 07:43:01 +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
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