Commit Graph

132905 Commits

Author SHA1 Message Date
toshii 1701924009 While processing soft interrupts, don't call splx()/lowerspl() when
unnecessary, as they call dosoftints().
2005-01-01 10:39:30 +00:00
lukem 65a97445c7 correct the comment describing the build order 2005-01-01 10:32:39 +00:00
simonb 0ce7001382 Provide assembly versions of the clock timing calculation loops that
aren't effected by changes in compiler optimisation.

Fixes PR port-mips/26959 from Izumi Tsutsui
2005-01-01 09:48:39 +00:00
yamt c4d95d51f4 uvm_fault: pass NULL pap to pmap_extract where we don't need paddr. 2005-01-01 09:14:49 +00:00
yamt de965c0ed7 pfil4_wrapper: clear M_CANFASTFWD which is not compatible with pf. 2005-01-01 09:13:14 +00:00
simonb 98ffe3f03f Don't specify the object format to pick the right endianness - the
linker already knows if it is big- or little-endian.
2005-01-01 07:00:50 +00:00
tsutsui 91c61919b2 - Make some local functions static.
- Remove unused prototype declarations.
2005-01-01 04:54:29 +00:00
wiz a7b3d5153b Bump date for VDIRTY removal. 2005-01-01 04:06:48 +00:00
tsutsui b2a044cc20 Remove (void *) casts added to NULL. 2005-01-01 04:00:25 +00:00
simonb 4dab1db639 Use "NULL" instead of "(something-or-other *)0". 2005-01-01 03:25:46 +00:00
simonb 60e6b50deb Spell "available" correctly. 2005-01-01 03:24:43 +00:00
mycroft 39cdc11f28 Welcome to 2005.
Don't forget to update copyright notices when you add new code.
2005-01-01 00:00:01 +00:00
rumble bf88067210 Do not report unexpected interrupts when not debugging. These
seem to occur fairly often under normal operation with HPC1.5.
Also, do not return if the interrupt is unexpected, but see if
there is anything to handle regardless, which appears to always
be the case with HPC1.5.
2004-12-31 22:32:34 +00:00
christos 0e466f4a8a Provide forward struct declarations for struct sigcontext*; this will allow
us to get rid of them in the machine/signal.h files.
2004-12-31 18:06:16 +00:00
christos faeb57b2dd Define builtin va start differently for lint, so that it does not produce
a warning.
2004-12-31 17:28:38 +00:00
yamt 6b4c83b2d6 remove VDIRTY. 2004-12-31 14:55:27 +00:00
yamt 96d7068928 remove unused VDIRTY. 2004-12-31 14:54:46 +00:00
bjh21 b1cd280714 Go back to filtering out KBD_IDLE events by default. The Xsun shipped with
NetBSD 2.0 gets confused by them (generating events for keycode 134 when
all keys are released), and even when that's fixed we should keep one release
worth of backward compatibility.
2004-12-31 14:18:35 +00:00
joff 5a55b5cff3 Enable INET6 by default, bump SYMTAB_SPACE 2004-12-31 12:14:22 +00:00
joff e12f6a1aba Add /bin/rmdir, needed by sysinst 2004-12-31 11:54:29 +00:00
martti 756f26107c Import IPFilter 4.1.3 2004-12-31 11:30:42 +00:00
he b8908d5fed Make this compile again after the introduction of usb_dma_reserve;
need to include <dev/usb/usb_mem.h> now to pick up it's definition.
2004-12-31 11:06:53 +00:00
augustss 6258e74613 Use the same width (9) for both the Used and Avail columns. 2004-12-31 09:54:28 +00:00
jmc 66c068c1fd Make sure amd64 cd's get bootblocks on them correctly also 2004-12-31 08:34:13 +00:00
atatat fa01c2e835 Add "dirname"- and "basename"-like functionality to stat(1) by way of
the "high" and "low" selectors on the filename.
2004-12-31 03:24:31 +00:00
wiz 1fce7b0949 Mention that compat32 supports running i386 binaries on amd64.
From Nicolas Joly in PR 28795.
While here: new sentence, new line.
2004-12-31 00:57:50 +00:00
rumble 801f527111 Prepend HPC3 macros universally with "HPC3_" to distinctly recognise
the corresponding revision and maintain consistency with HPC1.

