Commit Graph

229489 Commits

Author SHA1 Message Date
ozaki-r
bd5b4bd1c6 Bump SHMIF_VERSION 2014-08-16 06:18:01 +00:00
jmcneill
6fcbb74223 remove trailing colon from "addusername" msg 2014-08-15 22:58:11 +00:00
nakayama
b80276722b Remove redundant colon. 2014-08-15 19:55:23 +00:00
riastradh
5179cdd384 <sys/param.h> comes first, per /usr/share/misc/style. 2014-08-15 19:47:59 +00:00
mbalmer
fe91fb6abb NUL terminate a string. 2014-08-15 19:35:28 +00:00
apb
9c3c6064f6 Only the -m command line option, not MACHINE from the environment,
is supposed override MACHINE_ARCH from the environment with the
default MACHINE_ARCH for the requested machine.

Add and use an opt_m variable to enforce this.
2014-08-15 18:34:19 +00:00
justin
70b43d6df9 Fix header ordering 2014-08-15 18:23:42 +00:00
justin
2ebae814d9 add sys/atomic.h and order headers correctly 2014-08-15 17:45:00 +00:00
ozaki-r
a2a285fa68 bridge: reject non-IFF_SIMPLEX interfaces
bridge does not work with !IFF_SIMPLEX interfaces (PR/18035);
the bug is not yet fixed. Until it gets fixed, we should
reject non-IFF_SIMPLEX interfaces.

Discussed with pooka@
2014-08-15 15:32:24 +00:00
riastradh
2297b8f4c9 Call rnd_add_data asynchronously for the rump hyperentropy callback.
Avoids recursion rnd_getmore -> rnd_add_data -> rnd_getmore, which is
silly but I don't have time to fix it properly right now.
2014-08-15 15:04:33 +00:00
ozaki-r
5c34a7158d Make shmif SIMPLEX
Add a sender field to a packet header on a shmif bus to identify
and ignore packets sent by itself.

This makes shmif work with bridges.

ok pooka@
2014-08-15 15:03:03 +00:00
hannken
912cfee7bf Change ptyfs to vcache.
- Use (type, minor) as key.
- Change ptyfs_allocvp to return a referenced vnode and lock where needed.
- Remove unneeded vnode backpointer ptyfs_vnode.
- Keep a single hashlist for pty nodes to make their attributes persistent.

OK: Christos Zoulas
2014-08-15 13:40:39 +00:00
christos
3ea928643b Fix typo in comment (Tobias Stoeckmann) 2014-08-15 13:32:53 +00:00
martin
d3d55ddfdd Intialize dstname - the invariant combination with dstlen is too complex
for gcc to follow.
2014-08-15 13:20:29 +00:00
matt
d213a2bbbc #include <sys/cdefs.h> 2014-08-15 11:58:13 +00:00
apb
5f48354283 If mutex_tryenter() fails, don't call mutex_exit(). 2014-08-15 11:05:35 +00:00
christos
14981c5c23 new tzcode 2014-08-15 11:05:07 +00:00
christos
3ad51082af merge tzcode2014f via patch 2014-08-15 11:04:07 +00:00
matt
30993f706c Use -fPIC since powerpc64 is always compiled as -fPIC and -fpic would cause
__PIC__ to change.
2014-08-15 09:40:07 +00:00
martin
0d6e9da228 Make {u,}intptr_t "long" on both sparc and sparc64 (as the NetBSD headers
always did)
2014-08-15 09:25:25 +00:00
martin
b9e7c24bbc Fix the SCN*FAST* defines 2014-08-15 08:59:58 +00:00
martin
adeb9b3e44 Fix editor mishap 2014-08-15 07:53:37 +00:00
martin
3cc0e3b686 All FAST datatypes are int (32 bit) on both sparc and sparc64, only FAST64
variants are long (sparc64) or long long (sparc).
2014-08-15 07:45:31 +00:00
mrg
e1e8d3be37 avoid calling into time code when cold, and avoid calling nanotime()
if we're not going to use the result anyway.

XXX: not necessarily the best fix, but better than crashing *early*
boot due to too-early nanotime() calls.

