254289 Commits

Author SHA1 Message Date
maxv
92f4c0ceee Handle absolute symbols. Since my linux_sigcode.S::rev1.4 there are two
Elf_Rela that point to the NULL symbol - which the prekern thought was an
external reference.

In the ELF spec, STN_UNDEF means the value of the symbol is zero.
2017-11-01 17:00:17 +00:00
khorben
dc0e2732cb BPM: beam propagation method (light)
BPM: beats per minute (music)
2017-11-01 15:34:28 +00:00
khorben
0765185eba Typo 2017-11-01 15:24:42 +00:00
riastradh
dba9723a2e PPS: pulse per second (signal) 2017-11-01 15:11:31 +00:00
maxv
e555dfb5eb Use NENTRY -> END. 2017-11-01 09:47:53 +00:00
maxv
4387c897ce More END(). In linux_sigcode.S we only provide symbols, not defined as
functions.
2017-11-01 09:38:43 +00:00
maxv
6ab0568a2a Add linux_sigcode.o, otherwise it doesn't get rebuilt. 2017-11-01 09:31:24 +00:00
maxv
ffa9b109ae Don't fall through functions, explicitly jump instead. While here don't
call smap_enable twice (harmless), and add END() markers.
2017-11-01 09:17:28 +00:00
martin
9920b5ab1d Add ./usr/libdata/debug/usr/tests/net/ipsec 2017-11-01 08:44:34 +00:00
martin
16d924d2d3 Add net/ipsec debug lib directory 2017-11-01 08:32:07 +00:00
maxv
e1a677204b Remove unused macros and LDT entries. 2017-11-01 07:14:29 +00:00
kre
7fc682ce26 Complete last change... 2017-11-01 05:42:32 +00:00
pgoyette
103cf3b520 Simplify, and avoid compiler warning for variable format string.
As discussed on IRC.
2017-11-01 01:47:00 +00:00
nat
cadf46dc9e Add padding to gus.c so fields match up when it ts cast to a ad1848_isa
softc for the allocation of hw ring buffers.

Locking fixes as gus KASSERTS / uses the codec locks.

Ok christos@.
2017-10-31 21:53:48 +00:00
nat
caf77590f5 Only allow blocksizes greater or equal to the calculated one.
This should help applications as the blocksize obtained (AUDIO_SET/GETINFO)
will work without stutter.

Ok christos@.
2017-10-31 21:18:02 +00:00
nat
3cd3e8f101 Move calculation of sc_latency into a function.
The latency of the audio device is updated on attach in the audio auto
config and shown on screen.

Ok christos@.
2017-10-31 21:13:24 +00:00
nat
a7a2f28741 round_blocksize is only used for the hardware ring buffer. All other
buffers (mix ring, streams) are set to be a power of 2.

This allows for consistent latency where a static blocksize is enforced by
the underlying audio device driver.

Ok christos@.
2017-10-31 21:09:26 +00:00
jdolecek
496e49f02c bring the WAPBL entry more up-to-date and sound less desperate,
there is not really much preventing it to be enabled by default for
new installs again actually
2017-10-31 19:03:32 +00:00
maxv
084990791f Remove outdated comment. 2017-10-31 18:30:36 +00:00
maxv
1485838bdc Zero out the buffer entirely. 2017-10-31 18:23:29 +00:00
maxv
278b4bf562 Mask mxcsr, otherwise userland could set reserved bits to 1 and make
xrstor fault.
2017-10-31 18:13:37 +00:00
kre
41a73baf28 unconst machine_arch32 for sysctl data .. pointed out by Riccardo Mottola 2017-10-31 16:10:25 +00:00
maxv
61186cf782 Initialize xstate_bv with the structures that were just filled in,
otherwise xrstor does not restore them. This can happen only if userland
calls setcontext without having used the FPU before.

Until rev1.15 xstate_bv was implicitly initialized because the xsave area
was not zeroed out properly.
2017-10-31 15:16:10 +00:00
christos
6f0aab799c undo - pointed out this is a register assignment. 2017-10-31 15:10:28 +00:00
christos
e37a7e0920 PR/52682: David Binderman: Fix wrong assignment (in the !__NetBSD__ code) 2017-10-31 15:00:03 +00:00
christos
63b52577c1 PR/52680: David Binderman: Remove dedundant assignment. 2017-10-31 14:55:45 +00:00
martin
9356c11652 PR kern/52681: fix msghdr conversion. 2017-10-31 12:43:56 +00:00
martin
a6bab1a764 Allow architectures to define a macro PROC_MACHINE_ARCH(P) and
PROC_MACHINE_ARCH32(P) to override the value for sysctl hw.machine_arch
(native and netbsd32 commpat resp.).