No functional change intended.
2004-12-30 23:18:09 +00:00
jonathan 54528c79ad Add rgephy driver to sys/dev/mii/files.mii. Supports integrated PHY
in Realtek 8169S.
2004-12-30 23:03:19 +00:00
joff 05aeaeff39 Always expose struct sigcontext instead of just #ifdef COMPAT_16. 2004-12-30 20:38:37 +00:00
bjh21 11a8c79cbb Make exposure of MAXNAMLEN conditional on _NETBSD_SOURCE rather than on
_POSIX_SOURCE and _XOPEN_SOURCE.
2004-12-30 19:43:25 +00:00
christos 2819137180 change the definition of va_start for lint. 2004-12-30 18:08:20 +00:00
bjh21 e707e87c3f Correct file reference and add PR reference in
"gcc 3.3.2/arm sys/kern/uipc_socket.c".
2004-12-30 16:29:48 +00:00
christos 36dcc3119d more size_t casts 2004-12-30 16:22:45 +00:00
christos d8e127cb21 - don't try to to lint the va_arg() macros, instead replace them.
- replace the va_start() macro for lint
2004-12-30 16:22:27 +00:00
reinoud 486e5e2819 Fixup of bad patch made by me; the #ifdef ought to be also including ISO
rather than being removed. Also fixed a small comment about the scope of
#if's.

This code is a but ugly IMHO but as long as we dont have to change it ....
2004-12-30 15:38:50 +00:00
martti 92ee66b8a1 Note also src/regress/sys/kern/ipf 2004-12-30 13:12:01 +00:00
bjh21 70c402ea14 Since I've got the datasheets in front of me, add #defines for the missing
registers in the supported MK48Txx chips.
2004-12-30 12:36:29 +00:00
jdolecek f201f239e3 #ifdef DDB rdyfail label, too 2004-12-30 12:12:16 +00:00
darrenr 32b2d1458b undo this last change, it did match fil.c - bad me. 2004-12-30 12:07:07 +00:00
jdolecek aca74c5304 only do the temporary symbol table load #ifdef DDB and add comment for
the code block, so that the purpose is more clear

avoid NULL pointer dereference in lkmunreserve() called on lkm device
close when ksym_addsymtab() fails for the temporary symbol table
(sanity change only, this can never happen at the moment)
2004-12-30 11:47:02 +00:00
jdolecek b90395b379 fix two issues regarding handling of ksyms (modload -s):
* only add the symbol table for the current module if the LKM_E_LOAD
  hook returns success; otherwise we overwrite the LKM_E_LOAD error,
  which may ultimately lead to (incorrectly) allowing the module load
* only delete the sumbol table for current module if we actually added
  the symbol table; avoids deleting symbol table of previously loaded
  module when the same module is loaded twice, when the second load
  fails with EEXIST

fixes PR kern/28803 by Jens Kessmeier
2004-12-30 11:35:41 +00:00
martti 34a5ffc74e Use src/sys/dist/ipf/netinet instead of src/sys/netinet 2004-12-30 10:09:32 +00:00
is 63672cded0 Hardware pointers must be volatile.
Patch by Pawel Chwalowski via PR 28810, from a similar patch by Michael
Hitch to ite_cl.c.
2004-12-30 10:07:51 +00:00
tsutsui 23bf17808a Protect accesses to PTE/TLB registers with
_cpu_exception_suspend()/_cpu_exception_resume() pair.

Should fix spontaneous reboot problem on heavy load reported by
Christian Groessler on port-dreamcast.
2004-12-30 09:48:30 +00:00
dsainty 7e7f191f7d Add a missing space in a comment 2004-12-30 09:32:13 +00:00
darrenr 760d20de7a the bitmask array in this file should be the same as the one in fil.c if
rules with v6hdr options are going to match packets.  this sorts the array
by incrementing value of the v6 option.
2004-12-30 08:29:09 +00:00
christos 1466914ff3 add size_t casts. 2004-12-30 05:11:50 +00:00
christos bd66ab4a14 cast to size_t
remove unneeded casts.
2004-12-30 05:08:37 +00:00
christos 1c5c5f5ad5 cast to size_t/socklen_t 2004-12-30 05:07:43 +00:00
christos 1b235e3efc cast to socklen_t/size_t 2004-12-30 05:06:33 +00:00