Commit Graph

229656 Commits

Author SHA1 Message Date
bouyer
18d9435662 Go back to the initial context (as tests/lib/libc/sys/t_swapcontext.c does)
after checking pthread_self() didn't change. Otherwise the process exits
outside of atf context.
Should fix "Test case exited normally but failed to create the results file: Results file is empty" reports from atf-run.
2014-08-25 16:31:15 +00:00
christos
d09cee68fb use the same dynamic sources trick to make sure that the first dependency
is the c source file so that IMPSRC gets set correctly.
2014-08-25 16:27:25 +00:00
pooka
b124cf15b4 No longer create a special process context to fork remote clients off
of, simply always rfork off of proc1 closing all descriptors, and have
the rump kernel open 0/1/2 if the parent process is "1".

Fixes tests/rump/rumpkernel/t_sp, which was failing since the
abovementioned special process change due to attempting to deliver a
signal to the special process and the special process was not equipped
to handle one.
2014-08-25 14:58:48 +00:00
christos
386021af1d Use .PATH because the newmake does not apply pattern rules to sources in
other directories. Leave the comment and the old code for now so people
are aware that this might not work.
2014-08-25 14:11:51 +00:00
wiz
5adf9990dc Fix date. 2014-08-25 13:22:20 +00:00
tsutsui
883c1c3776 Add a man page for arcofi(4) driver. From OpenBSD. 2014-08-25 12:49:22 +00:00
christos
4e7b74dc34 change to no-deprecated-declarations 2014-08-25 11:48:01 +00:00
christos
6f1dbb71d2 add missing lint library.
XXX: pullup-7
2014-08-25 10:52:10 +00:00
justin
404e3c9501 lso translate errno in the rumpfiber version 2014-08-25 10:33:32 +00:00
apb
4a34c3a382 Fix error in previous. The sed command really wants one long line. 2014-08-25 10:25:53 +00:00
justin
103543d43b Add errno translation for bio operations 2014-08-25 10:21:39 +00:00
riastradh
39705e3af5 Use the right BAR for MMIO register sizing on i810. 2014-08-24 22:56:18 +00:00
skrll
c25cc9d720 Correct the mmc clock. Banana Pi can now find an SD card. 2014-08-24 21:42:06 +00:00
msaitoh
49592136f0 Set the WM_F_ATTACHED flag if wm_attach() finished succesfully and check
the flag in wm_detach(). It will avoid to panic in wm_detach().
Fixes PR#49102.
2014-08-24 21:15:35 +00:00
rmind
209a62dda0 npf_config_submit: finally, include the saved connections. 2014-08-24 20:37:35 +00:00
rmind
b1889f11ee - npf_conn_import: add a missing stat counter increment.
- npf_nat_import: add a missing reference and make a comment.
2014-08-24 20:36:30 +00:00
joerg
0bcce746b8 Add note about the config rebuild. 2014-08-24 20:30:49 +00:00
joerg
45c6ebd5f6 Revert last, bump required config version instead. 2014-08-24 20:23:38 +00:00
joerg
aa44bc3b18 Bump CONFIG_VERSION. 2014-08-24 20:22:18 +00:00
palle
5f4732d296 Initialize IOMMU control and status register properly - from OpenBSD - ok mrg@ 2014-08-24 19:09:43 +00:00
palle
f1503a8db0 Generalize the code to allow for arbitrary interrupt wirings - with this change the serial console is usable on Sun Fire V445 systems - from OpenBSD - ok mrg@ martin@ 2014-08-24 19:06:14 +00:00
apb
497135b74d Avoid splitting sed programs over multiple lines with
<backslash><newline><indentation>.  Use multiple -e options instead.
2014-08-24 18:27:16 +00:00
apb
089825332f Let "make clean" delete the files and dirs created by some of the tests. 2014-08-24 17:17:24 +00:00
matt
453980f6b8 Assume anything not vax has IEEEFP. 2014-08-24 17:07:00 +00:00
apb
71a54383f7 In either a variable assignmentor a command, backslash-backslash-newline
does not escape the newline.  This is compatible with gmake.
2014-08-24 16:47:12 +00:00
matt
bf06458dd9 Add entry for kern/kern_ksyms_buf.c 2014-08-24 16:42:46 +00:00
christos
cfc621d8dd Depending on whitespace eating behavior is non portable (our make was
not compliant until today -- it ate all whitespace). Fix commands so
that they don't depend on that.
2014-08-24 16:39:21 +00:00
apb
b4e732f551 Our practice is that an even number of backslashes before a newline
in a variable assignment simply stores the backslashes as part of the
value, and treats the newline as though it was not escaped.  This
is compatible with GNU make.
2014-08-24 16:08:14 +00:00
apb
175bed92d9 Our practice, despite what POSIX might say, is that "\#"
in a variable assignment stores "#" as part of the value.
The "\" is not taken literally, and the "#" does not begin a comment.
2014-08-24 15:10:13 +00:00
apb
c80311840b Convert the variable printing tests to use .USE rules,
to ensure that the value printed always comes from the expected variable.
2014-08-24 14:38:38 +00:00
pooka
82dada912f RCS Id police (because we can. or have you heard of git id police?) 2014-08-24 14:37:31 +00:00
pooka
de743a993f * attempt to clarify what "POSIX" means
* link to Platforms page on wiki for a list of known implementation
2014-08-24 14:35:27 +00:00
apb
ae2e300da1 Adjust tests to correct for the fact that end-of-line comments
in variable assignments should not be included in the value.