XXX: pullup.
2014-08-15 07:39:25 +00:00
joerg
01186a294e Do the wildcard symbol dance for the debug case as well. 2014-08-14 20:59:54 +00:00
joerg
6faaf3e4db Use wildcards for stripping/preserving the mapping symbols on ARM and
AArch64. LLVM creates unique symbols in each file of the form $a.n etc.
2014-08-14 18:39:38 +00:00
joerg
fb363505f8 LLVM sshramdisk needs 8.9MB, so bump again. 2014-08-14 18:38:29 +00:00
maxv
709fefda49 http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-2
#06-0x01: Empty compiler block

ok christos@
2014-08-14 17:29:30 +00:00
joerg
31fca0faec Remove tautologies. 2014-08-14 16:55:02 +00:00
riastradh
76be0e7906 Zero ttm_agp objects on creation. 2014-08-14 16:50:22 +00:00
riastradh
1a58402320 Use ttm_dma_tt_init in ttm_agp_tt_create so we can use ttm_bus_dma. 2014-08-14 16:47:52 +00:00
martin
e451d25590 Bump ramdisk size (since we added loads of firmware to it) 2014-08-14 16:32:11 +00:00
riastradh
2e29e09879 Restore placement of percpu_init in rump_init.
Probably doesn't matter, but let's avoid needless churn around the
real bug fix.
2014-08-14 16:28:49 +00:00
riastradh
b018e9788e Lock cprng->cs_lock around rndsink_request to avoid race with callback. 2014-08-14 16:28:30 +00:00
riastradh
7e616d7734 Defer cprng_fast_init until CPUs are detected. 2014-08-14 16:27:55 +00:00
riastradh
75f2a57740 CD images need libarchive if MKBSDTAR is yes. 2014-08-14 16:27:17 +00:00
riastradh
0d53576a4b Add dtrace modules to amd64-xen module set list. Hi jnemeth! 2014-08-14 16:26:21 +00:00
riastradh
1ade0b5b66 Add tar.debug and cpio.debug to lists for MKBSDTAR=yes MKDEBUG=yes. 2014-08-14 16:25:20 +00:00
reinoud
bcba9fe629 Allow bits to be used for the usb hub on Odroid-XU 2014-08-14 15:57:51 +00:00
apb
7138b5e964 Add some examples of machine-specific foo/boot.8 man pages. 2014-08-14 15:50:42 +00:00
reinoud
2b9dfdd641 Add exyogpio device attachment for exynos5 2014-08-14 15:46:57 +00:00
apb
3453b7f9d9 More detail about treating a local file as a man page,
and about how to request machine-specific man pages.
re
2014-08-14 15:44:47 +00:00
reinoud
727a52919d Add gpio not connected definitions for Exynos5
While here, increase delay around lan9730 powercycle timing to improve its
reset.
2014-08-14 15:44:42 +00:00
reinoud
7d1acb2eff Add GPIO definitions for Exynos5 series (taken from 5250) 2014-08-14 15:42:31 +00:00
reinoud
83de1b41be Rename C2C gpio to match the naming scheme
Add I2S gpio offset
2014-08-14 15:41:07 +00:00
reinoud
97f5942bd4 Adjust AUDIOCORE mapping for exynos4 to map in entire piece. 2014-08-14 15:39:31 +00:00
apb
ee28f0e59d For an argument to be interpreted as a local file name, bypassing the
search rules in man.conf or MANPATH, it must begin with "/", "./", or
"../".  Simply testing whether it contains "/" is wrong, because it
breaks usage like "man 8 vax/boot".

This reverts revision 1.57 dated 2013-10-06,
"Be more permissive in interpreting man pages as filenames".
2014-08-14 15:31:12 +00:00
matt
13fd61cc78 Fix INTPTR_TYPE/UINTPTR_TYPE for n32. 2014-08-14 15:16:20 +00:00
matt
c8bf6ef46e Fix typo in OBJCOPYLIBFLAGS_EXTRA for aarch64eb. 2014-08-14 15:14:45 +00:00
matt
0e582fedb6 Fix SCN?FAST{8,16} formats to match reality (int) in gcc4.8.3 2014-08-14 14:21:03 +00:00