Commit Graph

81529 Commits

Author SHA1 Message Date
thorpej 2fbef8e269 Assert that no locks are held if we're called with EX_WAITSPACE.
From Bill Sommerfeld.
2001-06-05 04:39:56 +00:00
thorpej 67a875a8c9 Assert that no locks are held if we're called with M_WAITOK. 2001-06-05 04:39:02 +00:00
thorpej 31769952ca Add a simple_lock_only_held() LOCKDEBUG routine, which allows code
to assert that exactly zero or one (and a specific one) locks are
held.

From Bill Sommerfeld.
2001-06-05 04:38:08 +00:00
thorpej 8ee014b439 Handle the DL10022 case. 2001-06-05 02:31:16 +00:00
thorpej c619444a71 Use the DL10019 media routines on the DL10019 and DL10022 (a change
I forgot to commit long ago).
2001-06-05 02:27:02 +00:00
itojun 034ca147cb if_up() requires splsoftnet. sync with kame 2001-06-04 23:53:13 +00:00
wiz cd3b7d7fe5 add sbus(4) 2001-06-04 22:25:17 +00:00
mrg c59b99f5c8 use _KERNEL_OPT, catch up with constification in compat/svr4. 2001-06-04 22:00:10 +00:00
mrg 8a49f07b1b avoid assigning to policy_id twice. fixes more gcc 3.0 prerelease errors. 2001-06-04 21:38:28 +00:00
ragge f81f19e7b3 Add rudimentary multiprocessor support for DDB. 2001-06-04 21:37:11 +00:00
ragge cae5d5a796 Lock the kernel lock at interrupt enter. 2001-06-04 21:31:28 +00:00
christos ebe68eb4f9 Overhaul error handling and reporting for regular expressions.
Provide a RE_OK() macro that tests if the current compiled pattern
works and a RE_ERROR() macro that prints what went wrong as well
as the particular RE implementation can handle.
2001-06-04 21:21:42 +00:00
aymeric 37e6eb8fe5 Bail out when regex pattern is invalid if using regcomp or regcmp.
Remove trailing \n's also.

Addresses PR#13109
2001-06-04 20:56:56 +00:00
mrg 46762d3560 fix lint exposed by GCC 3.0 20010604 (prerelease). 2001-06-04 20:56:51 +00:00
nathanw 4b2dbe7a1a Note that negative system call numbers no longer appear negative in
ktrace output, due to range-bounding by binary masking.
2001-06-04 20:06:41 +00:00
uch 859a6a49b2 ANSI KNF. 2001-06-04 18:59:31 +00:00
uch 842b6023c3 HD64461 video module. 2001-06-04 17:08:36 +00:00
tsutsui de5c8238a2 Xref pci(4) and scsipi(9) 2001-06-04 16:37:13 +00:00
tsutsui 5d298b8093 Add a Xref to pci(4). 2001-06-04 16:36:05 +00:00
tsutsui e9f646a74e Note and add a reference to iha(4). Pointed out by Andrew Doran. 2001-06-04 16:34:41 +00:00
ragge 93ece82137 Check for console printf's in spinlocks, per discussion on tech-smp. 2001-06-04 15:37:05 +00:00
ragge 30e020fbaa The beginning of pmap locks. While here, some cleaning and KNF. 2001-06-04 15:36:00 +00:00
ragge 81d993ac3b Add splipi(). 2001-06-04 15:34:57 +00:00
ragge da2e5c43e1 Add IPI_TBIA to flush the translation buffer. 2001-06-04 15:34:15 +00:00
ragge d35f5e00dc Move some locks closer to the important point. 2001-06-04 15:33:07 +00:00
tsutsui eef184554a Add iha(4). 2001-06-04 13:01:13 +00:00
tsutsui 98a0f184d3 Add man page for iha(4). From OpenBSD. 2001-06-04 12:58:35 +00:00
blymn b179973d9d * Make req_del_prev work in multiline field. 2001-06-04 11:44:30 +00:00
blymn cf2022720d * Only line wrap buffer 0 in set_field_buffer since this is the
only one displayed.
2001-06-04 11:42:09 +00:00
jdolecek 64239fceaa Note CTRL-u clears the entered input in cngetsn() too, besides '@'
slighly adjust the sentence about Backspace key
2001-06-04 09:50:07 +00:00
jdolecek 07677cc805 Use back the 'u'&037 form - since it's CTRL-u, it's more readable that way
Use \007 instead of symbolic constant, since that's what is more often used.
Pointed out by Robert Elz.
2001-06-04 09:45:03 +00:00
itojun 80e7db0fcd simplify previous change (mbuf length adjustment for rtsock response). 2001-06-04 08:57:58 +00:00
manu ae80f433ec Fixes by Chuck Silvers to make ptrace PEEKTEXT more 64 bit friendy 2001-06-04 07:44:39 +00:00
augustss 147c9186b5 Remove overly paranoid test (and not in the spec either). From OpenBSD. 2001-06-04 06:01:40 +00:00
augustss d7079b251e Regen. 2001-06-04 06:00:43 +00:00
augustss db2a5598b4 Add the Logitech iFeel mouse.
(Now that's a weird device, perhaps I'll write a driver for the vibration
feedback.)
2001-06-04 06:00:20 +00:00
toshii 13aba87bcb Don't pass nonpositive repeat count to CSR_*_MULTI_2.
Should fix kern/13092.
2001-06-04 03:34:47 +00:00
itojun 4a32096acf adjust routing socket response mbufs to the correct length. sync with kame. 2001-06-04 01:30:11 +00:00
jhawk 4cfd2cf1d0 s/printf/DPRINTF/ for kern/13101. 2001-06-03 23:52:51 +00:00
chris 878db7cfb8 Add support for ARM7TDMI, as provided in a patch from John Fremlin to port-arm32.
Shouldn't effect any currently in tree ports.
2001-06-03 18:32:33 +00:00
manu b5269c31d1 added a double cast to build on alpha 2001-06-03 18:22:27 +00:00
jdolecek dccf11ae11 cngetsn(): cosmetic only - use '\025' instead 'u'&037, and '\b' instead '\007' 2001-06-03 17:56:10 +00:00
jdolecek 7a3910c69d Fix typo in <dev/scsipi/scsipi_cd.h>. Pointed out by Makoto Fujiwara
on current-users@
2001-06-03 17:44:30 +00:00
chs d8bbc51566 fix an error case for quotas. 2001-06-03 16:49:07 +00:00
ragge 056e20f2cc Need to get the kernel lock when entering by interrupts. 2001-06-03 15:15:02 +00:00
ragge e2f864bf95 Break out the MP-dependent calls. Add definitions for the IPI functions. 2001-06-03 15:12:57 +00:00
ragge d0a8785b5e Add define for IPI vector. 2001-06-03 15:10:34 +00:00
ragge 8d7b76581f Implement spinlocks as subroutines instead of inlines.
Add SPINLOCK_SPIN_HOOK; the VAX has low-priority IPIs like Alpha.
2001-06-03 15:10:11 +00:00
ragge 6e219aa5a7 Add bbssi/bbcci (bit set/clear and branch interlocked) as inline functions. 2001-06-03 15:08:32 +00:00
ragge 1da9a91480 A bunch of fixes:
- Make generic console routines not relying on running on master cpu.
- Add routine to start console transmitter (after IPI).
- Use real IPIs instead of the "console doorbell".
- Add routines cpu_send_ipi()/cpu_handle_ipi().
2001-06-03 15:07:20 +00:00