Use these for arm and mips instead of the (not working, noisy, in case
of arm) sysctl override and #ifdef __mips__ in architecture neutral
code.
2017-10-31 12:37:23 +00:00
maxv
d3526213ff Don't embed our own values in the reserved fields of the XSAVE area, it
really is a bad idea. Move them into the PCB.
2017-10-31 12:02:20 +00:00
martin
f9a6d7be3b Also mark ppi.html as obsolete 2017-10-31 11:46:45 +00:00
maxv
8f45ca38ab Always use x86_fpu_save, clearer. 2017-10-31 11:37:05 +00:00
martin
4908bc3fd9 PR port-sparc64/52622: mark the parent device as TS_KERN_ONLY,
so userland will not touch it (and change serial params w/o our
controll).
2017-10-31 10:46:47 +00:00
martin
6e7b93fc42 As discussed on tech-kern: define a new tty internal state flag: TS_KERN_ONLY
Implement it in a few tty drivers. If this flag is set, the underlying
hardware is used by another driver and userland has no right to open
it. A few uses will appear soon in sys/dev/sun/sun{kbd,ms}.c.
2017-10-31 10:45:19 +00:00
maxv
5905ff7f42 Add xsh_xcomp_bv and fx_zero, and use uint8_t instead. 2017-10-31 10:39:13 +00:00
maxv
6b9665b5d3 Remove comments that are more misleading than anything else. While here
make sure we zero out the FPU area entirely, and not just its legacy
region.
2017-10-31 10:35:58 +00:00
abhinav
b0184879c2 Casting variable of type int * to size_t *, may cause
alignment issues on some platforms (e.g. Sparc64)
So, Use a temporary variable to avoid the cast.

Thanks to Martin@ for noticing the issue and also suggesting the issue.
Fixes PR bin/52678
2017-10-31 10:14:27 +00:00
jdolecek
e894f8c16f remove ppi(9) manpage, the actual subsystem got never implemented
PR kern/52665 by Kamil Rytarowski
2017-10-31 08:10:11 +00:00
khorben
4228541099 Also attach the RTL8192EU from TP-LINK 2017-10-31 00:57:14 +00:00
khorben
7d62c8416a Re-generate 2017-10-31 00:30:07 +00:00
khorben
04d5c90239 Add the TP-LINK TL-WN823N (version 2) 2017-10-31 00:20:51 +00:00
macallan
5738d83547 add load & store instructions for channel data type
mostly for Xorg
2017-10-30 21:41:39 +00:00
maxv
2e01a9a26d Add END(). 2017-10-30 17:13:39 +00:00
maxv
e37d33aa4a Always use END() markers when declaring functions in assembly, so that ld
can compute the size of the functions. A few remain.

While here, fix a bug in the INTRSTUB macro: we are falling through
resume_, but it is aligned, so it looks like we're executing the inter-
function padding - which probably happens to contain NOPs, but that's
still bad.
2017-10-30 17:06:42 +00:00
ozaki-r
7010c5b04d Set IFEF_NO_LINK_STATE_CHANGE flag to pseudo devices that don't use if_link_state_change 2017-10-30 16:01:19 +00:00
ozaki-r
0de7b04927 Add test cases of NAT-T (transport mode)
A small C program is added to make a special socket (UDP_ENCAP_ESPINUDP)
and keep it to handle UDP-encapsulated ESP packets.
2017-10-30 15:59:23 +00:00
wiz
71dfed8bdc Whitespace fix. Give Bl tag table a width. Fix Xr. 2017-10-30 15:55:53 +00:00
wiz
09540068ad Bump date for previous. Remove superfluous Pp. 2017-10-30 15:53:51 +00:00
wiz
d384cdf944 Remove references to non-existing ifconfig(4). Use Mt. 2017-10-30 15:50:48 +00:00
wiz
a853e07e30 Remove Tn 2017-10-30 15:49:24 +00:00
wiz
5ab4936e8f Sort errors. 2017-10-30 15:48:38 +00:00