Commit Graph

120031 Commits

Author SHA1 Message Date
bouyer ef9a315b24 - test if we have some work to do before tsleep() in the kernel thread,
in case the previous loop scheduled some more work to do (e.g. reset)
- use queue_freese to block the queue when a reset is pending too
- Avoid using WDCF_TH_RUN in some place that can be called from callout.
  If the kernel thread is tsleep()ing somewhere, we may come here with
  WDCF_TH_RUN set while being in the callout context. Fix a panic() in
  tsleep() reported by Chuck Silvers.
- Use AT_WAIT instead of WDCF_TH_RUN wdcwait(), as we may not be in the
  channel's thread context but still be able to tsleep(). Fix queue_freese
  panics for WDC_CAPABILITY_NOIRQ controllers (port-mac68k/23208 by
  Frederick Bruck).
2003-10-29 21:44:41 +00:00
mycroft 772577a82c Separate by port, and remove the m68k hack. 2003-10-29 21:31:33 +00:00
mycroft 7198dd0a88 Back out -Wno-uninitialized for m68k -- the compiler bug is fixed. 2003-10-29 21:29:27 +00:00
mycroft 3fbc866a6e Back out the bogus initializer -- the compiler bug is fixed. 2003-10-29 21:26:43 +00:00
mycroft b9c785bd44 As seen on tech-toolchain:
So the problem is thus:

* The {u,}mulsidi3 generate two parallel sets which modify the upper and lower
halves of the target register.

* life_analysis() does not track subregister modifications -- if you don't
modify the whole register with a single set, it considers the register
unused.

The simple, if klugy, solution to this is to stick an explicit clobber in.  It
seems to work.

While doing this, I noticed that constant folding was not happening for
32x32->64 multiplies.  This is because the parallel set generated by
{u,}mulsidi3 cannot be folded at all.  To solve this, I first expand to a
normal multiply, and then use a define_insn_and_split to convert it to the
parallel set after CSE and constant folding.

This patch has also been submitted to GCC bugzilla, but who knows if I'll get
a reply to that.
2003-10-29 21:25:03 +00:00
kleink 5eb21a140e Update tz{coda,data} status. 2003-10-29 21:13:27 +00:00
kleink 92ed51b671 Update for tzdata2003d. 2003-10-29 21:11:51 +00:00
kleink 0cf415e538 Merge tzdata2003d. 2003-10-29 21:04:05 +00:00
kleink 38aab5f54e Import tzdata2003d. 2003-10-29 21:00:21 +00:00
kleink 26198324b4 Merge tzcode2003d. 2003-10-29 20:43:27 +00:00
kleink dc2bc4a89d Import tzcode2003d. 2003-10-29 20:19:13 +00:00
kleink 0a97d0875b C99 7.12.3.2: add library portions of isfinite, but don't build these just
yet.
2003-10-29 20:03:51 +00:00
kleink 3991bf60bc Fix the exponent value we're comparing with. 2003-10-29 19:34:11 +00:00
fredb 8098923219 Make the ntp.conf parsing more specific, and therefore more robust. Closes
PR bin/23305.
2003-10-29 19:00:14 +00:00
cl 812a254c5d remove incorrect assert:
regular threads can block in the kernel while holding (libpthread) locks
and have to be continued

