Commit Graph

15008 Commits

Author SHA1 Message Date
nonaka
d13f498989 Initial commit of native amd64 EFI boot loader. 2017-01-24 11:09:14 +00:00
jdolecek
f3e49fbede add skeleton manpage for xhci(4) 2017-01-21 20:21:57 +00:00
jklos
2dd9143774 This fixes a bug where mtree would use names & IDs from the host system
instead of from the build.
2017-01-21 19:37:46 +00:00
ozaki-r
cc5766bfdd Rewrite tests for CARP in a shell script instead of C
The new shell script enables us to modify/add tests easily.
2017-01-16 08:18:11 +00:00
christos
0f986ca219 add new test file 2017-01-14 01:44:13 +00:00
nonaka
4480eb3627 iwm(4): 3165 works fine with iwlwifi-7265D-17.ucode firmware.
firmware from http://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/tree/?id=be8a6fcba2e48e00674d1f35e6def56e2268039c
2017-01-13 11:21:47 +00:00
christos
16045db705 This is an example how to make a small program using libc. Original size
300K; final size 75K.
2017-01-12 01:58:03 +00:00
joerg
6408d22c9c Update LLVM build glue for pre-4.0.0 r291444. 2017-01-11 12:02:24 +00:00
christos
d8205999e6 adjust to new zlib 2017-01-11 04:04:12 +00:00
joerg
1230251f55 Bump image size a bit for the clang build. 2017-01-10 13:35:44 +00:00
roy
25445577c0 Implement POSIX curses function ripoffline(3). 2017-01-10 10:13:24 +00:00
christos
6bed56a8b5 Fix the build, we don't support installboot for ia64 2017-01-09 13:36:22 +00:00
christos
c5c2e2a4dd fix nsd rc. 2017-01-07 23:05:35 +00:00
christos
b223019c67 more nsd 2017-01-07 20:49:23 +00:00
christos
3309be15f3 add more nsd 2017-01-07 20:46:29 +00:00
christos
4fd6f669fe add path 2017-01-07 20:43:16 +00:00
christos
323aaf9d6c debug for nsd 2017-01-07 20:40:08 +00:00
christos
7fe75036ca more nsd 2017-01-07 20:20:58 +00:00
christos
35cc6ce981 more nsd 2017-01-07 20:17:21 +00:00
christos
09e56bb693 add nsd 2017-01-07 19:55:35 +00:00
christos
95f6ceca86 add npfd 2017-01-07 17:29:24 +00:00
ozaki-r
5ee8b500a7 Add entries of pmap(9) functions 2017-01-07 04:44:12 +00:00
kamil
a415cb97d3 Fix MKCATPAGES=yes build - fix typo in cat3/krb5_checksum_is_keyed.0 2017-01-07 00:47:18 +00:00
roy
506f84ec9a Implement ncurses is_pad(3).
Correct documentation about is_keypad(3).
2017-01-05 23:15:43 +00:00
roy
4550c5287c Implement is_term_resized and resize_term(3) ncurses extensions.
resizeterm(3) is now a wrapper for resize_term(3).
2017-01-05 21:25:17 +00:00
roy
47cc2fc353 Add the set_escdelay(3) and set_tabsize(3) ncurses extensions. 2017-01-05 20:31:37 +00:00
christos
8a5a08cbc5 add npfd 2017-01-05 14:39:59 +00:00
wiz
70acae63ba Tag cleanup: if the last column contains 'obsolete', the one before should too. 2017-01-05 13:45:50 +00:00
christos
54351bdf9a move xtrans.m4 to comp, since it gets installed with the headers. 2017-01-05 02:22:19 +00:00
christos
995b0e714e PR/51773: Yorick Hardy: drvctl module is not part of lvm 2017-01-04 15:45:18 +00:00
christos
1272db2820 PR/51770: Yorick Hardy: Install xtrans.m4 (needed by net/tigervnc) 2017-01-04 15:41:24 +00:00
christos
58298223f1 Add more curses functions (Hi Roy!) 2017-01-03 18:43:13 +00:00
maya
148cc75bdf remove npx(4) and references to it. bump dates for reference removal.
This used to refer to x87 support for x86 machines.

npx isn't really a driver any more. we don't support x86 hardware
without an FPU, and we don't call it by that name in the code or
attach it as npx at something.

brought up on tech-kern. unfortunately the copy to port-i386 disappeared
in a spam filter.
2017-01-03 08:49:04 +00:00
kamil
e72ee6c5bd Fix typo in distribution synckok.0 -> syncok.0 2017-01-03 04:12:18 +00:00
wiz
636e3facfa Fix tag. 2017-01-03 02:13:05 +00:00
martin
f263fe2c63 Add misising mixerctl file 2017-01-02 21:05:06 +00:00
martin
72963afd05 libcurses version bump 2017-01-02 20:45:09 +00:00
cherry
aee9580f27 We don't need sys/uvm/uvm_physseg.h installed, since userland has no
use for it.

Obsolete it in the set list.
2017-01-02 20:17:15 +00:00
christos
9d3fb4472f Add mixerctl tests 2017-01-02 15:41:09 +00:00
roy
c247fb6646 Bump libcurses to 7.1 for prior additions. 2017-01-02 12:38:16 +00:00
hannken
998709c439 Rename vget() to vcache_vget() and vcache_tryvget() respectively and
move the definitions to sys/vnode_impl.h.

No functional change intended.

Welcome to 7.99.54
2017-01-02 10:33:28 +00:00
roy
1369811d4e Implement POSIX Curses functions immedok(3) and syncok(3). 2017-01-02 10:28:34 +00:00
roy
6de5f0d137 Implement ncurses extension has_key. 2017-01-01 03:06:06 +00:00
roy
a663bc11be Implement POSIX Curses typeahead function. 2016-12-31 22:47:01 +00:00
roy
77943ff6ed Implement POSIX curses use_env function. 2016-12-31 17:46:35 +00:00
roy
2ab1e31d80 Implement ncurses extensions is_leaveok and is_keypad.
The former allows the ncurses (and pdcurses) macros getsyx and setsyx
to be implemented, which is needed by a surprising number of applications.

The latter is needed for Python curses support so it doesn't have to dive
into ncurses window structure.
2016-12-31 13:50:16 +00:00
roy
1c3d328353 Add the POSIX filter() function to libcurses. 2016-12-30 22:38:38 +00:00
wiz
7c6ad95732 Add /usr/lib/i386/libiberty_g.a to obsolete list. 2016-12-29 12:13:34 +00:00
rin
d2d9d6886a Add missing "compat" qualifier to fix build with MKCOMPAT=no for mips64-e[bl].
Also, add "softfloat" to /usr/lib/{64,o32}/libc_fp_pic.a.
2016-12-28 08:57:20 +00:00
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
kamil
8fce8aab12 Add new test-suite t_dummy for libpthread_dbg
At the moment this test does nothing except reports failure from td_open()
for overloaded (implemented) dummy1_proc_lookup() (.proc_lookup from
td_proc_callbacks_t) of the following form:

static int
dummy1_proc_lookup(void *arg, const char *sym, caddr_t *addr)
{
        return TD_ERR_ERR;
}

This file and directory with tests is placeholder for new ones, without
further need to alter mtree and distribution sets.

The libpthread_dbg interface and library is used by gdb(1) to handle
threads in applications.

Sponsored by <The NetBSD Foundation>
2016-11-16 21:36:22 +00:00