christos
49b7958945
need clock_subr.h for bcdtobin()
2014-11-21 01:16:04 +00:00
joerg
153b8c97fc
Restrict workaround to GCC 4.8 as intended.
2014-11-21 01:11:50 +00:00
christos
487e3c0732
need clock_subr.h for bcdtobin()
2014-11-21 00:51:09 +00:00
joerg
06da94bf06
Merge upstream d840c081f8082e8b9e63fead5306643975a97bb3 to fix
...
UB as seen by a clang compiled as.
2014-11-20 21:44:56 +00:00
christos
e45a1decc7
test for c99 flexible packed arrays
2014-11-20 21:18:47 +00:00
christos
bf68803d37
allow c99 flexible arrays for packed structures.
2014-11-20 21:17:18 +00:00
christos
e9101a47cf
Add one more test
2014-11-20 20:52:15 +00:00
christos
caa0961bff
Always set i_brace in the struct case.
...
Cleanup some debugging.
2014-11-20 20:49:06 +00:00
christos
a6210a763e
add LDEBUG
2014-11-20 20:48:33 +00:00
alnsn
1bc241b440
Implement BPF_MOD.
2014-11-20 20:31:22 +00:00
alnsn
e7d5850261
Implement BPF_ALU+BPF_MOD-BPF_K when pc->k is a power of 2. Get rid of divt
...
and divw arguments in emit_moddiv(), they're accessible via the pc argument.
2014-11-20 19:18:52 +00:00
christos
b59f66e17c
use the inline bcdtobin and bintobcd directly instead through a macro.
2014-11-20 16:34:25 +00:00
christos
0600c9daff
kill the macros that called the inlines bcdtobin and bintobcd and define
...
them directly here.
2014-11-20 16:26:34 +00:00
christos
96739e65c5
bcdtobin and bintobcd are now inlines in <dev/clock_subr.h>
2014-11-20 16:25:16 +00:00
christos
8e5f772231
this is supposed to be SECS_PER_DAY.
2014-11-20 16:18:29 +00:00
christos
6a69232e8f
this needs clock.h
2014-11-20 15:50:25 +00:00
christos
c68b2c787d
provide forward declaration for struct timeval;
2014-11-20 15:49:28 +00:00
christos
5f9c351a9b
This now needs clock.h
2014-11-20 15:48:05 +00:00
ozaki-r
9c95126602
Make it clear that we should use not callout_stop but callout_halt before callout_destroy
2014-11-20 15:43:52 +00:00
alnsn
e888d0e817
Follow argument convension of other emit_xxx() functions.
2014-11-20 14:35:01 +00:00
wiz
4cb289deb0
Bump date. Quote minus with a backslash, for PostScript/PDF output.
2014-11-20 13:16:05 +00:00
msaitoh
ce7f2410b4
Fix manual and usage bug. The ucode command can take [cpuno] argument.
2014-11-20 12:49:13 +00:00
alnsn
215bab86a5
Add BPF_MOD tests. Plus one tiny change.
2014-11-20 11:36:13 +00:00
alnsn
a234612ab2
Add BPF_MOD tests. Plus one tiny change.
2014-11-20 11:08:29 +00:00
msaitoh
1ce97493fe
Move some printf()s from cpu_probe_base_features() to identifycpu().
...
Those printf()s are used for "identify" command but cpu_probe_base_features()
is shared by ucodeupdate_check(), too. This change fixes a problem that
the "ucode" command print extra output.
2014-11-20 10:31:10 +00:00
uebayasi
2db56cefe0
Handle warning messages.
2014-11-20 09:02:00 +00:00
matt
f6453319ae
Add atomic_c11_compare_exchange_cas_{8,16,32}.c
2014-11-20 07:07:13 +00:00
christos
9a89a9bc17
l in ntohl is not long!
2014-11-20 04:51:18 +00:00
christos
e4621e03ff
new tcpdump and libpcap
2014-11-20 03:07:30 +00:00
christos
b3a00663c5
merge conflicts
2014-11-20 03:05:03 +00:00
jmcneill
54d9119f96
compile xftrender.c to workaround a crash in XftGlyphSpecRender on earm with gcc 4.8.4
2014-11-20 02:00:19 +00:00
christos
c47fd3787d
Import tcpdump 4.6.2
2014-11-20 01:30:52 +00:00
alnsn
b61069b6e9
Add BPF_XOR tests.
2014-11-19 22:56:35 +00:00
christos
aca9998ecd
new man pages for libpcap.
2014-11-19 19:38:40 +00:00
christos
f6f04f12c2
Add BPF_MOD/BPF_XOR, sync DLT entries and document unused bpf instructions.
...
From libpcap-1.6.2
2014-11-19 19:35:21 +00:00
christos
bca1938abc
Add BPF_MOD/BPF_XOR (untested, needs work)
2014-11-19 19:34:43 +00:00
christos
d91862193c
merge changes
2014-11-19 19:33:30 +00:00
christos
74e9dc92b2
import newest libpcap
2014-11-19 18:04:51 +00:00
manu
f4276d8b0e
Fix uninitialized mutex usage
...
We use extended attribute mount mutex before testing if it had been
initialized, and as reported by Christos, this caused panic with
LOCKDEBUG. Fix it by testing before using.
2014-11-19 16:26:47 +00:00
christos
cced78ddd9
Change debug to diagnostic so that more people see the lossage with bad
...
random streams, so we can debug it.
2014-11-19 14:25:00 +00:00
wiz
971d420649
Close comment.
...
From Henning Petersen in PR 49403.
2014-11-19 10:37:29 +00:00
martin
dd702302a1
Skip the SIGFPE test on arm when the FPU does not provide exception handling.
2014-11-19 10:09:45 +00:00
martin
7a3fd5de1d
Use machdep.unaligned_sigbus to skip the unaligned access test on arm
...
as well.
2014-11-19 10:03:51 +00:00
martin
4a1c9d814f
Add a machdep.unaligned_sigbus sysctl (just like alpha does), but on
...
arm it is readonly (depends on architecture version).
2014-11-19 10:01:50 +00:00
uebayasi
63566b3e22
Indent.
2014-11-19 08:10:01 +00:00
pooka
8994492cd1
On second thought, let's not build the rump kernel component for ac97
...
by default. The component is not used on a NetBSD target anyway.
2014-11-19 01:08:42 +00:00
pooka
784dbdc3ce
Add hdaudio driver as a rump kernel component
...
tested by booting a rump kernel on a T61, coupled with a client which
writes some Roy Buchanan to /dev/audio
2014-11-19 00:18:58 +00:00
pooka
b835110503
allow sharing Makefiles with rump kernel components
2014-11-19 00:17:10 +00:00
joerg
1436102dc9
Use size for the size argument of memcmp, not the result of a compare.
2014-11-18 17:03:41 +00:00
pooka
a0d2bb5e74
delay() can't use rumpuser_clock_sleep(), because that may unschedule().
...
Instead, busyloop with calls to rumpuser_clock_gettime(). Fixing delay()
properly should addressed in hypercall rev.18 by introducing a nowrap
variant/flag for rumpuser_clock_sleep().
2014-11-18 16:57:52 +00:00