XXX if the blocked upcall is preempted, the blocked threads syscall
XXX return value can get lost
2003-10-29 18:53:34 +00:00
tsutsui 18b32ac5ba Switch arc to use MI mc146818 tod driver. 2003-10-29 18:17:49 +00:00
tsutsui 21ebbd9f3e Add a bogus initializer to appease gcc's uninitialized warning.
XXX osiop_checkintr() should be rewritten.
2003-10-29 18:03:22 +00:00
tsutsui cb187dc1a7 Fix bogus GCC uninitialized variable warning. 2003-10-29 18:01:20 +00:00
fvdl e183d65fc4 Make a v6 socket v6-only, since rpcbind does host-based checking (all NFS
code already did this).
2003-10-29 17:51:33 +00:00
tsutsui a17f7ef138 Eliminate an uninitialized variable warning. 2003-10-29 17:45:55 +00:00
tsutsui 159c103f63 Fix think-o about century handling in settime function. 2003-10-29 17:41:36 +00:00
tsutsui 2ba8cd8f89 Add MI driver for mc146818 based time-of-day clock with todr(9) support. 2003-10-29 17:00:40 +00:00
wennmach ae9ab55ceb Add ADC
Change "conversor" -> "converter" in DAC entry
2003-10-29 13:52:25 +00:00
wennmach d4cd75e0ac Add LSB and MSB 2003-10-29 13:47:39 +00:00
pooka 70d2e11feb caps "Jonathan STone" in comment less dramatically 2003-10-29 12:28:33 +00:00
jdolecek 109e80d1e0 __ramdisk MAKEDEV target is no more 2003-10-29 11:50:53 +00:00
mycroft 2dde0746b6 Do a jump optimization that eliminates some uninitialized variable warnings. 2003-10-29 10:12:43 +00:00
dsl 111e24b1c9 Use shell variables for non-alphanumeric patterns in ${x#pattern} to improve
portability.  If particular solaris ksh barfs on patterns containing ( and ).
Fixes PR 23265
2003-10-29 09:13:51 +00:00
lukem d20692fdf5 Under no circumstances try to zap an existing superblock at sector 0.
There's no reasonable situation where there will be one there, except if the
disk had data on it previously for some reason.  It's significantly more
likely (read "the world until UFS2 was merged") that sector 0(..15)
contains really important stuff like boot blocks and disk labels.

Once again, I ask, why wasn't UFS2 implemented as a separate file
system a la lfs & ext2fs ?
It could have shared a chunk of the kernel code (just like those),
and had different userland tools and a different fs_type.
2003-10-29 08:14:13 +00:00
mycroft 1588a62950 Whitespace. 2003-10-29 05:48:19 +00:00
mycroft 2f3400cec7 The previous patch was wrong -- mcr does not output anything. Instead give a
junk input (it's not used when the last argument is 0).
2003-10-29 05:47:04 +00:00
mycroft ebc4881c70 Simplify a little. 2003-10-29 05:32:18 +00:00
mycroft c99cc1e89a If we get an unknown fault code, either panic (if DIAGNOSTIC), or fault it with
a 0 access_type (if not).  Remove bogus initializer.
2003-10-29 05:16:26 +00:00
ross a1a806781b Fix the broken "!" escape and "shell" (&-prompt) commands. These problems
were related to closed PR bin/21896, and to the 2003-3-29 code import.
2003-10-29 05:11:26 +00:00
mycroft 7a85552554 If something goes wrong, we want to return ENOMEM, not 0! 2003-10-29 05:03:41 +00:00
mycroft 01ffeba8a0 Make sure "args" is pointing somewhere sane before calling trace_exit(). 2003-10-29 04:58:26 +00:00
jmc 4d9cb8213a Hobbes was misspelled. PR#23301 2003-10-29 04:53:39 +00:00
mycroft bb5625edb8 Remove bogus initializers. 2003-10-29 04:48:40 +00:00
mycroft 6e4d40343c Don't bother with one of the loops if the data to move is too narrow. 2003-10-29 04:43:18 +00:00
mycroft 75061b28a8 Calculate lastx and lastleft outside the loops... 2003-10-29 04:40:17 +00:00
mycroft a1178ff097 The uninitialized variable in this case was a bug, which could probably be
used to crash the system.
2003-10-29 04:38:50 +00:00
atatat f9130f0cc1 Take the time to set gottime so that you don't have to waste time
trying to figure out why the time isn't the time you expected all the
time.
2003-10-29 04:25:46 +00:00
mycroft 8ece2f61c0 Oops, fix a commito. 2003-10-29 03:54:17 +00:00
mycroft cb4f7a1d86 Bogus initializers suck. 2003-10-29 03:46:10 +00:00
mycroft e24c0c7dfc Move a panic() to a different location, and eliminate a bogus initializer. 2003-10-29 03:40:56 +00:00
mycroft 5ef2e1b264 Fix the real cause of the uninitialized warning -- we were looking for the VLAN
tag in the wrong place!
2003-10-29 03:31:22 +00:00
mycroft 035a25dd52 Simplify a little. 2003-10-29 02:33:51 +00:00
mycroft 3b7d66667e Return EINVAL rather than stepping off a null pointer. 2003-10-29 02:31:55 +00:00
mycroft 1f63a53cea Rework to remove bogus initializers. Also fixes a potential problem with
amr_teardown() unmapping too much.
2003-10-29 02:27:32 +00:00
mycroft e0e9384a8e Reorder, eliminating a bogus initializer. 2003-10-29 02:13:09 +00:00