tsutsui
05114bab99
Use C99 struct initializer. Also tweak some inconsistent TAB/space.
...
No binary change on i386.
2014-08-17 08:54:44 +00:00
apb
b41d70db45
Don't print ccd_size with %zu; it no longer has type size_t.
...
Instead, cast to uintmax_t and print with %ju.
2014-08-17 07:05:44 +00:00
christos
0a7d28b495
remove extra initialization
2014-08-17 06:11:48 +00:00
wiz
70e44a6c96
Bump date for previous.
2014-08-16 21:50:15 +00:00
sborrill
7d706cf73d
Switch size_t to uint64_t in appropriate places to ensure that ccd(4) works
...
with component and total sizes of > 2TB.
Add COMPAT_60 code for platforms where this alters userland-accessible
structures.
Make kernel print device information when a ccd configured.
Fix some typos in comments.
2014-08-16 19:27:27 +00:00
apb
a544a9c45e
Add commented out "#options COMPAT_70" to all kernel configuration
...
files that already had commented out "#options COMPAT_60".
2014-08-16 17:57:37 +00:00
apb
2275423cea
Add "no options COMPAT_70" to all kernel configuration files that
...
already had "no options COMPAT_60".
2014-08-16 17:57:02 +00:00
apb
30a0368950
Add "options COMPAT_70" to all kernel configuration files that
...
already had "options COMPAT_60".
2014-08-16 17:56:30 +00:00
maxv
b6cc446ce5
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-2
...
#03-0x02: Memory leak
ok ozaki-r@
2014-08-16 17:27:09 +00:00
apb
f498235332
Add COMPAT_70 to conf/files; add compat_70 to kern/syscalls.conf
...
and compat/netbsd32/syscalls.conf.
2014-08-16 17:24:28 +00:00
manu
440aad5bad
Remove a warning that happens when the filesystem cleanly exits. Just
...
display a message when running in debug mode.
2014-08-16 16:32:04 +00:00
manu
beafd5bc7c
Removed unimplemented mmap and seek method. seek's declaration caused
...
seek request to be passed backand forth between kernel and userland
while we did nothing about them.
2014-08-16 16:31:15 +00:00
manu
781f78b809
Use just introduced open2 PUFFS method and its PUFFS_OPEN_IO_DIRECT oflag
...
to implement FUSE's OPEN_IO_DIRECT, by which the filesystem tells the kernel
that read/write to the file should bypass the page cache.
Remove a warning about read beyond EOF which will now normally appear when
page cache is bypassed.
2014-08-16 16:28:43 +00:00
manu
ccfb03f9b0
Add an open2 method, like open but with an additionnal oflags used
...
by the filesystem to send back information about the file.
This is used to implement PUFFS_OPEN_IO_DIRECT by which the filesystem
tells the kernel that read/write should bypass the page cache.
2014-08-16 16:25:44 +00:00
christos
b4cf015091
Reduce diffs with upstream by automatically defining INITIALIZE as it was
...
intended.
2014-08-16 16:22:21 +00:00
manu
7642144c05
Add a oflags input field to open requests so that the filesystem can pass
...
back information about the file. Implement PUFFS_OPEN_IO_DIRECT, which
will force direct IO (bypassing page cache) for the file.
2014-08-16 16:19:41 +00:00
apb
b83e765155
Document options COMPAT_40, COMPAT_50, and COMPAT_60.
2014-08-16 15:34:33 +00:00
nakayama
f22f501132
Add support for Spatializer, 3D audio effects embedded in ES1869
...
and ES1879 to ess(4).
Tested on my old laptop, mobio NX.
2014-08-16 13:01:33 +00:00
apb
06c335e708
Document supported subsets of image formats,
...
extracted from comments in src/sys/dev/stbi/stb_image.c.
XXX: This is not the right place to document supported image formats
for splash screens.
2014-08-16 12:30:12 +00:00
apb
e25d321f4d
Document fs, menu, rndseed, and splash commands.
...
Add rescue(8) to SEE ALSO.
Also a little copy editing.
2014-08-16 11:41:37 +00:00
apb
e73191e17d
Mention that some platforms may have boot menus, and may support
...
other boot protocols. Also change some [i386 only] comments to [x86 only].
2014-08-16 11:39:47 +00:00
christos
f31197977a
gcc on the sparc needs help with variables it thinks are unitialized, but are not.
2014-08-16 10:38:43 +00:00
apb
f80fae768b
To get no space between [device:] and [filename],
...
the mdoc input needs ... Oc Ns Oo ..., not ... Ns Oc Oo ....
2014-08-16 08:43:12 +00:00
hannken
b041904f72
Needs HASH_SLIST, not HASH_LIST.
2014-08-16 07:22:30 +00:00
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