Commit Graph

14909 Commits

Author SHA1 Message Date
christos a54d067ee5 bump libssh 2016-12-25 00:09:20 +00:00
maya b6407b6ab6 add new header (uvm_physseg.h) to set list. 2016-12-22 16:32:31 +00:00
maya 0805fb3a53 fix release build after the addition of uvm_hotplug man9 page
by adding it to the set lists.
2016-12-22 12:57:18 +00:00
maya 5f32e54f24 adjust set lists for t_fe_round 2016-12-19 17:38:38 +00:00
christos 7d45325d02 give it a bit more room. 2016-12-19 16:23:10 +00:00
christos 00e33719b3 grow so that new intel firmware fits. 2016-12-19 15:50:13 +00:00
christos d9249b0ab0 mark old firmware obsolete. 2016-12-18 17:58:08 +00:00
nonaka 29c66ef650 iwm(4): Sync with OpenBSD.
7265 works fine.
7260 and 3160 maybe work.
7265D, 3165 and 8260 not work yet.

if_iwm.c: r1.147.
if_iwmreg.h: r1.19 without r1.16.
if_iwmvar.h: r1.24.

firmware is taken from https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi
- iwlwifi-7260-ucode-16.242414.0.tgz
- iwlwifi-3160-ucode-16.242414.0.tgz
- iwlwifi-7265-ucode-16.242414.0.tgz
- iwlwifi-8000-ucode-16.242414.0.tgz
2016-12-18 02:18:28 +00:00
christos f573ca787d add sys/psref.h 2016-12-16 22:11:04 +00:00
kre 8064c2168f More sets list sorting (maybe this time they're really all done) 2016-12-15 12:56:52 +00:00
kamil 241cf91ddc Add support for hardware assisted watchpoints/breakpoints API in ptrace(2)
Add new ptrace(2) calls:
 - PT_COUNT_WATCHPOINTS - count the number of available hardware watchpoints
 - PT_READ_WATCHPOINT   - read struct ptrace_watchpoint from the kernel state
 - PT_WRITE_WATCHPOINT  - write new struct ptrace_watchpoint state, this
                          includes enabling and disabling watchpoints

The ptrace_watchpoint structure contains MI and MD parts:

typedef struct ptrace_watchpoint {
	int		pw_index;	/* HW Watchpoint ID (count from 0) */
	lwpid_t		pw_lwpid;	/* LWP described */
	struct mdpw	pw_md;		/* MD fields */
} ptrace_watchpoint_t;

For example amd64 defines MD as follows:
struct mdpw {
	void	*md_address;
	int	 md_condition;
	int	 md_length;
};

These calls are protected with the __HAVE_PTRACE_WATCHPOINTS guard.

Tested on amd64, initial support added for i386 and XEN.

Sponsored by <The NetBSD Foundation>
2016-12-15 12:04:17 +00:00
mrg fc59183457 add the xkeyboard-config manual as a .man, so that the normal X processing
of it happens.
2016-12-15 09:17:26 +00:00
pgoyette d2d369e90b Restore the obsolete entries for spkr_synth, and mark the new spkr
module as not-obsolete.
2016-12-15 07:08:27 +00:00
pgoyette 9bdd3a3978 Update for the new "universal" spkr module.
Note that entries in the md.i386 and md.amd64 lists are actually deleted
(rather than being marked "obsolete" as directed in the comments).  This
is OK, since there is now a new module in the mi list to replace them.
2016-12-15 06:50:37 +00:00
christos 5f025a3088 delete spkr_synth 2016-12-15 04:38:04 +00:00
rjs e2a8f3aa96 The t_clock_subr test doesn't require rump. 2016-12-14 19:29:31 +00:00
kre 820e69dcc0 Simplify (and no need for sub-shells).
Same functionality, same method, simpler exposition.
2016-12-14 13:04:42 +00:00
kre 6fb7898b88 Sort the unsorted sets lists (they should all be correctly sorted now.) 2016-12-14 12:59:51 +00:00
kamil b8092d5dfa Add regs1 in arch/i386/t_ptrace_wait*
regs1:
    Call PT_GETREGS and iterate over General Purpose registers

Sponsored by <The NetBSD Foundation>
2016-12-13 18:00:10 +00:00
kamil 2cfd9597d2 Add missing files in distribution file lists to fix evbarm64-aarch64 build
Add ./usr/libdata/ldscripts/aarch64elf{,b}.xd{,c,w}

Tested with MKLLVM=yes and HAVE_LLVM=yes.
2016-12-12 13:13:11 +00:00
martin 9043cf767a glint_drv.so.1.debug is not obsolete with XOrg server 1.18 any more 2016-12-10 19:28:19 +00:00
christos 6f9ed89369 bump libnpf. 2016-12-10 05:39:13 +00:00
pgoyette 21a19d30ca Create a new module for the synthesized speaker(4).
XXX Device module autoload (invoked when the /dev/speaker is opened, and
XXX no driver exists) will not find this module.  On i386 and amd64, the
XXX autoload will find the spkr module (spkr0 at pcppi0) and that module
XXX will be autoloaded.  For other architectures, either include the
XXX "spkr0 at audio0" in your config file, or manually load this new
XXX spkr_synth module using modload(8).
2016-12-10 00:39:40 +00:00
kamil 5e8d31ff24 Attach t_exect to ATF tests and distribution
Add missing SIGTRAP handler. Assert there that the signal is SIGTRAP as
expected and si_code TRAP_TRACE.

This test will break on some ports that have dummy or incomplete
implementation of exect(2).

This test works on amd64 correctly.

Sponsored by <The NetBSD Foundation>
2016-12-09 06:12:02 +00:00
christos b5e1bd240f put back the isa/spkrio.h for compat 2016-12-09 06:05:25 +00:00
christos 6f1aff8971 spkrio.h is not isa only anymore. 2016-12-09 05:18:37 +00:00
martin 9fba69f4c1 Fix debug entry for glint driver (no longer obsolete with 1.18) 2016-12-04 13:37:45 +00:00
tsutsui 97d3c24f2a Preliminary support for LUNA's HD647180X I/O processor (a.k.a. XP).
Demonstrated as "PSG tunes / PCM wav player on LUNA"
(using Z80 PSG/PCM drivers ported from NEC PC-6001)
at OSC2016 Kyoto and OSC2016 Hiroshima:
 http://mail-index.netbsd.org/netbsd-advocacy/2016/08/01/msg000712.html
 http://mail-index.netbsd.org/netbsd-advocacy/2016/11/29/msg000724.html
2016-12-03 17:38:02 +00:00
macallan fbfd0b265f - build glint driver on macppc
- reenable it on sparc64
2016-12-03 16:38:15 +00:00
riastradh 18f9dbe565 Directories are unconditional and hence must be untagged. 2016-12-03 15:18:41 +00:00
kamil 96cf2030eb Refactor location of amd64-specific ATF tests to new dir kernel/arch/amd64
Rename
 - tests/kernel/t_ptrace_amd64_wait.c
to
 - tests/kernel/arch/amd64/t_ptrace_wait.c
and adapt appropriate files accordingly.

New directory will be used for more amd64-specific tests, verifying the
MD parts of the kernel.

Remove old entries from distrib/sets/lists as they were added a while ago.

Sponsored by <The NetBSD Foundation>
2016-12-02 05:54:14 +00:00
riastradh 73a060fc54 Mark lvm and npf shlibs as such. 2016-12-02 02:30:47 +00:00
riastradh d5e595c687 cvslatest(1) is unconditional, doesn't use cvs(1). 2016-12-02 02:29:54 +00:00
kamil e3626ca7dd Fix !amd64 sets
Sponsored by <The NetBS Foundation>
2016-12-02 00:50:09 +00:00
kamil b08d15e04f Add t_ptrace_amd64_wait{,3,4,6,id,pid} tests
Sponsored by <The NetBSD Foundation>
2016-12-01 20:23:10 +00:00
mlelstv 9185ad93b5 Provide a man page for the disk driver subroutines (dksubr). 2016-11-28 11:00:24 +00:00
njoly 71f142f40a +librumpnet_vlan.so.0.0.debug 2016-11-26 11:36:38 +00:00
ozaki-r 6d9a9bf113 Add basic tests for vlan(4) 2016-11-26 03:19:48 +00:00
ozaki-r 6adeabf576 Rumpify vlan(4) 2016-11-26 03:17:58 +00:00
kre eb5267fa9a Added TZ zone files Europe/Saratov and Asia/Aqtau for tzdata2016j 2016-11-24 05:47:33 +00:00
snj 4d48760d83 for some reason that is currently eluding me, non-MKUPDATE builds
fail while trying to delete xkeyboard-config.7.  remove for now.  you
didn't have this man page before and you probably didn't care.
2016-11-23 09:50:52 +00:00
snj 7e075c29bc update for xkeyboard-config 2.19 2016-11-22 19:51:37 +00:00
kamil 7b8609d5c0 Document td_map_pth2thr(3) from libpthread_dbg(3)
td_map_pth2thr - convert the pthread_t to a thread handle

Sponsored by <The NetBSD Foundation>
2016-11-22 03:52:01 +00:00
kamil 2d6a6aff1c Document td_thr_getname(3) from libpthread_dbg(3)
td_thr_getname - get the user-assigned name of a thread

Sponsored by <The NetBSD Foundation>
2016-11-22 01:49:36 +00:00
kamil 2e8fabe0b7 Document td_thr_iter(3) from libpthread_dbg(3)
td_thr_iter - iterate over the threads in the process

Sponsored by <The NetBSD Foundation>
2016-11-22 00:07:40 +00:00
kamil 7332bc9351 Document td_thr_info(3) from libpthread_dbg(3)
td_thr_info - get information on a thread

Currently a subset of td_thread_info_t is documented. This version
describes thread_addr and thread_state.

Sponsored by <The NetBSD Foundation>
2016-11-21 22:19:03 +00:00
kamil ba06ccfe95 Add initial documentation (man-pages) for libpthread_dbg
Document libpthread_dbg and basic function calls: td_open() and td_close()

Sponsored by <The NetBSD Foundation>
2016-11-21 20:43:25 +00:00
macallan 91eaa6ded9 add driver for Permedia 3 based graphics devices
from Naruaki Etomi, via PR 49518
2016-11-20 16:55:18 +00:00
pho 0e4f248f77 fuse_lowlevel.h: new file, currently only contains fuse_parse_cmdline(3) and struct fuse_cmdline_opts 2016-11-20 13:26:28 +00:00
kamil 0a225098cc Add new test file lib/libpthread_dbg/t_threads
This test contains threads1 test that:
    Asserts that td_thr_iter() call without extra logic works

This tests fails and is linked with gnats:
PR lib/51635: td_thr_iter in <pthread_dbg.h> seems broken

Sponsored by <The NetBSD Foundation>
2016-11-18 22:50:19 +00:00