Commit Graph

250633 Commits

Author SHA1 Message Date
maya
6c9a28baeb Drop superfluous ; in __warn_references 2017-05-13 02:58:03 +00:00
kamil
c6cafff5a0 Fix typo in "Interrupt"
Noted by <wiz>
2017-05-12 21:14:47 +00:00
abhinav
9f1571e578 Fix a typo: s/intepretation/interpretation 2017-05-12 21:01:36 +00:00
abhinav
8a253e32f4 Change section number from 1M to 1
The man page gets installed in section 1 anyway.

Ok christos, mrg
2017-05-12 20:58:35 +00:00
ryo
13f80cd683 replace in_fmtaddr() by IN_PRINT(), and delete function in_fmtaddr() 2017-05-12 17:53:53 +00:00
skrll
5dbdb89b56 KASSERT -> KASSERTMSG 2017-05-12 12:18:37 +00:00
skrll
da8d87b170 Trailing whitespace 2017-05-12 12:18:07 +00:00
roy
0dc9e8f6b9 carp should call if_link_state_change instead of affecting
if_link_state directly.
2017-05-12 09:22:01 +00:00
kre
f5bc33aa12 Improve the description of option processing (including the shell's
arg list processing), and the set command in general.
Also add some (new) commented out text related to options which may
be commented back in sometime soon...
2017-05-12 08:55:38 +00:00
kre
ea650deb66 Corrected some typos, added some (hopefully improving) extra text,
sorted stuff that needed sorting, and added some (probably incorrect)
markup...
2017-05-12 08:39:47 +00:00
christos
cbdf63e525 Call the right filter function for hook removal found by Stephen Borrill. 2017-05-12 08:03:26 +00:00
martin
eb66c2f831 Slightly increase the image size 2017-05-12 07:26:35 +00:00
martin
6c1d8de28f Fix a debug printf 2017-05-12 07:12:37 +00:00
skrll
8fb032d532 Sprinkle some KASSERTs 2017-05-12 06:49:31 +00:00
skrll
08e736b420 Code style and add a comment 2017-05-12 06:43:42 +00:00
skrll
85080b4d52 Don't access pg before the KASSERT it's not NULL 2017-05-12 06:38:18 +00:00
skrll
1ab746dbbf KASSERT -> MASSERTMSG 2017-05-12 05:46:39 +00:00
skrll
2a891dc6da Sprinkle some KASSERTs 2017-05-12 05:45:58 +00:00
nat
e2d7b30123 Blksize is now calculated on sc_pustream/sc_rustream.
Don't allow hw ring buffer to be saturated and data overwritten.

It should help PR kern/52175.
2017-05-12 04:15:40 +00:00
ozaki-r
e106de3177 Dedup some routines 2017-05-12 02:34:45 +00:00
macallan
591de39665 rasops_reconfig(): don't clear flags we won't set here 2017-05-12 00:41:25 +00:00
christos
f6b964d39b protect against NULL, from PaulG 2017-05-11 23:50:17 +00:00
nat
0f6453192e UVM_ADV_NORMAL-> UVM_ADV_RANDOM as this reflects the usage more acurately.
Ok riastradh@.
2017-05-11 23:39:15 +00:00
nat
9c67cd1364 If silence is inserted into hw ring directly the free space in the hw ring
not mix ring is needed.
2017-05-11 23:32:27 +00:00
nat
55f64eb5d9 Improved overflow test for audio_mmap.
Ok riastradh@.
2017-05-11 23:26:48 +00:00
nat
aa99502536 Revert FNONBLOCK logic to that from rev 1.335.
Ok riastradh@.
2017-05-11 23:20:38 +00:00
nat
5e34165f16 Explicitly set the flags instead of masking set values in.
This fixes FNONBLOCK weirdness seen in audio.c

OK christos@ and martin@.
2017-05-11 22:38:56 +00:00
kamil
80dc982b20 Document SPL in wtf(6)
SPL    system interrupt priority level
SPL    spinlock