Also fix more typos.
2014-08-24 14:04:35 +00:00
apb
c761b26f2c Fix more typos in variable names. 2014-08-24 13:11:49 +00:00
apb
e989f440f6 Fix typos in variable names, and in a comment. 2014-08-24 13:07:25 +00:00
maxv
8db2bbfd52 Ensure nbytes > 0. Otherwise bad things may happen.
Compile-tested only.

ok christos@
2014-08-24 12:48:58 +00:00
jmcneill
c23681cc0d pull in opt_arm_debug.h for VERBOSE_INIT_ARM 2014-08-24 12:42:03 +00:00
mlelstv
044affb986 use RAW_PART to trigger read of disklabel, other units might by busy due
to discovered wedges.
2014-08-24 12:18:21 +00:00
apb
b3edfc2816 Add tests for backslash escaping in make(1).
Many of these tests fail, and I have populated the escape.exp file with
the results that I expect, not with the results that make(1) actually
produces.

Also update the set lists for these tests.
2014-08-24 11:52:45 +00:00
apb
3cf3fe820a sort 2014-08-24 11:50:00 +00:00
nonaka
61876aebbe fix typo. (s/MODULE_DEFAULT_AUTOLOAD/MODULAR_DEFAULT_AUTOLOAD/) 2014-08-24 11:36:11 +00:00
tsutsui
22f9ddb84f Add new arcofi(4) audio driver for NetBSD/hp300, ported from OpenBSD.
The arcofi(4) is a driver for the HP "Audio1" device
(Siemens PSB 2160 "ARCOFI" phone quality audio chip)
found on the HP9000/425e and HP9000/{705,710,745,747} models
(but only hp300 attachment is ported for now).
The chip supports 8-bit mono 8kHz U-law, A-law and
16-bit mono slinear_be formats.

The old HP9000/425e playing tunes with this new arcofi(4) audio driver
was also demonstrated at Open Source Conference 2014 Shimane.
2014-08-24 08:17:44 +00:00
jnemeth
e750bdb2e4 mention MODULAR_DEFAULT_AUTOLOAD 2014-08-24 08:05:29 +00:00
jnemeth
ee79d5b0e4 Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR".  This
option turns on module autoloading by default (which is the current
default).  This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.
2014-08-24 07:59:22 +00:00
mrg
32b1e939d3 fix the sources list to match the upstream Makefile.am.
fixes problems reported by jdbaker.

XXX: pullup-7.
2014-08-24 06:13:36 +00:00
martin
f0b5a13b43 Fix a few logical vs. physical port number confusions to make this
driver work with two port variants.
2014-08-23 21:37:56 +00:00
dholland
fe275f49d7 Add missing COMPAT_{50,60,70} lines, commented out or not as per the
COMPAT_40 line.
2014-08-23 21:10:20 +00:00
dholland
9abf1a6b70 Add options COMPAT_44, which controls mostly MD code but should be in
here anyway.
2014-08-23 21:05:39 +00:00
dholland
4acb6306f5 Systematize (and in many cases, fix) the comments on options COMPAT_NN.
There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
2014-08-23 20:26:56 +00:00
joerg
f5cd842d49 Outdated, kill. 2014-08-23 19:18:41 +00:00