joerg
80f3dc5a69
Man page entries for ceill, floorl and roundl.
2013-11-12 00:10:29 +00:00
joerg
2e412cf6b8
Add initial version of ceill, floorl and roundl from FreeBSD.
2013-11-11 23:57:34 +00:00
joerg
b17548bd54
Update LLVM/Clang snapshot to r194393 for the FPU changes on x86.
2013-11-11 23:51:36 +00:00
joerg
3344572a41
Import libc++ r194207. This brings in various bug fixes, a good chunk of
...
support for the up-coming C++14 and improved compatibility with various
compilers other than Clang.
2013-11-11 23:42:23 +00:00
pooka
63714dea2f
Avoid calling curcpu() when we know the result is constant.
2013-11-11 23:11:30 +00:00
pooka
d64fcb8d70
Defer softint thread creation to first softint_establish() for that level.
...
Speeds up rump kernel bootstrap and saves memory -- very rarely are all
softint levels in a rump kernel used.
2013-11-11 23:06:40 +00:00
rmind
6862603939
tmpfs_alloc_node: use cprng_fast64(), the old random(9) shall be removed.
2013-11-11 17:04:06 +00:00
christos
27021b9452
CID 1128377: Comment out unreachable code; model is only 4 bits wide, so
...
none of these constants can ever match.
2013-11-11 17:02:53 +00:00
christos
0ef7d2283e
CID 1128376
: check ftruncate result
2013-11-11 16:46:20 +00:00
christos
07a630fb37
CID 1092495: Widen operation to prevent overflow
2013-11-11 16:44:43 +00:00
christos
edd8ee4a13
CID 1092473: Fix file descriptor leak
2013-11-11 16:43:26 +00:00
christos
ea5463304e
CID 1128379: Fix TOCTOU, always open the file first with non-blocking I/O,
...
do that stat later and leave the file as non-blocking because it does not
make a difference for plain files.
2013-11-11 16:39:21 +00:00
christos
93118e3396
CID-1128381: Avoid use after free
2013-11-11 16:32:10 +00:00
pooka
b82822977b
Handle static rump kernel base correctly.
2013-11-11 15:53:56 +00:00
martin
d78727ed1e
Add missing [0] (check for unused entries) when matching interface
...
names.
2013-11-11 15:28:37 +00:00
martin
2fae30a160
Remove dead code
2013-11-11 15:22:11 +00:00
jmcneill
3bd31d9d0c
implement md_get_pc and md_set_pc
2013-11-11 13:52:04 +00:00
joerg
70f0cfa164
NetBSD 6.99.26: Switch i386 and amd64 to the x87 default control word
...
as initial value for new processes. This means that long double
computations get the expected 63bit mantissa. Binaries tagged as
compiled for 6.99.25 and older get the old value.
Add a simple test case to ensure that double and long double computation
are working correctly.
2013-11-11 11:10:45 +00:00
joerg
d0f0da0f65
Relink binaries if crti.o changes.
2013-11-11 10:24:53 +00:00
joerg
f0495d06b6
Explicitly depend on sys/param.h to pick up __NetBSD_Version changes.
2013-11-11 10:24:27 +00:00
joerg
5dce7f2a9f
Fix syntax for undefined HAVE_GCC.
2013-11-11 00:56:20 +00:00
joerg
0c8d18a9b2
Preserve the initial x87 control word in the global FP environment
...
in preparation for adjusting the default based on the main binary
version.
2013-11-11 00:31:51 +00:00
jmcneill
bf2b340556
use MACHINE_CPU instead of MACHINE_ARCH
2013-11-10 22:08:58 +00:00
joerg
367a793559
Sort out relationship with crt0.o on major bump.
2013-11-10 20:59:27 +00:00
christos
67cce5d785
more unused variable fixes
2013-11-10 20:18:51 +00:00
christos
7faae907b4
fix unused variable warnings
2013-11-10 20:09:52 +00:00
jmcneill
ccb870ba91
usermode arm md stub
2013-11-10 20:03:46 +00:00
jmcneill
78495523cf
add usermode kernel config
2013-11-10 20:01:55 +00:00
jmcneill
be0aab8e86
arm support for syscallemu, not tested
2013-11-10 19:58:38 +00:00
jmcneill
308ee51638
support building on arm
2013-11-10 19:52:01 +00:00
jmcneill
6638042950
define _KMEMUSER before including machine/vmparam.h
2013-11-10 19:51:00 +00:00
jmcneill
c3534d1853
use MACHINE_CPU instead of uname -p; create symlink for arm headers
2013-11-10 19:49:49 +00:00
christos
39dfdce6e4
__USE a variable for the non-wapbl case
2013-11-10 18:28:08 +00:00
christos
0101d11c56
fix unused variable warnings
2013-11-10 18:27:15 +00:00
christos
9f0d33d554
fix unused
2013-11-10 17:18:32 +00:00
christos
fe3f867991
remove unused variables
2013-11-10 17:14:25 +00:00
rmind
89433ee6d9
Handle whiteout case in tmpfs_dir_detach() and tmpfs_unmount().
2013-11-10 12:46:19 +00:00
slp
69abcb6960
On linux_sys_getdents, insert d_type at the end of each record.
...
Fixes PR kern/47806.
2013-11-10 12:07:52 +00:00
mrg
5517e5441c
add a row with totals for some pool statistics.
2013-11-10 05:16:10 +00:00
mrg
2322c31b30
- avoid an uninitialised variable warning
...
- fix a series of comparisions that duplicated one test and
did not test one variable (found by gcc set-but-unused.)
ok rkujawa
2013-11-10 03:44:03 +00:00
mrg
33b88c8058
add a default case in xhci_init_slot().
...
ok jakllsch.
2013-11-10 03:38:58 +00:00
christos
15bc40ee73
mark variable __diagused
2013-11-10 03:20:20 +00:00
christos
5fe8b8f1c1
remove unused variable
2013-11-10 03:14:16 +00:00
mrg
9822a995e7
mark the new bits/sparc* subdirs as always, since they're always created.
2013-11-10 02:43:23 +00:00
jnemeth
35562477e8
Change xpq_flush_cache to just do WBINVD letting the hypervisor trap and
...
handle it as MMUEXT_FLUSH_CACHE is a privileged hypervisor operation.
2013-11-10 01:19:13 +00:00
christos
abc81f7c5e
use __unused instead of __USE and void cast to mark iterator variable unused
...
where needed (from phone)
2013-11-10 00:50:13 +00:00
wiz
130f1c4a78
Bump date for FIFO support.
2013-11-10 00:13:50 +00:00
jmcneill
110a56db43
use -fno-unwind-tables when building arm modules
2013-11-09 22:40:15 +00:00
christos
25dc998745
fix unused variable warnings
2013-11-09 21:41:03 +00:00
christos
f55ff5e8dd
vax specific gcc 4.8.1 hacks
2013-11-09 21:39:27 +00:00