The former is documented in spl(9) in the NetBSD context.
The latter is used in some spinlock implementations.
2017-05-11 22:19:29 +00:00
kamil
c1a817a304 Add new entries for wtf(6)
CCNUMA cache-coherent non-uniform memory access
PIL    Priority Interrut Level
RMO    Relaxed Memory Ordering
TSO    Total Store Ordering
2017-05-11 21:59:28 +00:00
christos
a613f690f9 make it the same as rump.h 2017-05-11 18:44:50 +00:00
christos
5646f065d1 ... but define RUMP_REGISTER_T if not defined. 2017-05-11 18:16:00 +00:00
christos
8f1d39df7e Use the same exposure rules for register_t as <machine/types.h> does.
Eventually we could remove -D_KERNTYPES from all the rump libraries...
2017-05-11 18:08:10 +00:00
christos
60b22e867e Don't depend on stars in order to define things. 2017-05-11 17:47:22 +00:00
sborrill
9d349b9f4b Add commented out carp and mpls pseudo-devices to be consistent with
GENERIC
2017-05-11 15:42:15 +00:00
kre
26a83a43ec Fix some parser weirdness...
${#VAR:-foo} (or any other modifier on ${#VAR} is a syntax error.
On the other hand ${##} is not, nor is ${##13} though they mean
quite different things (the latter is an idiom everyone should learn,
... $# except we refuse to admit the possibility that it is 13...
Even I cannot explain what ${#-foo} used to do, but it wasn't sane!
(It should be just $# as $# is never unset, but ...)
Shell syntax is truly a wondrous thing!
2017-05-11 15:07:37 +00:00
kre
d7c8afdf82 Avoid truncating the command string saved with background jobs if
one of the words happens to contain ${#var}.  (This is the command
string shown by the "jobs" command, and when a background job completes)

While here, undo the LINENO hack when building that string.
And one ot two other foibles...
2017-05-11 14:57:14 +00:00
sevan
1f7af9ec92 Remove more _KERNTYPES definitions in rump components. 2017-05-11 13:20:02 +00:00
martin
483132c66a Try to make images big enough for debug sets 2017-05-11 10:49:18 +00:00
martin
3397b20a60 Evil hack to fix the build: provide PRIxREGISTER here.
Sevan, please check and fix correctly ;-)
2017-05-11 10:21:55 +00:00
skrll
d5edab0741 Fix non-DIAGNOSTIC build 2017-05-11 09:09:54 +00:00
maya
98e5ee2f1b COPY_SYMTAB=1 so ddb commands ps, bt work 2017-05-11 07:56:43 +00:00
mbalmer
3c246ec040 Avoid possible null pointer dereferencing.
Fixes PR kern/52225.
2017-05-11 07:34:27 +00:00
mbalmer
a499d22688 fix TIA entry 2017-05-11 06:46:45 +00:00
ryo
dd8c81f5bb Make ipsec_address() and ipsec_logsastr() mpsafe. 2017-05-11 05:55:14 +00:00
sevan
6b31f116cc With the removal of HAVE_REGISTER_T from rumpuser_port.h, _KERNTYPES does not
need to be defined. This allows register_t to be typedef'd to RUMP_REGISTER_T
without conflict, as highlighted in PR kern/52206.
2017-05-11 04:33:14 +00:00
sevan
64fda0b19a Update NetBSD values obtained from running configure as instructed in comment.
This paves the way to resolve rump build process using buildrump.sh, where the definition of
HAVE_REGISTER_T caused conflicting definitions of register_t.
2017-05-11 04:27:27 +00:00
sjg
cd14dec36c Main_SetObjdir: ensure buf2 is in scope 2017-05-10 22:26:14 +00:00
skrll
4f6c3f8ba6 Add a KASSERT 2017-05-10 22:23:13 +00:00
skrll
a18422ba5c Make cpu_uarea_{alloc,free} conditional on PMAP_{,UN}MAP_POOLPAGE and
use PMAP_{,UN}_POOLPAGE to ensure cache aliases are handled correctly
and for all the pages used.
2017-05-10 22:19:31 +00:00
christos
f82096efe2 We need to provide a size for getattr for the cp example to work, so cheat
and use fstat() to do it instead of libpuffs.
2017-05-10 16:35:18 +00:00